X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali%2Futc-Dali-Shader.cpp;h=77ada14ccef143d1a62b9826256d0d91ee3f11e8;hb=94a94920d09cf6c00b6fc0e29fb847d8d4d8b487;hp=11403d22f60d37301b66f9b6da51c14d8081108c;hpb=126643e4e5898def936baf13dd82612fc718f878;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/automated-tests/src/dali/utc-Dali-Shader.cpp b/automated-tests/src/dali/utc-Dali-Shader.cpp index 11403d2..77ada14 100644 --- a/automated-tests/src/dali/utc-Dali-Shader.cpp +++ b/automated-tests/src/dali/utc-Dali-Shader.cpp @@ -309,7 +309,7 @@ int UtcDaliShaderProgramProperty(void) tet_infoline("Test get/set progam property"); Shader shader = Shader::New("", ""); - std::string hintSet = "HINT_MODIFIES_GEOMETRY"; + std::string hintSet = "MODIFIES_GEOMETRY"; Property::Map map; map["vertex"] = VertexSource; @@ -332,21 +332,21 @@ int UtcDaliShaderProgramProperty(void) std::string hintGot; - hintSet = "HINT_OUTPUT_IS_TRANSPARENT,HINT_MODIFIES_GEOMETRY"; + hintSet = "OUTPUT_IS_TRANSPARENT,MODIFIES_GEOMETRY"; map["hints"] = hintSet; shader.SetProperty( Shader::Property::PROGRAM, Property::Value(map) ); value = shader.GetProperty(Shader::Property::PROGRAM); hintGot = (*value.GetMap())["hints"].Get(); DALI_TEST_CHECK( hintGot == hintSet ); - hintSet = "HINT_OUTPUT_IS_TRANSPARENT"; + hintSet = "OUTPUT_IS_TRANSPARENT"; map["hints"] = hintSet; shader.SetProperty( Shader::Property::PROGRAM, Property::Value(map) ); value = shader.GetProperty(Shader::Property::PROGRAM); hintGot = (*value.GetMap())["hints"].Get(); DALI_TEST_CHECK( hintGot == hintSet ); - hintSet = "HINT_NONE"; + hintSet = "NONE"; map["hints"] = hintSet; shader.SetProperty( Shader::Property::PROGRAM, Property::Value(map) ); value = shader.GetProperty(Shader::Property::PROGRAM); @@ -358,7 +358,7 @@ int UtcDaliShaderProgramProperty(void) shader.SetProperty( Shader::Property::PROGRAM, Property::Value(map) ); value = shader.GetProperty(Shader::Property::PROGRAM); hintGot = (*value.GetMap())["hints"].Get(); - DALI_TEST_CHECK( hintGot == "HINT_NONE" ); + DALI_TEST_CHECK( hintGot == "NONE" ); END_TEST; }