forked from enlightenment/efl
evas/font: fixing tests
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
This commit is contained in:
parent
af13c1f60f
commit
fb7994e0d9
|
@ -118,7 +118,7 @@ START_TEST(evas_text_geometries)
|
||||||
px = x;
|
px = x;
|
||||||
/* Get back the coords */
|
/* Get back the coords */
|
||||||
fail_if(i != evas_object_text_char_coords_get(to, x + (w / 4),
|
fail_if(i != evas_object_text_char_coords_get(to, x + (w / 4),
|
||||||
y + (h / 2), &x, &y, &w, &h));
|
y + (h / 2), NULL, NULL, NULL, NULL));
|
||||||
/* Get back cursor position, if click on right half of char. */
|
/* Get back cursor position, if click on right half of char. */
|
||||||
fail_if((i + 1) != evas_object_text_char_coords_get(to, x + ((3 * w) / 4),
|
fail_if((i + 1) != evas_object_text_char_coords_get(to, x + ((3 * w) / 4),
|
||||||
y + (h / 2), &x, &y, &w, &h));
|
y + (h / 2), &x, &y, &w, &h));
|
||||||
|
@ -457,7 +457,7 @@ START_TEST(evas_text_bidi)
|
||||||
fail_if(x <= px);
|
fail_if(x <= px);
|
||||||
px = x;
|
px = x;
|
||||||
/* Get back the coords */
|
/* Get back the coords */
|
||||||
fail_if(i != evas_object_text_char_coords_get(to, x + (w / 2),
|
fail_if(i != evas_object_text_char_coords_get(to, x + (w / 4),
|
||||||
y + (h / 2), &x, &y, &w, &h));
|
y + (h / 2), &x, &y, &w, &h));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue