From 825a3d837a33f226c879cd02ad15c3fba57e8b2c Mon Sep 17 00:00:00 2001
From: David Walter Seikel
Date: Mon, 23 Jan 2012 23:30:42 +1000
Subject: Update the EFL to what I'm actually using, coz I'm using some stuff
not yet released.
---
libraries/evas/src/tests/evas_test_textblock.c | 319 ++++++++++++++++++-------
1 file changed, 231 insertions(+), 88 deletions(-)
(limited to 'libraries/evas/src/tests/evas_test_textblock.c')
diff --git a/libraries/evas/src/tests/evas_test_textblock.c b/libraries/evas/src/tests/evas_test_textblock.c
index 6a28353..cf6a78b 100644
--- a/libraries/evas/src/tests/evas_test_textblock.c
+++ b/libraries/evas/src/tests/evas_test_textblock.c
@@ -21,9 +21,7 @@ _evas_textblock_format_offset_get(const Evas_Object_Textblock_Node_Format *n);
static const char *style_buf =
"DEFAULT='font=Sans font_size=10 color=#000 text_class=entry'"
- "br='\n'"
- "ps='ps'"
- "tab='\t'"
+ "newline='br'"
"b='+ font=Sans:style=bold'";
#define START_TB_TEST() \
@@ -61,7 +59,7 @@ while (0)
START_TEST(evas_textblock_simple)
{
START_TB_TEST();
- const char *buf = "This is a
test.";
+ const char *buf = "This is a
test.";
evas_object_textblock_text_markup_set(tb, buf);
fail_if(strcmp(evas_object_textblock_text_markup_get(tb), buf));
END_TB_TEST();
@@ -95,12 +93,12 @@ START_TEST(evas_textblock_cursor)
Evas_Coord x, y, w, h;
size_t i, len;
Evas_Coord nw, nh;
- const char *buf = "This is a
test.Lets see if this works.עוד פסקה.";
+ const char *buf = "This is a
test.Lets see if this works.עוד פסקה.";
/* Walk the textblock using cursor_char_next */
evas_object_textblock_text_markup_set(tb, buf);
fail_if(strcmp(evas_object_textblock_text_markup_get(tb), buf));
- len = eina_unicode_utf8_get_len(buf) - 9; /* 9 because len(
) == 1 and len() == 1 */
+ len = eina_unicode_utf8_get_len(buf) - 12; /* 12 because len(
) == 1 and len() == 1 */
for (i = 0 ; i < len ; i++)
{
_CHECK_CURSOR_COORDS();
@@ -284,7 +282,7 @@ START_TEST(evas_textblock_cursor)
/* Paragraph text get */
evas_textblock_cursor_paragraph_first(cur);
fail_if(strcmp(evas_textblock_cursor_paragraph_text_get(cur),
- "This is a
test."));
+ "This is a
test."));
evas_textblock_cursor_paragraph_next(cur);
fail_if(strcmp(evas_textblock_cursor_paragraph_text_get(cur),
"Lets see if this works."));
@@ -294,9 +292,9 @@ START_TEST(evas_textblock_cursor)
/* Paragraph length get */
evas_textblock_cursor_paragraph_first(cur);
- /* -3 because len(
) == 1 */
+ /* -4 because len(
) == 1 */
fail_if(evas_textblock_cursor_paragraph_text_length_get(cur) !=
- eina_unicode_utf8_get_len("This is a
test.") - 3);
+ eina_unicode_utf8_get_len("This is a
test.") - 4);
evas_textblock_cursor_paragraph_next(cur);
fail_if(evas_textblock_cursor_paragraph_text_length_get(cur) !=
eina_unicode_utf8_get_len("Lets see if this works."));
@@ -308,7 +306,7 @@ START_TEST(evas_textblock_cursor)
evas_textblock_cursor_pos_set(cur, 0);
fail_if(strcmp(evas_textblock_cursor_content_get(cur), "T"));
evas_textblock_cursor_pos_set(cur, 9);
- fail_if(strcmp(evas_textblock_cursor_content_get(cur), "
"));
+ fail_if(strcmp(evas_textblock_cursor_content_get(cur), "
"));
evas_textblock_cursor_pos_set(cur, 43);
fail_if(strcmp(evas_textblock_cursor_content_get(cur), "ד"));
@@ -414,12 +412,12 @@ START_TEST(evas_textblock_cursor)
#ifdef HAVE_FRIBIDI
evas_object_textblock_text_markup_set(tb,
- "testנסיוןtestנסיון"
- "נסיוןtestנסיוןtest"
- "testנסיוןtest"
- "נסיוןtestנסיון"
- "testנסיון
נסיון"
- "נסיוןtest
test"
+ "testנסיוןtestנסיון"
+ "נסיוןtestנסיוןtest"
+ "testנסיוןtest"
+ "נסיוןtestנסיון"
+ "testנסיון
נסיון"
+ "נסיוןtest
test"
);
for (i = 0 ; i < 8 ; i++)
@@ -568,6 +566,32 @@ START_TEST(evas_textblock_cursor)
fail_if(evas_textblock_cursor_compare(main_cur, cur));
}
+ {
+ const char *buf_wb = "a This is_a t:e.s't a";
+ evas_object_textblock_text_markup_set(tb, buf_wb);
+
+ /* Word start/end */
+ evas_textblock_cursor_pos_set(cur, 3);
+ evas_textblock_cursor_word_start(cur);
+ fail_if(2 != evas_textblock_cursor_pos_get(cur));
+ evas_textblock_cursor_word_end(cur);
+ fail_if(5 != evas_textblock_cursor_pos_get(cur));
+
+ evas_textblock_cursor_pos_set(cur, 13);
+ evas_textblock_cursor_word_end(cur);
+ fail_if(18 != evas_textblock_cursor_pos_get(cur));
+ evas_textblock_cursor_word_start(cur);
+ fail_if(12 != evas_textblock_cursor_pos_get(cur));
+ evas_textblock_cursor_word_start(cur);
+ fail_if(12 != evas_textblock_cursor_pos_get(cur));
+ evas_textblock_cursor_word_start(cur);
+ fail_if(12 != evas_textblock_cursor_pos_get(cur));
+ evas_textblock_cursor_word_end(cur);
+ fail_if(18 != evas_textblock_cursor_pos_get(cur));
+ evas_textblock_cursor_word_end(cur);
+ fail_if(18 != evas_textblock_cursor_pos_get(cur));
+ }
+
END_TB_TEST();
}
END_TEST
@@ -723,7 +747,7 @@ START_TEST(evas_textblock_format_removal)
/* Range deletion across paragraphs */
evas_object_textblock_text_markup_set(tb,
- "This ate"
+ "This ate"
"sst.");
evas_textblock_cursor_pos_set(cur, 6);
evas_textblock_cursor_pos_set(main_cur, 10);
@@ -749,14 +773,14 @@ START_TEST(evas_textblock_format_removal)
fail_if (fnode);
/* Two formats across different paragraphs with notihng in between. */
- evas_object_textblock_text_markup_set(tb, "");
+ evas_object_textblock_text_markup_set(tb, "");
evas_textblock_cursor_pos_set(cur, 0);
evas_textblock_cursor_char_delete(cur);
fnode = evas_textblock_node_format_first_get(tb);
fail_if (fnode);
/* Try with range */
- evas_object_textblock_text_markup_set(tb, "");
+ evas_object_textblock_text_markup_set(tb, "");
evas_textblock_cursor_pos_set(cur, 0);
evas_textblock_cursor_pos_set(main_cur, 1);
evas_textblock_cursor_range_delete(cur, main_cur);
@@ -765,7 +789,7 @@ START_TEST(evas_textblock_format_removal)
/* Verify fmt position and REP_CHAR positions are the same */
evas_object_textblock_text_markup_set(tb,
- "This isan - >a.");
+ "This isan
- >a.");
evas_textblock_cursor_pos_set(cur, 7);
evas_textblock_cursor_char_delete(cur);
fnode = evas_textblock_node_format_first_get(tb);
@@ -1091,9 +1115,9 @@ START_TEST(evas_textblock_wrapping)
evas_object_textblock_text_markup_set(tb, "a");
evas_object_textblock_size_formatted_get(tb, &bw, &bh);
evas_object_textblock_text_markup_set(tb,
- "aaaa aaaa aaa aa aaa"
- "aaaa aaa aaa aaa aaa"
- "a aaaaa aaaaaaaaaaaaaa
aaaaa"
+ "aaaa aaaa aaa aa aaa"
+ "aaaa aaa aaa aaa aaa"
+ "a aaaaa aaaaaaaaaaaaaa
aaaaa"
"aaaaaa"
);
evas_textblock_cursor_format_prepend(cur, "+ wrap=char");
@@ -1113,9 +1137,9 @@ START_TEST(evas_textblock_wrapping)
evas_object_textblock_text_markup_set(tb, "aaaaaa");
evas_object_textblock_size_formatted_get(tb, &bw, &bh);
evas_object_textblock_text_markup_set(tb,
- "aaaa aaaa aaa aa aaa"
- "aaaa aaa aaa aaa aaa"
- "a aaaaa aaaaaa
aaaaa"
+ "aaaa aaaa aaa aa aaa"
+ "aaaa aaa aaa aaa aaa"
+ "a aaaaa aaaaaa
aaaaa"
"aaaaa"
);
evas_textblock_cursor_format_prepend(cur, "+ wrap=word");
@@ -1134,9 +1158,9 @@ START_TEST(evas_textblock_wrapping)
evas_object_textblock_text_markup_set(tb, "a");
evas_object_textblock_size_formatted_get(tb, &bw, &bh);
evas_object_textblock_text_markup_set(tb,
- "aaaa aaaa aaa aa aaa"
- "aaaa aaa aaa aaa aaa"
- "a aaaaa aaaaaa
aaaaa"
+ "aaaa aaaa aaa aa aaa"
+ "aaaa aaa aaa aaa aaa"
+ "a aaaaa aaaaaa
aaaaa"
"aaaaa"
);
evas_textblock_cursor_format_prepend(cur, "+ wrap=mixed");
@@ -1156,26 +1180,26 @@ START_TEST(evas_textblock_wrapping)
int wrap_items = sizeof(wrap_style) / sizeof(*wrap_style);
evas_object_textblock_text_markup_set(tb,
- "This is an entry widget in this window that
"
- "uses markup like this> for styling and
"
- "formatting like this>, as well as
"
- "links in the text>, so enter text
"
- "in here to edit it. By the way, links are
"
- "called Anchors so you will need
"
- "to refer to them this way.
"
- "
"
+ "This is an entry widget in this window that
"
+ "uses markup like this> for styling and
"
+ "formatting like this>, as well as
"
+ "links in the text>, so enter text
"
+ "in here to edit it. By the way, links are
"
+ "called Anchors so you will need
"
+ "to refer to them this way.
"
+ "
"
"Also you can stick in items with (relsize + ascent): "
" "
" (full) "
" "
- " (to the left)
"
+ " (to the left)
"
"Also (size + ascent): "
" "
" (full) "
" "
- " (before this)
"
+ " (before this)
"
"And as well (absize + ascent): "
" "
@@ -1214,6 +1238,13 @@ START_TEST(evas_textblock_wrapping)
evas_object_textblock_size_formatted_get(tb, &w, &h);
fail_if((w > (nw / 2)) || (h != nh));
+ evas_object_textblock_text_markup_set(tb, "aaaaaaaaaaaaaaaaaa
b");
+ evas_textblock_cursor_format_prepend(cur, "+ ellipsis=1.0 wrap=word");
+ evas_object_textblock_size_native_get(tb, &nw, &nh);
+ evas_object_resize(tb, nw / 2, nh * 2);
+ evas_object_textblock_size_formatted_get(tb, &w, &h);
+ fail_if(w > (nw / 2));
+
END_TB_TEST();
}
END_TEST
@@ -1223,7 +1254,7 @@ START_TEST(evas_textblock_various)
{
Evas_Coord w, h, bw, bh;
START_TB_TEST();
- const char *buf = "Thistextblockhasalotoflines.";
+ const char *buf = "Thistextblockhasalotoflines.";
evas_object_textblock_text_markup_set(tb, buf);
evas_object_textblock_size_formatted_get(tb, &w, &h);
/* Move outside of the screen so it'll have to search for the correct
@@ -1241,15 +1272,15 @@ START_TEST(evas_textblock_various)
/* Items have correct text node information */
evas_object_textblock_text_markup_set(tb, "");
fail_if(!_evas_textblock_check_item_node_link(tb));
- evas_object_textblock_text_markup_set(tb, "");
+ evas_object_textblock_text_markup_set(tb, "");
fail_if(!_evas_textblock_check_item_node_link(tb));
- evas_object_textblock_text_markup_set(tb, "a");
+ evas_object_textblock_text_markup_set(tb, "a");
fail_if(!_evas_textblock_check_item_node_link(tb));
- evas_object_textblock_text_markup_set(tb, "aa");
+ evas_object_textblock_text_markup_set(tb, "aa");
fail_if(!_evas_textblock_check_item_node_link(tb));
- evas_object_textblock_text_markup_set(tb, "aa");
+ evas_object_textblock_text_markup_set(tb, "aa");
fail_if(!_evas_textblock_check_item_node_link(tb));
- evas_object_textblock_text_markup_set(tb, "aaa");
+ evas_object_textblock_text_markup_set(tb, "aaa");
fail_if(!_evas_textblock_check_item_node_link(tb));
END_TB_TEST();
@@ -1260,7 +1291,7 @@ END_TEST
START_TEST(evas_textblock_geometries)
{
START_TB_TEST();
- const char *buf = "This is a
test.";
+ const char *buf = "This is a
test.";
evas_object_textblock_text_markup_set(tb, buf);
/* Single line range */
@@ -1327,7 +1358,7 @@ END_TEST
START_TEST(evas_textblock_editing)
{
START_TB_TEST();
- const char *buf = "First par.Second par.";
+ const char *buf = "First par.Second par.";
evas_object_textblock_text_markup_set(tb, buf);
Evas_Textblock_Cursor *main_cur = evas_object_textblock_cursor_get(tb);
@@ -1346,7 +1377,7 @@ START_TEST(evas_textblock_editing)
evas_textblock_cursor_paragraph_first(cur);
evas_textblock_cursor_char_delete(cur);
fail_if(strcmp(evas_object_textblock_text_markup_get(tb),
- "irst par.Second par."));
+ "irst par.Second par."));
/* Delete some arbitrary char */
evas_textblock_cursor_char_next(cur);
@@ -1354,14 +1385,14 @@ START_TEST(evas_textblock_editing)
evas_textblock_cursor_char_next(cur);
evas_textblock_cursor_char_delete(cur);
fail_if(strcmp(evas_object_textblock_text_markup_get(tb),
- "irs par.Second par."));
+ "irs par.Second par."));
/* Delete a range */
evas_textblock_cursor_pos_set(main_cur, 1);
evas_textblock_cursor_pos_set(cur, 6);
evas_textblock_cursor_range_delete(cur, main_cur);
fail_if(strcmp(evas_object_textblock_text_markup_get(tb),
- "ir.Second par."));
+ "ir.Second par."));
evas_textblock_cursor_paragraph_char_first(main_cur);
evas_textblock_cursor_paragraph_char_last(cur);
evas_textblock_cursor_char_next(cur);
@@ -1376,7 +1407,7 @@ START_TEST(evas_textblock_editing)
evas_textblock_cursor_paragraph_char_first(main_cur);
evas_textblock_cursor_range_delete(cur, main_cur);
fail_if(strcmp(evas_object_textblock_text_markup_get(tb),
- "First par."));
+ "First par."));
/* Merging paragraphs */
evas_object_textblock_text_markup_set(tb, buf);
@@ -1406,6 +1437,27 @@ START_TEST(evas_textblock_editing)
evas_textblock_cursor_paragraph_first(cur);
fail_if(evas_textblock_cursor_paragraph_next(cur));
+ /* Insert illegal characters inside the format. */
+ {
+ const char *content;
+ evas_object_textblock_text_markup_set(tb, "a\n");
+ evas_textblock_cursor_pos_set(cur, 1);
+ content = evas_textblock_cursor_content_get(cur);
+
+ evas_object_textblock_text_markup_set(tb, "a\t");
+ evas_textblock_cursor_pos_set(cur, 1);
+ content = evas_textblock_cursor_content_get(cur);
+
+ evas_object_textblock_text_markup_set(tb, "a\xEF\xBF\xBC");
+ evas_textblock_cursor_pos_set(cur, 1);
+ content = evas_textblock_cursor_content_get(cur);
+
+ evas_object_textblock_text_markup_set(tb, "a\xE2\x80\xA9");
+ evas_textblock_cursor_pos_set(cur, 1);
+ content = evas_textblock_cursor_content_get(cur);
+ (void) content;
+ }
+
/* FIXME: Also add text appending/prepending */
END_TB_TEST();
@@ -1416,13 +1468,13 @@ END_TEST
START_TEST(evas_textblock_text_getters)
{
START_TB_TEST();
- const char *buf = "This is a
test."
- "טקסט בעבריתand now in english.";
+ const char *buf = "This is a
test."
+ "טקסט בעבריתand now in english.";
evas_object_textblock_text_markup_set(tb, buf);
evas_textblock_cursor_paragraph_first(cur);
fail_if(strcmp(evas_textblock_cursor_paragraph_text_get(cur),
- "This is a
test."));
+ "This is a
test."));
evas_textblock_cursor_paragraph_next(cur);
fail_if(strcmp(evas_textblock_cursor_paragraph_text_get(cur),
@@ -1447,17 +1499,17 @@ START_TEST(evas_textblock_text_getters)
evas_textblock_cursor_pos_set(main_cur, 5);
evas_textblock_cursor_pos_set(cur, 14);
fail_if(strcmp(evas_textblock_cursor_range_text_get(main_cur, cur,
- EVAS_TEXTBLOCK_TEXT_MARKUP), "is a
te"));
+ EVAS_TEXTBLOCK_TEXT_MARKUP), "is a
te"));
evas_textblock_cursor_pos_set(main_cur, 14);
evas_textblock_cursor_pos_set(cur, 20);
fail_if(strcmp(evas_textblock_cursor_range_text_get(main_cur, cur,
- EVAS_TEXTBLOCK_TEXT_MARKUP), "st.טק"));
+ EVAS_TEXTBLOCK_TEXT_MARKUP), "st.טק"));
evas_textblock_cursor_pos_set(main_cur, 14);
evas_textblock_cursor_pos_set(cur, 32);
fail_if(strcmp(evas_textblock_cursor_range_text_get(main_cur, cur,
- EVAS_TEXTBLOCK_TEXT_MARKUP), "st.טקסט בעבריתan"));
+ EVAS_TEXTBLOCK_TEXT_MARKUP), "st.טקסט בעבריתan"));
/* Backward range get */
evas_textblock_cursor_pos_set(main_cur, 2);
@@ -1473,17 +1525,17 @@ START_TEST(evas_textblock_text_getters)
evas_textblock_cursor_pos_set(main_cur, 5);
evas_textblock_cursor_pos_set(cur, 14);
fail_if(strcmp(evas_textblock_cursor_range_text_get(cur, main_cur,
- EVAS_TEXTBLOCK_TEXT_MARKUP), "is a
te"));
+ EVAS_TEXTBLOCK_TEXT_MARKUP), "is a
te"));
evas_textblock_cursor_pos_set(main_cur, 14);
evas_textblock_cursor_pos_set(cur, 20);
fail_if(strcmp(evas_textblock_cursor_range_text_get(cur, main_cur,
- EVAS_TEXTBLOCK_TEXT_MARKUP), "st.טק"));
+ EVAS_TEXTBLOCK_TEXT_MARKUP), "st.טק"));
evas_textblock_cursor_pos_set(main_cur, 14);
evas_textblock_cursor_pos_set(cur, 32);
fail_if(strcmp(evas_textblock_cursor_range_text_get(cur, main_cur,
- EVAS_TEXTBLOCK_TEXT_MARKUP), "st.טקסט בעבריתan"));
+ EVAS_TEXTBLOCK_TEXT_MARKUP), "st.טקסט בעבריתan"));
/* Uninit cursors and other weird cases */
evas_object_textblock_clear(tb);
@@ -1492,6 +1544,97 @@ START_TEST(evas_textblock_text_getters)
fail_if(strcmp(evas_textblock_cursor_range_text_get(cur, main_cur,
EVAS_TEXTBLOCK_TEXT_MARKUP), "aaa"));
+ /* Markup to plain and vice versa */
+ {
+ char *tmp, *tmp2;
+
+ /* Real textblock object */
+ tmp = evas_textblock_text_markup_to_utf8(tb, "
aa<\n/>bb<\t/>");
+ fail_if(strcmp(tmp, "\naa\nbb\t"));
+ tmp2 = evas_textblock_text_utf8_to_markup(tb, tmp);
+ fail_if(strcmp(tmp2, "
aa
bb"));
+ free(tmp2);
+ free(tmp);
+
+ tmp = evas_textblock_text_markup_to_utf8(tb, "a ");
+ fail_if(strcmp(tmp, "a\xEF\xBF\xBC"));
+ tmp2 = evas_textblock_text_utf8_to_markup(tb, tmp);
+ fail_if(strcmp(tmp2, "a"));
+ free(tmp2);
+ free(tmp);
+
+ tmp = evas_textblock_text_markup_to_utf8(tb, "a ");
+ fail_if(strcmp(tmp, "a\xC2\xA0"));
+ tmp2 = evas_textblock_text_utf8_to_markup(tb, tmp);
+ fail_if(strcmp(tmp2, "a\xC2\xA0"));
+ free(tmp2);
+ free(tmp);
+
+ tmp = evas_textblock_text_markup_to_utf8(tb, "ab>a");
+ fail_if(strcmp(tmp, "aba"));
+ tmp2 = evas_textblock_text_utf8_to_markup(tb, tmp);
+ fail_if(strcmp(tmp2, "aba"));
+ free(tmp2);
+ free(tmp);
+
+ tmp = evas_textblock_text_markup_to_utf8(tb, "a&a");
+ fail_if(strcmp(tmp, "a&a"));
+ tmp2 = evas_textblock_text_utf8_to_markup(tb, tmp);
+ fail_if(strcmp(tmp2, "a&a"));
+ free(tmp2);
+ free(tmp);
+
+ tmp = evas_textblock_text_markup_to_utf8(tb, "aa");
+ fail_if(strcmp(tmp, "a\na"));
+ tmp2 = evas_textblock_text_utf8_to_markup(tb, tmp);
+ fail_if(strcmp(tmp2, "a
a"));
+ free(tmp2);
+ free(tmp);
+
+ /* NULL textblock object */
+ tmp = evas_textblock_text_markup_to_utf8(NULL, "
aa<\n/>bb<\t/>");
+ fail_if(strcmp(tmp, "\naa\nbb\t"));
+ tmp2 = evas_textblock_text_utf8_to_markup(NULL, tmp);
+ fail_if(strcmp(tmp2, "
aa
bb"));
+ free(tmp2);
+ free(tmp);
+
+ tmp = evas_textblock_text_markup_to_utf8(NULL, "a ");
+ fail_if(strcmp(tmp, "a\xEF\xBF\xBC"));
+ tmp2 = evas_textblock_text_utf8_to_markup(NULL, tmp);
+ fail_if(strcmp(tmp2, "a"));
+ free(tmp2);
+ free(tmp);
+
+ tmp = evas_textblock_text_markup_to_utf8(NULL, "a ");
+ fail_if(strcmp(tmp, "a\xC2\xA0"));
+ tmp2 = evas_textblock_text_utf8_to_markup(NULL, tmp);
+ fail_if(strcmp(tmp2, "a\xC2\xA0"));
+ free(tmp2);
+ free(tmp);
+
+ tmp = evas_textblock_text_markup_to_utf8(NULL, "ab>a");
+ fail_if(strcmp(tmp, "aba"));
+ tmp2 = evas_textblock_text_utf8_to_markup(NULL, tmp);
+ fail_if(strcmp(tmp2, "aba"));
+ free(tmp2);
+ free(tmp);
+
+ tmp = evas_textblock_text_markup_to_utf8(tb, "a&a");
+ fail_if(strcmp(tmp, "a&a"));
+ tmp2 = evas_textblock_text_utf8_to_markup(tb, tmp);
+ fail_if(strcmp(tmp2, "a&a"));
+ free(tmp2);
+ free(tmp);
+
+ tmp = evas_textblock_text_markup_to_utf8(NULL, "aa");
+ fail_if(strcmp(tmp, "aa"));
+ tmp2 = evas_textblock_text_utf8_to_markup(NULL, tmp);
+ fail_if(strcmp(tmp2, "aa"));
+ free(tmp2);
+ free(tmp);
+ }
+
END_TB_TEST();
}
END_TEST
@@ -1500,7 +1643,7 @@ END_TEST
START_TEST(evas_textblock_formats)
{
START_TB_TEST();
- const char *buf = "This is> a
test- >.";
+ const char *buf = "This is> a
test- >.";
const Evas_Object_Textblock_Node_Format *fnode;
evas_object_textblock_text_markup_set(tb, buf);
@@ -1652,25 +1795,25 @@ START_TEST(evas_textblock_formats)
* verify them visually, well, we can some of them. Possibly in the
* future we will */
evas_object_textblock_text_markup_set(tb,
- "font_size=40>"
- "color=#F210B3FF>"
- "underline=single underline_color=#A2B3C4>"
- "underline=double underline_color=#F00 underline2_color=#00F>"
- "underline=dashed underline_dash_color=#0F0 underline_dash_width=2 underline_dash_gap=1>"
- "