module unit.calendar.generic.timepicker.datepickercontroller

class unit.calendar.generic.timepicker.datepickercontroller.describe_new_coptic_date_picker_view[source]

Bases: timelinelib.test.cases.unit.UnitTestCase

test_show_manual_test_dialog()[source]
class unit.calendar.generic.timepicker.datepickercontroller.NewCopticDatePickerTestDialog[source]

Bases: timelinelib.wxgui.framework.Dialog

<BoxSizerVertical>
<FlexGridSizer columns=”1” border=”ALL”>

<Button label=”before” /> <DatePicker

name=”date” date_modifier=”$(date_modifier)” date_formatter=”$(date_formatter)”

/> <Button label=”after” />

</FlexGridSizer>

</BoxSizerVertical>

__init__()[source]

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

class unit.calendar.generic.timepicker.datepickercontroller.describe_new_gregorian_date_picker[source]

Bases: timelinelib.test.cases.unit.UnitTestCase

test_has_date_formatter()[source]
test_can_set_gregorian_date()[source]
test_can_get_gregorian_date()[source]
test_can_increment_year()[source]
test_can_increment_month()[source]
test_can_increment_day()[source]
test_does_not_increment_if_date_is_invalid()[source]
test_can_decrement_year()[source]
test_can_decrement_month()[source]
test_can_decrement_day()[source]
test_does_not_decrement_if_date_is_invalid()[source]
test_sets_error_color_when_date_is_invalid()[source]
test_sets_ok_color_when_date_invalid()[source]
test_tab_moves_to_next_region_if_exists()[source]
test_tab_returns_false_if_no_next_region()[source]
test_shift_tab_moves_to_previous_region_if_exists()[source]
test_shift_tab_returns_false_if_no_next_region()[source]
set_up_region_type(region_type)[source]
setUp()[source]

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

assert_modifier_called(modifier)[source]
class unit.calendar.generic.timepicker.datepickercontroller.describe_new_pharaonic_date_picker[source]

Bases: timelinelib.test.cases.unit.UnitTestCase

test_has_date_formatter()[source]
test_can_set_pharaonic_date()[source]
test_can_get_pharaonic_date()[source]
test_can_increment_year()[source]
test_can_increment_month()[source]
test_can_increment_day()[source]
test_does_not_increment_if_date_is_invalid()[source]
test_can_decrement_year()[source]
test_can_decrement_month()[source]
test_can_decrement_day()[source]
test_does_not_decrement_if_date_is_invalid()[source]
test_sets_error_color_when_date_is_invalid()[source]
test_sets_ok_color_when_date_invalid()[source]
test_tab_moves_to_next_region_if_exists()[source]
test_tab_returns_false_if_no_next_region()[source]
test_shift_tab_moves_to_previous_region_if_exists()[source]
test_shift_tab_returns_false_if_no_next_region()[source]
set_up_region_type(region_type)[source]
setUp()[source]

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

assert_modifier_called(modifier)[source]