summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-02-07 13:10:54 +0000
committerTom Hacohen <tom@stosb.com>2014-02-07 13:19:18 +0000
commitb0f9e9ee6632611ee78dc6e6dc1bf0b6d9f6b16a (patch)
treefb508b25730d3fca5d6df1ca7cc070012055b431
parent329433f10d993d69d2f1424d0645cd15d763c9d8 (diff)
Evas textblock: Added tests for *_cursor_char_coord_set.
There are issues with values between the beginning of the first par and the beginning of the first line.
-rw-r--r--src/tests/evas/evas_test_textblock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/evas/evas_test_textblock.c b/src/tests/evas/evas_test_textblock.c
index 31697e3153..02774ef993 100644
--- a/src/tests/evas/evas_test_textblock.c
+++ b/src/tests/evas/evas_test_textblock.c
@@ -400,6 +400,10 @@ START_TEST(evas_textblock_cursor)
400 evas_textblock_cursor_paragraph_last(main_cur); 400 evas_textblock_cursor_paragraph_last(main_cur);
401 fail_if(evas_textblock_cursor_compare(cur, main_cur)); 401 fail_if(evas_textblock_cursor_compare(cur, main_cur));
402 402
403 /* Try positions between the first paragraph and the first line. */
404 evas_object_textblock_text_markup_set(tb, buf);
405 fail_if(!evas_textblock_cursor_char_coord_set(cur, 5, 1));
406
403 /* Try positions beyond the left/right limits of lines. */ 407 /* Try positions beyond the left/right limits of lines. */
404 for (i = 0 ; i < 2 ; i++) 408 for (i = 0 ; i < 2 ; i++)
405 { 409 {