From: Enlightenment S. <no-...@en...> - 2011-12-14 13:27:15
|
Log: Evas tests: Fix textblock text according to function change. Author: tasn Date: 2011-12-14 05:27:08 -0800 (Wed, 14 Dec 2011) New Revision: 66189 Trac: http://trac.enlightenment.org/e/changeset/66189 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-12-14 11:51:02 UTC (rev 66188) +++ trunk/evas/src/tests/evas_test_textblock.c 2011-12-14 13:27:08 UTC (rev 66189) @@ -1520,15 +1520,15 @@ /* Markup to plain */ { - char *tmp = evas_textblock_markup_to_plain(tb, "<br/>aa<\n/>bb<\t/>"); + char *tmp = evas_textblock_text_markup_to_utf8(tb, "<br/>aa<\n/>bb<\t/>"); fail_if(strcmp(tmp, "\naa\nbb\t")); free(tmp); - tmp = evas_textblock_markup_to_plain(tb, "a<item></item>"); + tmp = evas_textblock_text_markup_to_utf8(tb, "a<item></item>"); fail_if(strcmp(tmp, "a\xEF\xBF\xBC")); free(tmp); - tmp = evas_textblock_markup_to_plain(tb, "a "); + tmp = evas_textblock_text_markup_to_utf8(tb, "a "); fail_if(strcmp(tmp, "a\xC2\xA0")); free(tmp); } |