From: Enlightenment S. <no-...@en...> - 2011-07-19 13:43:30
|
Log: Evas tests: Added another textblock format removal test. Author: tasn Date: 2011-07-19 06:43:20 -0700 (Tue, 19 Jul 2011) New Revision: 61503 Trac: http://trac.enlightenment.org/e/changeset/61503 Modified: trunk/evas/src/tests/evas_test_textblock.c Modified: trunk/evas/src/tests/evas_test_textblock.c =================================================================== --- trunk/evas/src/tests/evas_test_textblock.c 2011-07-19 13:19:18 UTC (rev 61502) +++ trunk/evas/src/tests/evas_test_textblock.c 2011-07-19 13:43:20 UTC (rev 61503) @@ -731,6 +731,13 @@ fnode = evas_textblock_node_format_next_get(fnode); fail_if (fnode); + /* Two formats in the same place. */ + evas_object_textblock_text_markup_set(tb, "a<b><a>b</a></b>b"); + 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 |