[Galago-commits] r2652 - in trunk/libgalago: . tests
galago-commits at freedesktop.org
galago-commits at freedesktop.org
Sun Apr 2 15:54:40 PDT 2006
Author: chipx86
Date: 2006-04-02 15:54:35 -0700 (Sun, 02 Apr 2006)
New Revision: 2652
Modified:
trunk/libgalago/ChangeLog
trunk/libgalago/tests/check-libgalago.c
Log:
Added a unit test case for bug #36.
Modified: trunk/libgalago/ChangeLog
===================================================================
--- trunk/libgalago/ChangeLog 2006-04-02 20:59:32 UTC (rev 2651)
+++ trunk/libgalago/ChangeLog 2006-04-02 22:54:35 UTC (rev 2652)
@@ -1,3 +1,8 @@
+Sun Apr 02 15:53:18 PDT 2006 Christian Hammond <chipx86 at chipx86.com>
+
+ * tests/check-libgalago.c:
+ - Added a unit test case for bug #36.
+
Sun Apr 02 13:59:03 PDT 2006 Christian Hammond <chipx86 at chipx86.com>
* autogen.sh:
Modified: trunk/libgalago/tests/check-libgalago.c
===================================================================
--- trunk/libgalago/tests/check-libgalago.c 2006-04-02 20:59:32 UTC (rev 2651)
+++ trunk/libgalago/tests/check-libgalago.c 2006-04-02 22:54:35 UTC (rev 2652)
@@ -84,7 +84,24 @@
}
END_TEST
+/*
+ * Ticket #36: Uninitting and re-initting after a GalagoService was
+ * created causes D-BUS issues
+ */
+START_TEST(test_init_reinit_with_service)
+{
+ fail_unless(galago_init("check-libgalago", TRUE),
+ "Unable to initialize libgalago");
+ make_dummy_service();
+ galago_uninit();
+ fail_unless(galago_init("check-libgalago", TRUE),
+ "Unable to re-initialize libgalago");
+ galago_uninit();
+}
+END_TEST
+
+
/**************************************************************************
* Test object creation
**************************************************************************/
@@ -363,6 +380,7 @@
/* libgalago tests */
ADD_TCASE("init_reinit", test_init_reinit);
+ ADD_TCASE("init_reinit_with_service", test_init_reinit_with_service);
/* Test object creation */
ADD_TCASE("create_person", test_create_person);
More information about the galago-commits
mailing list