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-TextLabel.cpp;h=ec4b100c74cb942fed4f0cdbdb20fbf902d3c85f;hp=1130c394154f9e18eaf14c967508fe286f15422c;hb=baef46c4babda42017ab2d5fbd362ae9e11be95b;hpb=ca4209fb071e5c353a7e528098a2e497765118d8 diff --git a/automated-tests/src/dali-toolkit/utc-Dali-TextLabel.cpp b/automated-tests/src/dali-toolkit/utc-Dali-TextLabel.cpp index 1130c39..ec4b100 100644 --- a/automated-tests/src/dali-toolkit/utc-Dali-TextLabel.cpp +++ b/automated-tests/src/dali-toolkit/utc-Dali-TextLabel.cpp @@ -446,6 +446,13 @@ int UtcDaliToolkitTextLabelSetPropertyP(void) DALI_TEST_EQUALS( label.GetProperty( TextLabel::Property::EMBOSS ), std::string("Emboss properties"), TEST_LOCATION ); // Check the outline property + + // Test string type first + // This is purely to maintain backward compatibility, but we don't support string as the outline property type. + label.SetProperty( TextLabel::Property::OUTLINE, "Outline properties" ); + DALI_TEST_EQUALS( label.GetProperty( TextLabel::Property::OUTLINE ), std::string("Outline properties"), TEST_LOCATION ); + + // Then test the property map type Property::Map outlineMapSet; Property::Map outlineMapGet;