summaryrefslogtreecommitdiff
path: root/src/tests/evas
diff options
context:
space:
mode:
authorAli Alzyod <ali198724@gmail.com>2019-12-24 17:17:31 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2019-12-24 17:17:31 +0900
commit79d95a289ad571d666c93c9f47f8557621175fe9 (patch)
tree931699c60024df082ce1034c1e714847f8dd8d7d /src/tests/evas
parentce28963654c953404ba6d03cbc365bdf46323555 (diff)
efl_text_cursor: assign source textobject to destination on cursor_copy
Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8454 Differential Revision: https://phab.enlightenment.org/D10951
Diffstat (limited to 'src/tests/evas')
-rw-r--r--src/tests/evas/evas_test_textblock.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/evas/evas_test_textblock.c b/src/tests/evas/evas_test_textblock.c
index 43be1fcd53..f4806cb459 100644
--- a/src/tests/evas/evas_test_textblock.c
+++ b/src/tests/evas/evas_test_textblock.c
@@ -4516,6 +4516,12 @@ EFL_START_TEST(efl_canvas_textblock_cursor)
4516 4516
4517 ck_assert_int_eq(changed_emit, 3); 4517 ck_assert_int_eq(changed_emit, 3);
4518 4518
4519 Eo *cursor_temp = efl_add(EFL_TEXT_CURSOR_CLASS, txt);
4520 efl_text_cursor_copy(cursor1 ,cursor_temp);
4521 ck_assert_ptr_eq(
4522 efl_text_cursor_text_object_get(cursor1),
4523 efl_text_cursor_text_object_get(cursor_temp));
4524
4519 END_EFL_CANVAS_TEXTBLOCK_TEST(); 4525 END_EFL_CANVAS_TEXTBLOCK_TEST();
4520} 4526}
4521EFL_END_TEST 4527EFL_END_TEST