summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2019-12-02 12:39:55 -0500
committerChris Michael <cp.michael@samsung.com>2019-12-02 12:39:55 -0500
commit00aaf99765a1021bcdb8aebc689cedabb089af6e (patch)
tree971fadeef2674c779fafe759b2c8c1f81c5a1752
parent6d2a9ae1f86449d773a103e277f8b7e1c2282a57 (diff)
downloadefl-00aaf99765a1021bcdb8aebc689cedabb089af6e.tar.gz
tests/ecore_wl2: Fix bad window test
Small patch to fix issue where merge of patch did not go so well, and thus caused Coverity to report an issue where window was not being initialized. ref T8016 fixes CID1408311
-rw-r--r--src/tests/ecore_wl2/ecore_wl2_test_window.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/ecore_wl2/ecore_wl2_test_window.c b/src/tests/ecore_wl2/ecore_wl2_test_window.c
index 4641716a31..e678ac4954 100644
--- a/src/tests/ecore_wl2/ecore_wl2_test_window.c
+++ b/src/tests/ecore_wl2/ecore_wl2_test_window.c
@@ -335,6 +335,12 @@ EFL_START_TEST(wl2_window_activated)
Ecore_Wl2_Window *win;
Eina_Bool ret;
+ disp = _display_connect();
+ ck_assert(disp != NULL);
+
+ win = _window_create(disp);
+ ck_assert(win != NULL);
+
ret = ecore_wl2_window_activated_get(win);
fail_if(ret != EINA_TRUE);