gpointing-device-settings r14 - trunk/test
- From: hiikezoe svn gnome org
- To: svn-commits-list gnome org
- Subject: gpointing-device-settings r14 - trunk/test
- Date: Thu, 26 Feb 2009 07:27:53 +0000 (UTC)
Author: hiikezoe
Date: Thu Feb 26 07:27:53 2009
New Revision: 14
URL: http://svn.gnome.org/viewvc/gpointing-device-settings?rev=14&view=rev
Log:
assert_erro only if the device is available.
Modified:
trunk/test/test-ui.c
Modified: trunk/test/test-ui.c
==============================================================================
--- trunk/test/test-ui.c (original)
+++ trunk/test/test-ui.c Thu Feb 26 07:27:53 2009
@@ -63,10 +63,13 @@
void
test_is_available (void)
{
+ gboolean available;
+
cut_trace(test_new());
- gpds_ui_is_available(ui, &error);
- gcut_assert_error(error);
+ available = gpds_ui_is_available(ui, &error);
+ if (available)
+ gcut_assert_error(error);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]