aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test-service.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-service.cc b/tests/test-service.cc
index cd57c8b..2f82bb3 100644
--- a/tests/test-service.cc
+++ b/tests/test-service.cc
@@ -105,6 +105,7 @@ TEST_F (ClientTest, TestCanStartService)
// call GetUserRealName(), which as a side effect should activate
// indicator-session-service via the .service file in the tests/ directory
error = NULL;
+g_message ("calling g_dbus_connection_call_sync");
result = g_dbus_connection_call_sync (session_bus,
INDICATOR_SESSION_DBUS_NAME,
INDICATOR_SESSION_SERVICE_DBUS_OBJECT,
@@ -116,6 +117,7 @@ TEST_F (ClientTest, TestCanStartService)
-1,
NULL,
&error);
+g_message ("done calling g_dbus_connection_call_sync");
EXPECT_TRUE (error == NULL);
ASSERT_TRUE (result != NULL);
@@ -132,6 +134,7 @@ TEST_F (ClientTest, TestCanStartService)
g_clear_pointer (&result, g_variant_unref);
// call IndicatorService's Shutdown() method for a clean exit
+g_message ("calling g_dbus_connection_call_sync");
result = g_dbus_connection_call_sync (session_bus,
INDICATOR_SESSION_DBUS_NAME,
"/org/ayatana/indicator/service",
@@ -140,5 +143,6 @@ TEST_F (ClientTest, TestCanStartService)
NULL,
G_DBUS_CALL_FLAGS_NONE,
-1, NULL, NULL);
+g_message ("calling g_clear_pointer");
g_clear_pointer (&result, g_variant_unref);
}