summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-30 19:09:12 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-30 19:09:12 +0200
commit6883087ac7dac530062b24b5ea918904589a89c2 (patch)
tree2cf7d27776a5dfe4833812391b8b5b1efe3ae584 /src/tests
parent29d24aa409371bd0252b34eb54b1adcb256ca2a1 (diff)
Revert "evas_object_textblock: add support for variation sequences"
This reverts commit f7ce771e3243e19f8a12672ea2be752dedccbcf6.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/evas/evas_test_textblock.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/tests/evas/evas_test_textblock.c b/src/tests/evas/evas_test_textblock.c
index f826a481c7..dc3f22d136 100644
--- a/src/tests/evas/evas_test_textblock.c
+++ b/src/tests/evas/evas_test_textblock.c
@@ -1,6 +1,6 @@
1/* 1/*
2 * TODO: 2 * TODO:
3 * * Test different font loading mechanisms. 3 * * Test different font lodaing mechanisms.
4 */ 4 */
5 5
6#ifdef HAVE_CONFIG_H 6#ifdef HAVE_CONFIG_H
@@ -4129,22 +4129,6 @@ EFL_START_TEST(evas_textblock_obstacle)
4129} 4129}
4130EFL_END_TEST; 4130EFL_END_TEST;
4131 4131
4132EFL_START_TEST(evas_textblock_variation_sequence)
4133{
4134 START_TB_TEST();
4135 const char *str1 = "8&#xfe0f;&#x1f603;&#xfe0f;";
4136 const char *str2 = "8&#xfe0e;&#x1f603;&#xfe0e;";
4137 Evas_Coord fw, fh,fw_new, fh_new;
4138 evas_object_textblock_text_markup_set(tb, str1);
4139 evas_object_textblock_size_formatted_get(tb, &fw, &fh);
4140 evas_object_textblock_text_markup_set(tb, str2);
4141 evas_object_textblock_size_formatted_get(tb, &fw_new, &fh_new);
4142 fail_if(fw_new == fw && fh_new == fh);
4143
4144 END_TB_TEST();
4145}
4146EFL_END_TEST;
4147
4148#ifdef HAVE_HYPHEN 4132#ifdef HAVE_HYPHEN
4149static void 4133static void
4150_hyphenation_width_stress(Evas_Object *tb, Evas_Textblock_Cursor *cur) 4134_hyphenation_width_stress(Evas_Object *tb, Evas_Textblock_Cursor *cur)
@@ -4693,7 +4677,6 @@ void evas_test_textblock(TCase *tc)
4693 tcase_add_test(tc, evas_textblock_items); 4677 tcase_add_test(tc, evas_textblock_items);
4694 tcase_add_test(tc, evas_textblock_delete); 4678 tcase_add_test(tc, evas_textblock_delete);
4695 tcase_add_test(tc, evas_textblock_obstacle); 4679 tcase_add_test(tc, evas_textblock_obstacle);
4696 tcase_add_test(tc, evas_textblock_variation_sequence);
4697#ifdef HAVE_HYPHEN 4680#ifdef HAVE_HYPHEN
4698 tcase_add_test(tc, evas_textblock_hyphenation); 4681 tcase_add_test(tc, evas_textblock_hyphenation);
4699#endif 4682#endif