}
-int UtcDaliRadioButtonNew(void)
+int UtcDaliRadioButtonConstructorP(void)
+{
+ TestApplication application;
+
+ RadioButton button;
+
+ DALI_TEST_CHECK( !button );
+ END_TEST;
+}
+
+int UtcDaliRadioButtonCopyConstructorP(void)
+{
+ TestApplication application;
+
+ // Initialize an object, ref count == 1
+ RadioButton button = RadioButton::New();
+
+ RadioButton copy( button );
+ DALI_TEST_CHECK( copy );
+ END_TEST;
+}
+
+int UtcDaliRadioButtonAssignmentOperatorP(void)
+{
+ TestApplication application;
+
+ RadioButton button = RadioButton::New();
+
+ RadioButton copy( button );
+ DALI_TEST_CHECK( copy );
+
+ DALI_TEST_CHECK( button == copy );
+ END_TEST;
+}
+
+int UtcDaliRadioButtonNewP(void)
{
ToolkitTestApplication application;
- tet_infoline(" UtcDaliRadioButtonNew");
+ tet_infoline(" UtcDaliRadioButtonNewP");
// Create the Slider actor
RadioButton radioButton;
END_TEST;
}
-int UtcDaliRadioButtonDestructor(void)
+int UtcDaliRadioButtonDestructorP(void)
{
ToolkitTestApplication application;
{
ToolkitTestApplication application;
- TextView actor1 = TextView::New( "test actor 1" );
+ TextLabel actor1 = TextLabel::New( "test actor 1" );
RadioButton radioButton = RadioButton::New( actor1 );
DALI_TEST_CHECK( actor1 == radioButton.GetLabel() );
- TextView actor2 = TextView::New( "test actor 2" );
+ TextLabel actor2 = TextLabel::New( "test actor 2" );
radioButton.SetLabel( actor2 );
DALI_TEST_CHECK( actor2 == radioButton.GetLabel() );