TimePickerTest() : WidgetTest( MAW_TIME_PICKER, "TimePickerTest" ) { addSetPropertyTests( g_property_tests ); addGeneralSetPropertyTests( ); }
/** * Constructor. * * @param vertical True if the test should test the vertical layout, false * if it should test the horizontal layout. */ LineraLayoutTest(bool vertical) : WidgetTest( vertical ? MAW_VERTICAL_LAYOUT : MAW_HORIZONTAL_LAYOUT, vertical ? "VerticalLayoutTest" : "HorizontalLayoutTEst" ) { addTest( bind( &LineraLayoutTest::testAddAndRemoveChildren, this ), "Testing to add and remove children" ); if( vertical ) { addSetPropertyTests( g_property_tests_vertical ); } else { addSetPropertyTests( g_property_tests_horizontal ); } addGeneralSetPropertyTests( ); }
ListViewItemTest() : WidgetTest( MAW_LIST_VIEW_ITEM, "ListViewItemTest" ) { addSetPropertyTests( g_property_tests ); addTest( bind( &ListViewItemTest::testIconProperty, this ), "Tests to set an icon." ); addGeneralSetPropertyTests( ); }
ToggleButtonTest() : WidgetTest( MAW_TOGGLE_BUTTON, "ToggleButtonTest" ) { addTest( bind( &ToggleButtonTest::testCheckedProperty, this ), "Tests get checked property." ); addSetPropertyTests( g_property_tests ); addGeneralSetPropertyTests( ); }
CheckBoxTest() : WidgetTest( MAW_CHECK_BOX, "CheckBoxTest" ) { addTest( bind( &CheckBoxTest::testCheckedProperty, this ), "Tests get checked property." ); addSetPropertyTests( g_property_tests ); addGeneralSetPropertyTests( ); }
LabelTest() : WidgetWithTextTest( MAW_LABEL, "LabelTest" ) { addSetPropertyTests( g_property_tests ); addGeneralSetPropertyTests( ); }
DatePickerTest() : WidgetTest( MAW_DATE_PICKER, "DatePickerTest" ) { addSetPropertyTests( g_property_tests ); addGeneralSetPropertyTests( ); }
void WidgetTest::addGeneralSetPropertyTests() { addSetPropertyTests( g_general_widget_tests ); }
WebViewTest() : WidgetTest( MAW_WEB_VIEW, "WebViewTest" ) { addSetPropertyTests( g_property_tests ); addGeneralSetPropertyTests( ); }