[gtk+] testsuite: Fix gesture test inconsistencies due to legacy event handling



commit ff31bdd334a55c33612f60b0a13ba74c8550dfb6
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Oct 12 14:22:04 2017 +0200

    testsuite: Fix gesture test inconsistencies due to legacy event handling
    
    Legacy GtkWidget vmethods are now handled on an event controller, which
    due to being the very first controller added to every widget, runs in
    a different order than the previously hardcoded.
    
    Probably testing legacy events is not really futurible, specially after
    we stop installing this legacy controller by default. I'll leave the
    choice to remove these specific tests for later though.

 testsuite/gtk/gestures.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/testsuite/gtk/gestures.c b/testsuite/gtk/gestures.c
index d32fcf0..4cfe588 100644
--- a/testsuite/gtk/gestures.c
+++ b/testsuite/gtk/gestures.c
@@ -474,12 +474,12 @@ test_mixed (void)
                    "capture b1, "
                    "capture c1, "
                    "target c2, "
-                   "legacy C, "
                    "bubble c3, "
-                   "legacy B, "
+                   "legacy C, "
                    "bubble b3, "
-                   "legacy A, "
-                   "bubble a3");
+                   "legacy B, "
+                   "bubble a3, "
+                   "legacy A");
 
   g_string_free (str, TRUE);
 
@@ -531,8 +531,9 @@ test_early_exit (void)
                    "capture b1, "
                    "capture c1, "
                    "target c2, "
-                   "legacy C, "
                    "bubble c3, "
+                   "legacy C, "
+                   "bubble b3, "
                    "legacy B");
 
   g_string_free (str, TRUE);


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