aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/evas/evas_test_text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/evas/evas_test_text.c')
-rw-r--r--src/tests/evas/evas_test_text.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tests/evas/evas_test_text.c b/src/tests/evas/evas_test_text.c
index 2d1b46bed..b94ff256e 100644
--- a/src/tests/evas/evas_test_text.c
+++ b/src/tests/evas/evas_test_text.c
@@ -280,6 +280,14 @@ START_TEST(evas_text_set_get)
evas_object_text_text_set(to, "");
fail_if(evas_object_text_direction_get(to) != EVAS_BIDI_DIRECTION_NEUTRAL);
+ /* LTR paragraphs */
+ evas_object_text_text_set(to, "Test נסיון");
+ fail_if(evas_object_text_direction_get(to) != EVAS_BIDI_DIRECTION_LTR);
+
+ /* RTL paragraphs */
+ evas_object_text_text_set(to, "נסיון test");
+ fail_if(evas_object_text_direction_get(to) != EVAS_BIDI_DIRECTION_RTL);
+
END_TEXT_TEST();
}
END_TEST