[pango/glyph-extents-fixes: 5/5] Revert "Disable failing line height tests"




commit c9f54b822e53c7be83d103d9e5676750ee42255f
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Oct 30 13:00:51 2021 -0400

    Revert "Disable failing line height tests"
    
    This reverts commit 7a4af7a052e7e4187955aad9c4c60853bad806f9.

 tests/testmisc.c | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/tests/testmisc.c b/tests/testmisc.c
index 5fb696f8..2e14f11e 100644
--- a/tests/testmisc.c
+++ b/tests/testmisc.c
@@ -125,9 +125,6 @@ test_line_height (void)
   g_object_unref (context);
 }
 
-#if 0
-/* These tests fail since I had to revert 20ec670e124e446107
- */
 static void
 test_line_height2 (void)
 {
@@ -255,7 +252,6 @@ test_cursor_height2 (void)
   g_object_unref (layout);
   g_object_unref (context);
 }
-#endif
 
 static void
 test_attr_list_update (void)
@@ -713,11 +709,11 @@ main (int argc, char *argv[])
   g_test_add_func ("/layout/short-string-crash", test_short_string_crash);
   g_test_add_func ("/language/emoji-crash", test_language_emoji_crash);
   g_test_add_func ("/layout/line-height", test_line_height);
-  //g_test_add_func ("/layout/line-height2", test_line_height2);
-  //g_test_add_func ("/layout/line-height3", test_line_height3);
-  //g_test_add_func ("/layout/run-height", test_run_height);
-  //g_test_add_func ("/layout/cursor-height", test_cursor_height);
-  //g_test_add_func ("/layout/cursor-height2", test_cursor_height2);
+  g_test_add_func ("/layout/line-height2", test_line_height2);
+  g_test_add_func ("/layout/line-height3", test_line_height3);
+  g_test_add_func ("/layout/run-height", test_run_height);
+  g_test_add_func ("/layout/cursor-height", test_cursor_height);
+  g_test_add_func ("/layout/cursor-height2", test_cursor_height2);
   g_test_add_func ("/attr-list/update", test_attr_list_update);
   g_test_add_func ("/misc/version-info", test_version_info);
   g_test_add_func ("/misc/is-zerowidth", test_is_zero_width);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]