summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-12-28 21:57:12 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-12-28 21:57:12 +0000
commitb8cccbdd95432ebd7ccc616720aabfca64801b4d (patch)
treec41221ef9b0250ac89c58dad6691d76fe4a268ca
parent2f1795d8bc43516e0185f022be97fa3f6539f625 (diff)
efl ui test - set cursor pos compare right
-rw-r--r--src/tests/elementary/efl_ui_test_text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/elementary/efl_ui_test_text.c b/src/tests/elementary/efl_ui_test_text.c
index b2596af99c..a49ddc056a 100644
--- a/src/tests/elementary/efl_ui_test_text.c
+++ b/src/tests/elementary/efl_ui_test_text.c
@@ -507,7 +507,7 @@ EFL_START_TEST(text_keyboard_mouse_cluster_cursor_movement)
507 efl_ui_focus_util_focus(txt); 507 efl_ui_focus_util_focus(txt);
508 evas_event_feed_key_down(e, "Right", "Right", "Right", "Right", time(NULL), NULL); 508 evas_event_feed_key_down(e, "Right", "Right", "Right", "Right", time(NULL), NULL);
509 509
510 ck_assert_int_eq(4, efl_text_cursor_object_position_get(cursor)); 510 ck_assert_int_eq(2, efl_text_cursor_object_position_get(cursor));
511 511
512 efl_text_cursor_object_position_set(cursor, 1); 512 efl_text_cursor_object_position_set(cursor, 1);
513 efl_text_cursor_object_move(cursor, EFL_TEXT_CURSOR_MOVE_TYPE_CHARACTER_NEXT); 513 efl_text_cursor_object_move(cursor, EFL_TEXT_CURSOR_MOVE_TYPE_CHARACTER_NEXT);
@@ -518,7 +518,7 @@ EFL_START_TEST(text_keyboard_mouse_cluster_cursor_movement)
518 efl_text_cursor_object_position_set(cursor, 0); 518 efl_text_cursor_object_position_set(cursor, 0);
519 click_object_at(win, rc2.x + rc.x + (rc.w/2), rc2.y + rc.y + (rc.h/2)); 519 click_object_at(win, rc2.x + rc.x + (rc.w/2), rc2.y + rc.y + (rc.h/2));
520 520
521 ck_assert_int_eq(4, efl_text_cursor_object_position_get(cursor)); 521 ck_assert_int_eq(2, efl_text_cursor_object_position_get(cursor));
522 522
523 efl_del(txt); 523 efl_del(txt);
524 efl_del(win); 524 efl_del(win);