X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Futc-Dali-BubbleEmitter.cpp;h=e8f0d98668357d28a03a20c03b31f370ed7a8423;hp=a4575fc84788e1cbf1622c19d46ebd4bcd1a9ec2;hb=d07dc4c4a6067ba3080184d862bca40a90d1789c;hpb=8d7a2d639ced5d2eb3ce4321653ad4d8b55b0b95 diff --git a/automated-tests/src/dali-toolkit/utc-Dali-BubbleEmitter.cpp b/automated-tests/src/dali-toolkit/utc-Dali-BubbleEmitter.cpp index a4575fc..e8f0d98 100644 --- a/automated-tests/src/dali-toolkit/utc-Dali-BubbleEmitter.cpp +++ b/automated-tests/src/dali-toolkit/utc-Dali-BubbleEmitter.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -288,20 +288,24 @@ int UtcDaliBubbleEmitterEmitBubble(void) (bubbleRenderer.GetProperty(propertyIndex1)).Get( value1 ); DALI_TEST_EQUALS(value0, 0.f, TEST_LOCATION ); DALI_TEST_EQUALS(value1, 0.f, TEST_LOCATION ); + ( bubbleRenderer.GetCurrentProperty( propertyIndex0 ) ).Get( value0 ); + ( bubbleRenderer.GetCurrentProperty( propertyIndex0 ) ).Get( value1 ); + DALI_TEST_EQUALS(value0, 0.f, TEST_LOCATION ); + DALI_TEST_EQUALS(value1, 0.f, TEST_LOCATION ); animation.Play(); Wait(application, 300); propertyIndex0 = bubbleRenderer.GetPropertyIndex( "uPercentage[0]" ); propertyIndex1 = bubbleRenderer.GetPropertyIndex( "uPercentage[1]" ); - (bubbleRenderer.GetProperty(propertyIndex0)).Get( value0 ); - (bubbleRenderer.GetProperty(propertyIndex1)).Get( value1 ); + ( bubbleRenderer.GetCurrentProperty( propertyIndex0 ) ).Get( value0 ); + ( bubbleRenderer.GetCurrentProperty( propertyIndex0 ) ).Get( value1 ); DALI_TEST_CHECK( value0 >= 0.6f ); DALI_TEST_CHECK( value1 >= 0.6f ); Wait(application,500); - (bubbleRenderer.GetProperty(propertyIndex0)).Get( value0 ); - (bubbleRenderer.GetProperty(propertyIndex1)).Get( value1 ); + ( bubbleRenderer.GetCurrentProperty( propertyIndex0 ) ).Get( value0 ); + ( bubbleRenderer.GetCurrentProperty( propertyIndex0 ) ).Get( value1 ); DALI_TEST_EQUALS(value0, 1.f, TEST_LOCATION ); DALI_TEST_EQUALS(value1, 1.f, TEST_LOCATION ); END_TEST;