X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Futc-Dali-RadioButton.cpp;h=c20a167e0ef3837e867717d752db3eb20a8b0978;hp=a3fed658d0a8cb1e163a874b3854cb09c65be053;hb=df92f45e89c92ca9b2286d51116ff7b69e75c569;hpb=cc82bd9b187cda8fe2c8336b73fd1fa9376cfebd diff --git a/automated-tests/src/dali-toolkit/utc-Dali-RadioButton.cpp b/automated-tests/src/dali-toolkit/utc-Dali-RadioButton.cpp index a3fed65..c20a167 100644 --- a/automated-tests/src/dali-toolkit/utc-Dali-RadioButton.cpp +++ b/automated-tests/src/dali-toolkit/utc-Dali-RadioButton.cpp @@ -103,7 +103,17 @@ int UtcDaliRadioButtonDownCast(void) int UtcDaliRadioButtonLabelActor(void) { - // TODO + ToolkitTestApplication application; + + TextLabel actor1 = TextLabel::New( "test actor 1" ); + + RadioButton radioButton = RadioButton::New( actor1 ); + DALI_TEST_CHECK( actor1 == radioButton.GetLabel() ); + + TextLabel actor2 = TextLabel::New( "test actor 2" ); + radioButton.SetLabel( actor2 ); + DALI_TEST_CHECK( actor2 == radioButton.GetLabel() ); + END_TEST; }