forked from enlightenment/efl
Evas text: fixing test
Adding conditional dependence on freebidi Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
This commit is contained in:
parent
c226a11bfe
commit
ff1230f77a
|
@ -346,7 +346,11 @@ START_TEST(evas_text_set_get)
|
||||||
|
|
||||||
/* RTL paragraphs */
|
/* RTL paragraphs */
|
||||||
evas_object_text_text_set(to, "נסיון test");
|
evas_object_text_text_set(to, "נסיון test");
|
||||||
|
#ifdef HAVE_FRIBIDI
|
||||||
fail_if(evas_object_text_direction_get(to) != EVAS_BIDI_DIRECTION_RTL);
|
fail_if(evas_object_text_direction_get(to) != EVAS_BIDI_DIRECTION_RTL);
|
||||||
|
#else
|
||||||
|
fail_if(evas_object_text_direction_get(to) != EVAS_BIDI_DIRECTION_LTR);
|
||||||
|
#endif
|
||||||
|
|
||||||
END_TEXT_TEST();
|
END_TEXT_TEST();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue