gpointing-device-settings r184 - trunk/test
- From: hiikezoe svn gnome org
- To: svn-commits-list gnome org
- Subject: gpointing-device-settings r184 - trunk/test
- Date: Mon, 9 Mar 2009 03:23:30 +0000 (UTC)
Author: hiikezoe
Date: Mon Mar 9 03:23:30 2009
New Revision: 184
URL: http://svn.gnome.org/viewvc/gpointing-device-settings?rev=184&view=rev
Log:
added gpds_ui_get_device_name() test.
Modified:
trunk/test/test-ui.c
Modified: trunk/test/test-ui.c
==============================================================================
--- trunk/test/test-ui.c (original)
+++ trunk/test/test-ui.c Mon Mar 9 03:23:30 2009
@@ -4,6 +4,7 @@
void test_names (void);
void test_new (void);
+void test_device_name (void);
void test_is_available (void);
void test_build (void);
@@ -66,6 +67,14 @@
}
void
+test_device_name (void)
+{
+ cut_trace(test_new());
+
+ cut_assert_equal_string("touchpad", gpds_ui_get_device_name(ui));
+}
+
+void
test_is_available (void)
{
gboolean available;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]