summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/edbus/edbus_test_edbus_init.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/tests/edbus/edbus_test_edbus_init.c b/src/tests/edbus/edbus_test_edbus_init.c
index 2971892019..fdf7ba629b 100644
--- a/src/tests/edbus/edbus_test_edbus_init.c
+++ b/src/tests/edbus/edbus_test_edbus_init.c
@@ -52,6 +52,13 @@ START_TEST(edbus_test_edbus_main_loop)
52} 52}
53END_TEST 53END_TEST
54 54
55#if 0
56/* TODO: This test assumes an existing dbus-daemon running. It
57 * shouldn't do this, instead we should launch dbus-daemon ourselves
58 * and create our private instance, use it and then kill it
59 * afterwards.
60 */
61
55START_TEST(edbus_test_edbus_conn) 62START_TEST(edbus_test_edbus_conn)
56{ 63{
57 EDBus_Connection *conn; 64 EDBus_Connection *conn;
@@ -109,12 +116,14 @@ START_TEST(edbus_test_edbus_conn_object)
109 116
110} 117}
111END_TEST 118END_TEST
112 119#endif
113 120
114void edbus_test_edbus_init(TCase *tc) 121void edbus_test_edbus_init(TCase *tc)
115{ 122{
116 tcase_add_test(tc, edbus_test_edbus); 123 tcase_add_test(tc, edbus_test_edbus);
117 tcase_add_test(tc, edbus_test_edbus_main_loop); 124 tcase_add_test(tc, edbus_test_edbus_main_loop);
125#if 0
118 tcase_add_test(tc, edbus_test_edbus_conn); 126 tcase_add_test(tc, edbus_test_edbus_conn);
119 tcase_add_test(tc, edbus_test_edbus_conn_object); 127 tcase_add_test(tc, edbus_test_edbus_conn_object);
128#endif
120} 129}