evas/font: fixing tests
authorYakov Goldberg <yakov.g@samsung.com>
Thu, 4 Apr 2013 11:26:52 +0000 (14:26 +0300)
committerYakov Goldberg <yakov.g@samsung.com>
Thu, 4 Apr 2013 11:35:30 +0000 (14:35 +0300)
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
src/tests/evas/evas_test_text.c

index 9db4fcf..939ba1d 100644 (file)
@@ -118,7 +118,7 @@ START_TEST(evas_text_geometries)
         px = x;
         /* Get back the coords */
         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. */
         fail_if((i + 1) != evas_object_text_char_coords_get(to, x + ((3 * w) / 4),
                  y + (h / 2), &x, &y, &w, &h));
@@ -457,7 +457,7 @@ START_TEST(evas_text_bidi)
         fail_if(x <= px);
         px = x;
         /* 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));
      }