+ // Deprecated Properties
+ control.SetProperty( Control::Property::BACKGROUND_COLOR, Color::YELLOW );
+ DALI_TEST_CHECK( control.GetProperty( Control::Property::BACKGROUND_COLOR ).Get< Vector4 >() == Color::YELLOW );
+ DALI_TEST_CHECK( control.GetProperty( Control::Property::BACKGROUND_COLOR ).Get< Vector4 >() == control.GetBackgroundColor() );
+ control.ClearBackground();
+
+ Property::Map deprecatedImageMap;
+ deprecatedImageMap[ "filename" ] = "TestImage";
+ control.SetProperty( Control::Property::BACKGROUND_IMAGE, deprecatedImageMap );
+ propValue = control.GetProperty( Control::Property::BACKGROUND_IMAGE );
+ resultMap = propValue.GetMap();
+ DALI_TEST_CHECK( resultMap->Find( "url" )->Get< std::string >() == "TestImage" );
+ control.SetProperty( Control::Property::BACKGROUND_IMAGE, emptyMap );
+ DALI_TEST_CHECK( control.GetProperty( Control::Property::BACKGROUND_IMAGE ).Get< Property::Map >().Empty() );
+