summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2019-03-26 19:48:30 +0900
committerHermet Park <hermetpark@gmail.com>2019-03-26 19:48:30 +0900
commit2e545ee34e58d4bd2438dd41c29374da7efc232a (patch)
treeed1b74140f418ca9a5c0ee08dad2ed3c23b69d29 /src/tests
parentd36beba2bb0aa2e914de5e6ccd118f67872614df (diff)
elm_win: fix correct return value on elm_win_rotation_get
Summary: Before b3327c761e, -1 was returned on`elm_win_rotation_get`, if `obj` is NULL. This fixes backward compatibility. Test Plan: make check Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8474
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/elementary/elm_test_win.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/elementary/elm_test_win.c b/src/tests/elementary/elm_test_win.c
index 92daf1c656..9327327f6e 100644
--- a/src/tests/elementary/elm_test_win.c
+++ b/src/tests/elementary/elm_test_win.c
@@ -459,6 +459,7 @@ EFL_START_TEST(elm_win_test_rotation)
459 ck_assert_int_eq(elm_win_rotation_get(win), 90); 459 ck_assert_int_eq(elm_win_rotation_get(win), 90);
460 elm_win_rotation_with_resize_set(win, 180); 460 elm_win_rotation_with_resize_set(win, 180);
461 ck_assert_int_eq(elm_win_rotation_get(win), 180); 461 ck_assert_int_eq(elm_win_rotation_get(win), 180);
462 ck_assert_int_eq(elm_win_rotation_get(NULL), -1);
462} 463}
463EFL_END_TEST 464EFL_END_TEST
464 465