summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-08-01 08:53:21 -0400
committerChristopher Michael <cp.michael@samsung.com>2019-08-01 08:53:21 -0400
commitf481b6acf19c7a59c43fc138070c0fce04fd1988 (patch)
tree56ba35cfe9289e85dc44e5a2880c0f2c5faa1426 /src/tests
parent34514ccf58c8c5ee037b3736b0d5811f902c63cf (diff)
tests/ecore_wl2: Fix assert tests for some window functions
ref T8016
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/ecore_wl2/ecore_wl2_test_window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/ecore_wl2/ecore_wl2_test_window.c b/src/tests/ecore_wl2/ecore_wl2_test_window.c
index 3f5e98cd50..5fa938ca24 100644
--- a/src/tests/ecore_wl2/ecore_wl2_test_window.c
+++ b/src/tests/ecore_wl2/ecore_wl2_test_window.c
@@ -58,7 +58,7 @@ EFL_START_TEST(wl2_window_surface_test)
58 ck_assert(surf != NULL); 58 ck_assert(surf != NULL);
59 59
60 id = ecore_wl2_window_surface_id_get(win); 60 id = ecore_wl2_window_surface_id_get(win);
61 ck_assert_int_lt(id, 0); 61 ck_assert_int_gt(id, 0);
62 62
63 ck_assert_int_eq(wl_proxy_get_id((struct wl_proxy *)surf), id); 63 ck_assert_int_eq(wl_proxy_get_id((struct wl_proxy *)surf), id);
64} 64}
@@ -77,7 +77,7 @@ EFL_START_TEST(wl2_window_rotation_get)
77 ck_assert(win != NULL); 77 ck_assert(win != NULL);
78 78
79 rot = ecore_wl2_window_rotation_get(win); 79 rot = ecore_wl2_window_rotation_get(win);
80 ck_assert_int_lt(rot, 0); 80 ck_assert_int_ge(rot, 0);
81} 81}
82EFL_END_TEST 82EFL_END_TEST
83 83