X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali%2Futc-Dali-AlphaFunction.cpp;h=f5cdade0bdc5f7b0eeaf254ca7c614c2077aafe2;hb=d08c943f03a8d4a6e76cfcf789048975a861b678;hp=4392bdf35a5625c160a175cb6b373a132ccb1d44;hpb=840c7a24f69ccc36769f1a6474d7839eabe61e8b;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/automated-tests/src/dali/utc-Dali-AlphaFunction.cpp b/automated-tests/src/dali/utc-Dali-AlphaFunction.cpp index 4392bdf..f5cdade 100644 --- a/automated-tests/src/dali/utc-Dali-AlphaFunction.cpp +++ b/automated-tests/src/dali/utc-Dali-AlphaFunction.cpp @@ -19,7 +19,6 @@ #include #include -#include #include using namespace Dali; @@ -226,27 +225,27 @@ int UtcDaliAlphaFunctionBezier(void) application.Render(static_cast(durationSeconds*200.0f)/* 20% progress */); application.SendNotification(); float epsilon(0.01f); - DALI_TEST_EQUALS( DevelHandle::GetCurrentProperty< float >( actor, index ), 0.271964f, epsilon, TEST_LOCATION ); + DALI_TEST_EQUALS( actor.GetCurrentProperty< float >( index ), 0.271964f, epsilon, TEST_LOCATION ); application.SendNotification(); application.Render(static_cast(durationSeconds*200.0f) + 1u/*40% progress*/); application.SendNotification(); - DALI_TEST_EQUALS( DevelHandle::GetCurrentProperty< float >( actor, index ), 0.432387f, epsilon, TEST_LOCATION ); + DALI_TEST_EQUALS( actor.GetCurrentProperty< float >( index ), 0.432387f, epsilon, TEST_LOCATION ); application.SendNotification(); application.Render(static_cast(durationSeconds*200.0f) + 1u/*60% progress*/); application.SendNotification(); - DALI_TEST_EQUALS( DevelHandle::GetCurrentProperty< float >( actor, index ), 0.567613f, epsilon, TEST_LOCATION ); + DALI_TEST_EQUALS( actor.GetCurrentProperty< float >( index ), 0.567613f, epsilon, TEST_LOCATION ); application.SendNotification(); application.Render(static_cast(durationSeconds*200.0f) + 1u/*80% progress*/); application.SendNotification(); - DALI_TEST_EQUALS( DevelHandle::GetCurrentProperty< float >( actor, index ), 0.728037f, epsilon, TEST_LOCATION ); + DALI_TEST_EQUALS( actor.GetCurrentProperty< float >( index ), 0.728037f, epsilon, TEST_LOCATION ); application.SendNotification(); application.Render(static_cast(durationSeconds*200.0f) + 1u/*just beyond the animation duration*/); application.SendNotification(); - DALI_TEST_EQUALS( DevelHandle::GetCurrentProperty< float >( actor, index ), targetValue, TEST_LOCATION ); + DALI_TEST_EQUALS( actor.GetCurrentProperty< float >( index ), targetValue, TEST_LOCATION ); END_TEST; }