[gtk+] testsuite: Update gestures test to pointer emulation removal



commit 40a2b91a6c3e6cf966c748ad62fa5d397c7c7ad0
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Oct 12 14:25:53 2017 +0200

    testsuite: Update gestures test to pointer emulation removal
    
    Now all widgets are mandated to handle the real thing, which means no
    pointer events are emulated for the pointer emulating touch. The output
    of these tests relied on this fact, so update to the tests handling real
    touch events.

 testsuite/gtk/gestures.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/testsuite/gtk/gestures.c b/testsuite/gtk/gestures.c
index 4cfe588..791bb02 100644
--- a/testsuite/gtk/gestures.c
+++ b/testsuite/gtk/gestures.c
@@ -1071,7 +1071,7 @@ test_multitouch_activation (void)
   g_assert_cmpstr (str->str, ==,
                    "c1 began, "
                    "c1 state claimed (2), "
-                   "c1 state claimed");
+                   "c1 state claimed (1)");
 
   /* First touch up */
   g_string_erase (str, 0, str->len);
@@ -1156,7 +1156,7 @@ test_multitouch_interaction (void)
   g_assert_cmpstr (str->str, ==,
                    "a1 state denied (2), "
                    "c1 began, "
-                   "c1 state claimed, "
+                   "c1 state claimed (1), "
                    "c1 state claimed (2), "
                    "a1 state denied (1)");
 


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