From: Tom Hacohen Date: Tue, 19 Jul 2011 13:43:20 +0000 (+0000) Subject: Evas tests: Added another textblock format removal test. X-Git-Tag: submit/devel/efl/20131022.203902~8746 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=540592a0dfd0f8986dcec5fe95894610d9698c50;p=platform%2Fupstream%2Fefl.git Evas tests: Added another textblock format removal test. SVN revision: 61503 --- diff --git a/legacy/evas/src/tests/evas_test_textblock.c b/legacy/evas/src/tests/evas_test_textblock.c index d3b49d5..b4619ed 100644 --- a/legacy/evas/src/tests/evas_test_textblock.c +++ b/legacy/evas/src/tests/evas_test_textblock.c @@ -731,6 +731,13 @@ START_TEST(evas_textblock_format_removal) fnode = evas_textblock_node_format_next_get(fnode); fail_if (fnode); + /* Two formats in the same place. */ + evas_object_textblock_text_markup_set(tb, "abb"); + evas_textblock_cursor_pos_set(cur, 1); + evas_textblock_cursor_char_delete(cur); + fnode = evas_textblock_node_format_first_get(tb); + fail_if (fnode); + END_TB_TEST(); } END_TEST