diff options
author | Richard Hughes <richard@hughsie.com> | 2010-06-05 17:00:34 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2010-06-05 17:00:34 +0100 |
commit | 6ba86292e9e86601365c23a8f7f89f05a43ccd33 (patch) | |
tree | 5d5e16e197415a043ad21f6c98eafc84ea52aa5b /src/up-history.c | |
parent | 82a6a882d03c145625edbe23dade65bc14f85e73 (diff) | |
download | upower-6ba86292e9e86601365c23a8f7f89f05a43ccd33.tar.gz |
Port to GTest
Diffstat (limited to 'src/up-history.c')
-rw-r--r-- | src/up-history.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/up-history.c b/src/up-history.c index 762495d..ef8e542 100644 --- a/src/up-history.c +++ b/src/up-history.c @@ -888,30 +888,3 @@ up_history_new (void) return UP_HISTORY (history); } -/*************************************************************************** - *** MAKE CHECK TESTS *** - ***************************************************************************/ -#ifdef EGG_TEST -#include "egg-test.h" - -void -up_history_test (gpointer user_data) -{ - EggTest *test = (EggTest *) user_data; - UpHistory *history; - - if (!egg_test_start (test, "UpHistory")) - return; - - /************************************************************/ - egg_test_title (test, "get instance"); - history = up_history_new (); - egg_test_assert (test, history != NULL); - - /* unref */ - g_object_unref (history); - - egg_test_end (test); -} -#endif - |