summaryrefslogtreecommitdiff
path: root/src/up-wakeups.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2010-06-05 17:00:34 +0100
committerRichard Hughes <richard@hughsie.com>2010-06-05 17:00:34 +0100
commit6ba86292e9e86601365c23a8f7f89f05a43ccd33 (patch)
tree5d5e16e197415a043ad21f6c98eafc84ea52aa5b /src/up-wakeups.c
parent82a6a882d03c145625edbe23dade65bc14f85e73 (diff)
downloadupower-6ba86292e9e86601365c23a8f7f89f05a43ccd33.tar.gz
Port to GTest
Diffstat (limited to 'src/up-wakeups.c')
-rw-r--r--src/up-wakeups.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/up-wakeups.c b/src/up-wakeups.c
index 122c213..f6daa32 100644
--- a/src/up-wakeups.c
+++ b/src/up-wakeups.c
@@ -795,30 +795,3 @@ up_wakeups_new (void)
return UP_WAKEUPS (wakeups);
}
-/***************************************************************************
- *** MAKE CHECK TESTS ***
- ***************************************************************************/
-#ifdef EGG_TEST
-#include "egg-test.h"
-
-void
-up_wakeups_test (gpointer user_data)
-{
- EggTest *test = (EggTest *) user_data;
- UpWakeups *wakeups;
-
- if (!egg_test_start (test, "UpWakeups"))
- return;
-
- /************************************************************/
- egg_test_title (test, "get instance");
- wakeups = up_wakeups_new ();
- egg_test_assert (test, wakeups != NULL);
-
- /* unref */
- g_object_unref (wakeups);
-
- egg_test_end (test);
-}
-#endif
-