From: Eunki, Hong Date: Fri, 28 Jul 2023 05:22:48 +0000 (+0900) Subject: Change MotionData's AsyncLoad UTC X-Git-Tag: dali_2.2.38~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F61%2F296461%2F1;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git Change MotionData's AsyncLoad UTC Since we change to trigger eventfd even if task canceled during running, UTC implements should be changed. Change-Id: If63e2f03ff90db23a3226d69dc1bde4fb3352997 Signed-off-by: Eunki, Hong --- diff --git a/automated-tests/src/dali-scene3d/utc-Dali-MotionData.cpp b/automated-tests/src/dali-scene3d/utc-Dali-MotionData.cpp index 54fc168..daa558f 100644 --- a/automated-tests/src/dali-scene3d/utc-Dali-MotionData.cpp +++ b/automated-tests/src/dali-scene3d/utc-Dali-MotionData.cpp @@ -393,8 +393,14 @@ int UtcDaliMotionDataLoadAsyncMultiple(void) // Check MotionData load successfully. DALI_TEST_GREATER(motionData.GetMotionCount(), 0u, TEST_LOCATION); + gLoadCompleted = false; + // Check if completed request comes only 1 time. - DALI_TEST_EQUALS(Test::WaitForEventThreadTrigger(1, 1), false, TEST_LOCATION); + Test::WaitForEventThreadTrigger(1, 1); + application.SendNotification(); + application.Render(); + + DALI_TEST_EQUALS(gLoadCompleted, false, TEST_LOCATION); END_TEST; } \ No newline at end of file