summaryrefslogtreecommitdiff
path: root/src/tests/evas/evas_test_textblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/evas/evas_test_textblock.c')
-rw-r--r--src/tests/evas/evas_test_textblock.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tests/evas/evas_test_textblock.c b/src/tests/evas/evas_test_textblock.c
index e9d8c032a3..508f80416b 100644
--- a/src/tests/evas/evas_test_textblock.c
+++ b/src/tests/evas/evas_test_textblock.c
@@ -2450,6 +2450,16 @@ START_TEST(evas_textblock_formats)
2450 fail_if(strcmp(evas_textblock_cursor_content_get(cur), "<item>")); 2450 fail_if(strcmp(evas_textblock_cursor_content_get(cur), "<item>"));
2451 fail_if(!evas_textblock_cursor_format_is_visible_get(cur)); 2451 fail_if(!evas_textblock_cursor_format_is_visible_get(cur));
2452 2452
2453 evas_object_textblock_text_markup_set(tb, "abc<br/>def");
2454 evas_textblock_cursor_pos_set(cur, 3);
2455 evas_object_textblock_text_markup_prepend(cur, "<b></b>");
2456 ck_assert_str_eq(evas_object_textblock_text_markup_get(tb), "abc<b></b><br/>def");
2457 evas_object_textblock_text_markup_set(tb, "abc<br/>def");
2458 evas_textblock_cursor_pos_set(cur, 2);
2459 evas_object_textblock_text_markup_prepend(cur, "<b></b>");
2460 ck_assert_str_eq(evas_object_textblock_text_markup_get(tb), "ab<b></b>c<br/>def");
2461
2462
2453 END_TB_TEST(); 2463 END_TB_TEST();
2454} 2464}
2455END_TEST 2465END_TEST