module unit.canvas.svg

class unit.canvas.svg.describe_svg_drawing_algorithm[source]

Bases: timelinelib.test.cases.unit.UnitTestCase

maxDiff = None
test_can_draw_divider_line()[source]
test_can_draw_now_line()[source]
test_can_draw_line_to_selected_non_period_events()[source]
test_can_draw_major_strip_divider_line()[source]
test_can_draw_minor_strip_divider_line()[source]
test_can_draw_line_to_nonselected_non_period_events()[source]
test_can_draw_minor_strip_label()[source]
test_can_draw_major_strip_label()[source]
test_now_line_is_visible()[source]
test_now_line_is_not_visible()[source]
test_can_draw_event()[source]
test_can_draw_event_with_centered_text()[source]
test_can_draw_legend()[source]
test_can_define_shadow_filter()[source]
test_legend_should_be_drawn()[source]
test_can_get_base_color_when_event_has_no_category()[source]
test_can_get_base_color_when_event_has_category()[source]
test_can_draw_background()[source]
test_can_draw_era_background()[source]
test_can_draw_era_text()[source]
test_calc_clip_path()[source]
(100, 100) (300, 100)

X—————————-X |(103,103) (297,103)| | x———————-x | | | | | | x———————-x | | (103,117) (297,117)| X—————————-X

(100, 120) (300, 120)

test_calc_text_pos()[source]
(100, 100) (300, 100)

X—————————-X |(103,103) (297,103)| | x———————-x | | | | | | x———————-x | | (103,117) (297,117)| X—————————-X

(100, 120) (300, 120)

setUp()[source]

Hook method for setting up the test fixture before exercising it.

setup_view_properties()[source]
setup_scene()[source]