X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali%2Futc-Dali-Constrainer.cpp;h=e21272018a01055c88f41d8c6a62d1e8908deab3;hb=9445ba05fb68ad34a0e819c5fe909f1505ecf9d1;hp=33e6ec9f9b72c1600509092e979ad52c9a9c68d2;hpb=72d3e464f0fdaaf6db6206873408e8d845f02cd4;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/automated-tests/src/dali/utc-Dali-Constrainer.cpp b/automated-tests/src/dali/utc-Dali-Constrainer.cpp index 33e6ec9..e212720 100644 --- a/automated-tests/src/dali/utc-Dali-Constrainer.cpp +++ b/automated-tests/src/dali/utc-Dali-Constrainer.cpp @@ -189,14 +189,14 @@ int UtcPathConstrainerApplyRange(void) Vector3 position, tangent; float tValue; - DevelHandle::GetCurrentProperty( actor, index ).Get(tValue); + actor.GetProperty(index).Get(tValue); float currentCursor = ( tValue - range.x ) / (range.y-range.x); path.Sample(currentCursor, position, tangent ); DALI_TEST_EQUALS( actor.GetCurrentPosition(), position, TEST_LOCATION ); application.SendNotification(); application.Render(static_cast(durationSeconds*250.0f)/* 50% progress */); - DevelHandle::GetCurrentProperty( actor, index ).Get(tValue); + actor.GetProperty(index).Get(tValue); currentCursor = ( tValue - range.x ) / (range.y-range.x); path.Sample(currentCursor, position, tangent ); path.Sample(0.5, position, tangent ); @@ -223,12 +223,6 @@ int UtcPathConstrainerApplyRange(void) path.Sample(currentCursor, position, tangent ); DALI_TEST_EQUALS( actor.GetCurrentPosition(), position, TEST_LOCATION ); - // Ensure GetProperty also returns the final result - actor.GetProperty( index ).Get( tValue ); - currentCursor = ( tValue - range.x ) / (range.y-range.x); - path.Sample(currentCursor, position, tangent ); - DALI_TEST_EQUALS( actor.GetCurrentPosition(), position, TEST_LOCATION ); - END_TEST; }