Implement AsyncTaskManager for toolkit UTC
[platform/core/uifw/dali-toolkit.git] / automated-tests / src / dali-toolkit / utc-Dali-AnimatedImageVisual.cpp
index 29abcd2..73f4cf7 100644 (file)
@@ -1233,10 +1233,9 @@ int UtcDaliAnimatedImageVisualMultiImage01(void)
     tet_infoline("Test that after 2 ticks that we have 6 textures");
 
     Test::EmitGlobalTimerSignal();
-    // TODO : Open this logic if we make AsyncTaskManager for toolkit UTC doesn't execute by SendNotification().
-    //application.SendNotification();
-    //application.Render(16);
-    //DALI_TEST_EQUALS(gl.GetNumGeneratedTextures(), 6, TEST_LOCATION);
+    application.SendNotification();
+    application.Render(16);
+    DALI_TEST_EQUALS(gl.GetNumGeneratedTextures(), 6, TEST_LOCATION);
 
     tet_infoline("And that at least 2 textures were requested");
     DALI_TEST_EQUALS(Test::WaitForEventThreadTrigger(2), true, TEST_LOCATION);
@@ -1246,10 +1245,9 @@ int UtcDaliAnimatedImageVisualMultiImage01(void)
 
     tet_infoline("Test that after 3rd tick that we have 7 textures and 1 request");
     Test::EmitGlobalTimerSignal();
-    // TODO : Open this logic if we make AsyncTaskManager for toolkit UTC doesn't execute by SendNotification().
-    //application.SendNotification();
-    //application.Render(16);
-    //DALI_TEST_EQUALS(gl.GetNumGeneratedTextures(), 7, TEST_LOCATION);
+    application.SendNotification();
+    application.Render(16);
+    DALI_TEST_EQUALS(gl.GetNumGeneratedTextures(), 7, TEST_LOCATION);
 
     DALI_TEST_EQUALS(Test::WaitForEventThreadTrigger(1), true, TEST_LOCATION);
     application.SendNotification();