Change MotionData's AsyncLoad UTC 61/296461/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 28 Jul 2023 05:22:48 +0000 (14:22 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 28 Jul 2023 05:23:11 +0000 (14:23 +0900)
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 <eunkiki.hong@samsung.com>
automated-tests/src/dali-scene3d/utc-Dali-MotionData.cpp

index 54fc1680c2c8784792d76a119ae27df003b5e1a9..daa558f6f204687a2c8ae89ae7ae180b461745ff 100644 (file)
@@ -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