summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hirt <hirt.danny@gmail.com>2017-12-09 02:43:22 +0200
committerDaniel Hirt <hirt.danny@gmail.com>2017-12-16 09:28:22 +0200
commit4a03ca3a75889b251fd51a126d4ad4d6e99f864c (patch)
treeb9dcaaf673c445ac4cd2abc6c5e3c39d6c7ca9ff
parentcfa6338f68f4e5cd845c2fe7c13008ae3857d148 (diff)
Item factory: fixup tests (switched parameter position)devs/herdsman/annotation_item
-rw-r--r--src/tests/evas/evas_test_textblock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/evas/evas_test_textblock.c b/src/tests/evas/evas_test_textblock.c
index 704040381f..b4f3b99f31 100644
--- a/src/tests/evas/evas_test_textblock.c
+++ b/src/tests/evas/evas_test_textblock.c
@@ -4371,7 +4371,7 @@ START_TEST(evas_textblock_annotation)
4371 /* Check "item" annotations */ 4371 /* Check "item" annotations */
4372 efl_text_set(tb, "abcd"); 4372 efl_text_set(tb, "abcd");
4373 evas_textblock_cursor_pos_set(cur, 4); 4373 evas_textblock_cursor_pos_set(cur, 4);
4374 an = efl_text_cursor_item_insert(tb, cur, "size=16x16", ""); 4374 an = efl_text_cursor_item_insert(tb, cur, "", "size=16x16");
4375 _test_check_annotation(tb, 4, 4, _COMP_PARAMS("size=16x16 href=")); 4375 _test_check_annotation(tb, 4, 4, _COMP_PARAMS("size=16x16 href="));
4376 4376
4377 /* Check that format is not extended if it's an "object item" */ 4377 /* Check that format is not extended if it's an "object item" */
@@ -4420,7 +4420,7 @@ START_TEST(evas_textblock_annotation)
4420 an = efl_text_cursor_item_annotation_get(tb, cur); 4420 an = efl_text_cursor_item_annotation_get(tb, cur);
4421 ck_assert(!an); 4421 ck_assert(!an);
4422 4422
4423 an = efl_text_cursor_item_insert(tb, cur, "size=16x16", ""); 4423 an = efl_text_cursor_item_insert(tb, cur, "", "size=16x16");
4424 evas_textblock_cursor_pos_set(cur, 4); 4424 evas_textblock_cursor_pos_set(cur, 4);
4425 an = efl_text_cursor_item_annotation_get(tb, cur); 4425 an = efl_text_cursor_item_annotation_get(tb, cur);
4426 ck_assert(an); 4426 ck_assert(an);