module unit.wxgui.components.categorytree

class unit.wxgui.components.categorytree.describe_custom_category_tree_component_test[source]

Bases: timelinelib.test.cases.unit.UnitTestCase

class unit.wxgui.components.categorytree.TestDialog[source]

Bases: timelinelib.wxgui.framework.Dialog

<BoxSizerVertical>
<CustomCategoryTree

name=”tree” width=”300” height=”300”

/>

</BoxSizerVertical>

__init__(db, view_properties)[source]

Initialize self. See help(type(self)) for accurate signature.

property config
class unit.wxgui.components.categorytree.Config[source]

Bases: object

property use_sidebar_text_coloring
property debug_enabled
class unit.wxgui.components.categorytree.Base[source]

Bases: timelinelib.test.cases.unit.UnitTestCase

setUp()[source]

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

new_id()[source]
add_category(name, color=(0, 0, 0), visible=True, actually_visible=True, parent=None)[source]
assert_model_has_itmes_matching(expected_entries)[source]
assert_model_has_item_names(expected_names)[source]
class unit.wxgui.components.categorytree.setting_categories[source]

Bases: unit.wxgui.components.categorytree.Base

test_has_no_items_when_no_timeline_view_set()[source]
test_has_no_items_when_no_categories_available()[source]
test_has_items_for_each_category()[source]
test_can_set_view_multiple_times_without_items_duplicating()[source]
class unit.wxgui.components.categorytree.item_properties[source]

Bases: unit.wxgui.components.categorytree.Base

test_has_items_for_categories()[source]
test_has_child_attribute()[source]
class unit.wxgui.components.categorytree.bounding_box[source]

Bases: unit.wxgui.components.categorytree.Base

test_includes_bounding_box_information_for_items()[source]
test_has_indented_bounding_box_for_child_categories()[source]
class unit.wxgui.components.categorytree.sorting[source]

Bases: unit.wxgui.components.categorytree.Base

test_sorts_categories_at_same_level()[source]
class unit.wxgui.components.categorytree.hit_test[source]

Bases: unit.wxgui.components.categorytree.Base

test_can_get_category()[source]
test_can_check_if_hit_arrow()[source]
test_can_check_if_hit_checkbox()[source]
setUp()[source]

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

class unit.wxgui.components.categorytree.expandedness[source]

Bases: unit.wxgui.components.categorytree.Base

test_can_toggle()[source]
test_hides_subtrees_if_parent_not_expanded()[source]