Evas tests: Make sure default bidi direction of empty texts is correct.

SVN revision: 61333
This commit is contained in:
Tom Hacohen 2011-07-13 11:36:34 +00:00
parent 69abe2e093
commit 3755bdac92
1 changed files with 4 additions and 0 deletions

View File

@ -276,6 +276,10 @@ START_TEST(evas_text_set_get)
evas_font_hinting_set(evas, EVAS_FONT_HINTING_AUTO);
evas_font_hinting_set(evas, EVAS_FONT_HINTING_BYTECODE);
/* Direction of an empty text should be NEUTRAL */
evas_object_text_text_set(to, "");
fail_if(evas_object_text_direction_get(to) != EVAS_BIDI_DIRECTION_NEUTRAL);
END_TEXT_TEST();
}
END_TEST