gpointing-device-settings r297 - trunk/test



Author: hiikezoe
Date: Mon Mar 30 03:05:06 2009
New Revision: 297
URL: http://svn.gnome.org/viewvc/gpointing-device-settings?rev=297&view=rev

Log:
fix wheel scrolling test.

Modified:
   trunk/test/test-ui-widget.c

Modified: trunk/test/test-ui-widget.c
==============================================================================
--- trunk/test/test-ui-widget.c	(original)
+++ trunk/test/test-ui-widget.c	Mon Mar 30 03:05:06 2009
@@ -417,8 +417,8 @@
 _assert_equal_wheel_vertical_axis (gboolean enable)
 {
     if (enable) {
-        cut_assert_equal_int(6, values[0]);
-        cut_assert_equal_int(7, values[1]);
+        cut_assert_equal_int(4, values[2]);
+        cut_assert_equal_int(5, values[3]);
     }
 }
 
@@ -426,8 +426,8 @@
 _assert_equal_wheel_horizontal_axis (gboolean enable)
 {
     if (enable) {
-        cut_assert_equal_int(4, values[2]);
-        cut_assert_equal_int(5, values[3]);
+        cut_assert_equal_int(6, values[0]);
+        cut_assert_equal_int(7, values[1]);
     }
 }
 



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