X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali%2Futc-Dali-ActiveConstraint.cpp;h=0c765bd932a829287bf236bfc36d07775dda37ff;hb=cc4c921f415f575bd27e1292f3139c379bb73b52;hp=b54022f68328fd28c667e47e9c307500e25244c4;hpb=337560e080de3951f07a64da841a86d66ff3355b;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/automated-tests/src/dali/utc-Dali-ActiveConstraint.cpp b/automated-tests/src/dali/utc-Dali-ActiveConstraint.cpp index b54022f..0c765bd 100644 --- a/automated-tests/src/dali/utc-Dali-ActiveConstraint.cpp +++ b/automated-tests/src/dali/utc-Dali-ActiveConstraint.cpp @@ -59,7 +59,7 @@ int UtcDaliConstraintGetTargetObject(void) // Apply a constraint to an actor - Constraint constraint = Constraint::New( Actor::SIZE, TestConstraintVector3() ); + Constraint constraint = Constraint::New( Actor::Property::SIZE, TestConstraintVector3() ); Actor actor = Actor::New(); @@ -90,7 +90,7 @@ int UtcDaliConstraintGetTargetProperty(void) // Apply a constraint to an actor - Constraint constraint = Constraint::New( Actor::SIZE, TestConstraintVector3() ); + Constraint constraint = Constraint::New( Actor::Property::SIZE, TestConstraintVector3() ); Actor actor = Actor::New(); @@ -100,7 +100,7 @@ int UtcDaliConstraintGetTargetProperty(void) Property::Index index = active.GetTargetProperty(); - DALI_TEST_CHECK( Actor::SIZE == index ); + DALI_TEST_CHECK( Actor::Property::SIZE == index ); END_TEST; } @@ -110,7 +110,7 @@ int UtcDaliConstraintSetWeight(void) // Apply a constraint to an actor - Constraint constraint = Constraint::New( Actor::SIZE, TestConstraintVector3() ); + Constraint constraint = Constraint::New( Actor::Property::SIZE, TestConstraintVector3() ); Actor actor = Actor::New(); Stage::GetCurrent().Add( actor ); @@ -158,7 +158,7 @@ int UtcDaliConstraintGetCurrentWeight(void) // Apply a constraint to an actor - Constraint constraint = Constraint::New( Actor::SIZE, TestConstraintVector3() ); + Constraint constraint = Constraint::New( Actor::Property::SIZE, TestConstraintVector3() ); Actor actor = Actor::New(); @@ -176,7 +176,7 @@ int UtcDaliConstraintSignalApplied(void) // Apply a constraint to an actor - Constraint constraint = Constraint::New( Actor::SIZE, TestConstraintVector3() ); + Constraint constraint = Constraint::New( Actor::Property::SIZE, TestConstraintVector3() ); float duration( 10.0f ); constraint.SetApplyTime( duration ); @@ -226,7 +226,7 @@ int UtcDaliConstraintRemove(void) // Apply a constraint to an actor - Constraint constraint = Constraint::New( Actor::SIZE, TestConstraintVector3() ); + Constraint constraint = Constraint::New( Actor::Property::SIZE, TestConstraintVector3() ); float duration( 1.0f ); constraint.SetApplyTime( duration ); @@ -274,7 +274,7 @@ int UtcDaliConstraintRemove(void) DALI_TEST_CHECK( startSize == actor.GetCurrentSize() ); // Try setting the weight after removal - active.SetProperty( ActiveConstraint::WEIGHT, 0.5f ); + active.SetProperty( ActiveConstraint::Property::WEIGHT, 0.5f ); application.SendNotification(); application.Render(static_cast(1000.0f)); DALI_TEST_CHECK( 0.5f == active.GetCurrentWeight() ); @@ -284,7 +284,7 @@ int UtcDaliConstraintRemove(void) int UtcDaliConstraintCallback(void) { TestApplication application; - Constraint constraint = Constraint::New( Actor::SIZE, TestConstraintVector3() ); + Constraint constraint = Constraint::New( Actor::Property::SIZE, TestConstraintVector3() ); constraint.SetApplyTime(2.0f); Actor actor = Actor::New(); ActiveConstraint active = actor.ApplyConstraint( constraint ); @@ -305,7 +305,7 @@ int UtcDaliConstraintProperties(void) { TestApplication application; - Constraint constraint = Constraint::New( Actor::SIZE, TestConstraintVector3() ); + Constraint constraint = Constraint::New( Actor::Property::SIZE, TestConstraintVector3() ); Actor actor = Actor::New(); ActiveConstraint active = actor.ApplyConstraint( constraint );