Esempio n. 1
0
	TimePickerTest()
	: WidgetTest( MAW_TIME_PICKER, "TimePickerTest" )
	{

		addSetPropertyTests( g_property_tests );
		addGeneralSetPropertyTests( );
	}
Esempio n. 2
0
	/**
	 * 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( );
	}
Esempio n. 3
0
	ListViewItemTest()
	: WidgetTest( MAW_LIST_VIEW_ITEM, "ListViewItemTest" )
	{
		addSetPropertyTests( g_property_tests );

		addTest( bind( &ListViewItemTest::testIconProperty, this ),
						"Tests to set an icon." );
		addGeneralSetPropertyTests( );
	}
Esempio n. 4
0
	ToggleButtonTest()
	: WidgetTest( MAW_TOGGLE_BUTTON, "ToggleButtonTest" )
	{
		addTest( bind( &ToggleButtonTest::testCheckedProperty, this ),
				"Tests get checked property." );

		addSetPropertyTests( g_property_tests );
		addGeneralSetPropertyTests( );
	}
Esempio n. 5
0
	CheckBoxTest()
	: WidgetTest( MAW_CHECK_BOX, "CheckBoxTest" )
	{
		addTest( bind( &CheckBoxTest::testCheckedProperty, this ),
				"Tests get checked property." );

		addSetPropertyTests( g_property_tests );
		addGeneralSetPropertyTests( );
	}
Esempio n. 6
0
	LabelTest()
	: WidgetWithTextTest( MAW_LABEL, "LabelTest" )
	{
		addSetPropertyTests( g_property_tests );
		addGeneralSetPropertyTests( );
	}
Esempio n. 7
0
	DatePickerTest()
	: WidgetTest( MAW_DATE_PICKER, "DatePickerTest" )
	{
		addSetPropertyTests( g_property_tests );
		addGeneralSetPropertyTests( );
	}
Esempio n. 8
0
void
WidgetTest::addGeneralSetPropertyTests()
{
	addSetPropertyTests( g_general_widget_tests );
}
Esempio n. 9
0
	WebViewTest()
	: WidgetTest( MAW_WEB_VIEW, "WebViewTest" )
	{
		addSetPropertyTests( g_property_tests );
		addGeneralSetPropertyTests( );
	}