utests: use ut_tdm_display_handle_events for timeout 83/174383/1
authorBoram Park <boram1288.park@samsung.com>
Tue, 27 Mar 2018 04:29:44 +0000 (13:29 +0900)
committerBoram Park <boram1288.park@samsung.com>
Sun, 1 Apr 2018 23:11:08 +0000 (08:11 +0900)
Change-Id: I4b672f599e77d5b8ed5ec8679cb7a5a9efa05d36

utests/src/ut_tdm_output.cpp
utests/src/ut_tdm_vblank.cpp

index f44109e1cbff90b724da4f1677c92ec24e38c74a..227b3e29b0e71d8e0b4cc51b8096e77cf297c497 100644 (file)
@@ -1343,7 +1343,7 @@ TEST_P(TDMOutput, OutputWaitVblankBeforeDpmsOff)
                        if (t == 9)
                                ASSERT_EQ(tdm_output_set_dpms(outputs[o], TDM_OUTPUT_DPMS_OFF), TDM_ERROR_NONE);
                        while (!done)
-                               ASSERT_EQ(tdm_display_handle_events(dpy), TDM_ERROR_NONE);
+                               ASSERT_EQ(ut_tdm_display_handle_events(dpy), TDM_ERROR_NONE);
                }
        }
 }
index c72da58255c8b66583f04f444ca6f5c6e239896a..b9ae7670812f345425b8e0dfc3f9ebbfe4babcd3 100644 (file)
@@ -1147,7 +1147,7 @@ TEST_P(TDMVblank, VblankWaitBeforeDpmsOff)
                ASSERT_EQ(tdm_output_set_dpms(output, TDM_OUTPUT_DPMS_OFF), TDM_ERROR_NONE);
 
                while (temp == 0)
-                       ASSERT_EQ(tdm_display_handle_events(dpy), TDM_ERROR_NONE);
+                       ASSERT_EQ(ut_tdm_display_handle_events(dpy), TDM_ERROR_NONE);
        }
 }