summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-07-15 10:33:37 -0400
committerChristopher Michael <cp.michael@samsung.com>2019-07-15 11:01:30 -0400
commit7618a6caf01cbcc168921a97be54cab88033c513 (patch)
treee76503413ecd146d14c8acdbcd59d30223094d8f
parent3a3a2f667a182d7c940845cfe6ac546331666623 (diff)
tests/ecore_wl2: Add ecore_wl2_display_dmabuf_get test
ref T8016
-rw-r--r--src/tests/ecore_wl2/ecore_wl2_test_display.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tests/ecore_wl2/ecore_wl2_test_display.c b/src/tests/ecore_wl2/ecore_wl2_test_display.c
index 941b06e35e..a04f2a58eb 100644
--- a/src/tests/ecore_wl2/ecore_wl2_test_display.c
+++ b/src/tests/ecore_wl2/ecore_wl2_test_display.c
@@ -88,6 +88,19 @@ EFL_START_TEST(wl2_display_shm_get)
88} 88}
89EFL_END_TEST 89EFL_END_TEST
90 90
91EFL_START_TEST(wl2_display_dmabuf_get)
92{
93 Ecore_Wl2_Display *disp;
94 void *dma;
95
96 disp = ECORE_WL2_TEST_DISPLAY_CONNECT();
97 ck_assert(disp != NULL);
98
99 dma = ecore_wl2_display_dmabuf_get(disp);
100 ck_assert(dma != NULL);
101}
102EFL_END_TEST
103
91void 104void
92ecore_wl2_test_display(TCase *tc) 105ecore_wl2_test_display(TCase *tc)
93{ 106{
@@ -106,5 +119,6 @@ ecore_wl2_test_display(TCase *tc)
106 tcase_add_test(tc, wl2_display_connect); 119 tcase_add_test(tc, wl2_display_connect);
107 tcase_add_test(tc, wl2_display_disconnect); 120 tcase_add_test(tc, wl2_display_disconnect);
108 tcase_add_test(tc, wl2_display_shm_get); 121 tcase_add_test(tc, wl2_display_shm_get);
122 tcase_add_test(tc, wl2_display_dmabuf_get);
109 } 123 }
110} 124}