Evas textblock: Add a failing test for line_coord_set.

See more information in the next commit.

This commit message was edited by TAsn, and only the test case preserved
from the original commit in D2574.
This commit is contained in:
Vladyslav Shevchenko 2015-06-26 14:50:22 +01:00 committed by Tom Hacohen
parent efc91df01a
commit fbfeb9af48
1 changed files with 5 additions and 0 deletions

View File

@ -597,6 +597,11 @@ START_TEST(evas_textblock_cursor)
evas_textblock_cursor_paragraph_first(main_cur);
evas_textblock_cursor_line_coord_set(main_cur, (2 * nh) - 1);
fail_if(evas_textblock_cursor_compare(main_cur, cur));
evas_object_textblock_text_markup_set(tb, "123<br/>456<br/>789");
evas_object_textblock_valign_set(tb, 0.0);
evas_textblock_cursor_pos_set(cur, 6);
fail_if(evas_textblock_cursor_line_coord_set(cur, 0) != 0);
}
{