[gpointing-device-settings] fix test.



commit 3bec621a0af1235579ccb2b72a018ef3841467cb
Author: Hiroyuki Ikezoe <poincare ikezoe net>
Date:   Tue Sep 29 12:59:40 2009 +0900

    fix test.
    
    num_buttons of Macintosh mouse button emulation became five.

 test/test-xinput-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/test/test-xinput-utils.c b/test/test-xinput-utils.c
index 268970f..29b3f4e 100644
--- a/test/test-xinput-utils.c
+++ b/test/test-xinput-utils.c
@@ -84,7 +84,7 @@ test_get_device_num_buttons (void)
     n_buttons = gpds_xinput_utils_get_device_num_buttons(DEVICE_NAME, &error);
     gcut_assert_error(error);
 
-    cut_assert_equal_int(32, n_buttons);
+    cut_assert_equal_int(5, n_buttons);
 }
 
 /*



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