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-Builder.cpp;h=987916c7d117916edc81fa2a7224ffc6fb252f1e;hp=52f6f98357594bf606a4b52dc463b9056484f264;hb=73eaac8af8efb9ac721db3fcf3c71a7a3115282a;hpb=6d4347e7eff8ab62127a60984af2f1cdf156716c diff --git a/automated-tests/src/dali-toolkit/utc-Dali-Builder.cpp b/automated-tests/src/dali-toolkit/utc-Dali-Builder.cpp index 52f6f98..987916c 100644 --- a/automated-tests/src/dali-toolkit/utc-Dali-Builder.cpp +++ b/automated-tests/src/dali-toolkit/utc-Dali-Builder.cpp @@ -277,6 +277,21 @@ int UtcDaliBuilderAnimationP(void) " \"duration\": 3" " }" " }]" + " }," + " \"pathAnimation2\": {" + " \"duration\": 3.0," + " \"endAction\": \"BAKE_FINAL\"," + " \"disconnectAction\": \"DISCARD\"," + " \"properties\": [{" + " \"actor\": \"greeting\"," + " \"path\":\"path0\"," + " \"forward\":[1,0,0]," + " \"alphaFunction\": \"EASE_IN_OUT\"," + " \"timePeriod\": {" + " \"delay\": 0," + " \"duration\": 3" + " }" + " }]" " }" " }," " \"stage\": [{" @@ -313,6 +328,10 @@ int UtcDaliBuilderAnimationP(void) DALI_TEST_CHECK( anim ); + anim = builder.CreateAnimation("pathAnimation2"); + + DALI_TEST_CHECK( anim ); + // trigger play // Emit touch event and check that our quit method is called Integration::TouchEvent touchEvent; @@ -1072,7 +1091,7 @@ int UtcDaliBuilderCustomShaderP(void) " },\n" " \"signals\": [\n" " {\n" - " \"name\": \"onStage\",\n" + " \"name\": \"onScene\",\n" " \"action\": \"play\",\n" " \"animation\": \"Animation_1\"\n" " }\n" @@ -1230,12 +1249,12 @@ int UtcDaliBuilderPathConstraintsP(void) " },\n" " \"signals\": [\n" " {\n" - " \"name\": \"onStage\",\n" + " \"name\": \"onScene\",\n" " \"action\": \"play\",\n" " \"animation\": \"pathAnimation\"\n" " },\n" " {\n" - " \"name\": \"onStage\",\n" + " \"name\": \"onScene\",\n" " \"action\": \"applyConstraint\",\n" " \"constrainer\": \"constrainer0\",\n" " \"properties\":\n" @@ -1250,7 +1269,7 @@ int UtcDaliBuilderPathConstraintsP(void) " ]\n" " },\n" " {\n" - " \"name\": \"onStage\",\n" + " \"name\": \"onScene\",\n" " \"action\": \"applyConstraint\",\n" " \"constrainer\": \"constrainer1\",\n" " \"properties\":\n" @@ -1265,7 +1284,7 @@ int UtcDaliBuilderPathConstraintsP(void) " ]\n" " },\n" " {\n" - " \"name\": \"offStage\",\n" + " \"name\": \"offScene\",\n" " \"action\": \"removeConstraints\",\n" " \"constrainer\": \"constrainer0\",\n" " \"properties\":\n" @@ -1280,7 +1299,7 @@ int UtcDaliBuilderPathConstraintsP(void) " ]\n" " },\n" " {\n" - " \"name\": \"offStage\",\n" + " \"name\": \"offScene\",\n" " \"action\": \"removeConstraints\",\n" " \"constrainer\": \"constrainer1\",\n" " \"properties\":\n"