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 f44109e..227b3e2 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 c72da58..b9ae767 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);
        }
 }