aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-11-04 16:47:35 -0600
committerTed Gould <ted@gould.cx>2014-11-04 16:47:35 -0600
commit83f9f8e86cf85e7141cfc952ebff10714dcfe870 (patch)
tree7032089eeb941cdad6461f1bba419b99e50efdcd
parent8df46f8e642e28a696f12953641f9cfaf1f739a7 (diff)
downloadayatana-indicator-sound-83f9f8e86cf85e7141cfc952ebff10714dcfe870.tar.gz
ayatana-indicator-sound-83f9f8e86cf85e7141cfc952ebff10714dcfe870.tar.bz2
ayatana-indicator-sound-83f9f8e86cf85e7141cfc952ebff10714dcfe870.zip
Clean up the output a little bit
-rw-r--r--tests/indicator-fixture.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/indicator-fixture.h b/tests/indicator-fixture.h
index 4f08ab5..2dcefa1 100644
--- a/tests/indicator-fixture.h
+++ b/tests/indicator-fixture.h
@@ -59,15 +59,20 @@ class IndicatorFixture : public ::testing::Test
_test_service = dbus_test_service_new(nullptr);
_test_indicator = DBUS_TEST_TASK(dbus_test_process_new(_indicatorPath.c_str()));
+ dbus_test_task_set_name(_test_indicator, "Indicator");
dbus_test_service_add_task(_test_service, _test_indicator);
_test_dummy = dbus_test_task_new();
dbus_test_task_set_wait_for(_test_dummy, _indicatorAddress.c_str());
+ dbus_test_task_set_name(_test_dummy, "Dummy");
dbus_test_service_add_task(_test_service, _test_dummy);
- DbusTestBustle * bustle = dbus_test_bustle_new("indicator-test.bustle");
- dbus_test_service_add_task(_test_service, DBUS_TEST_TASK(bustle));
- g_object_unref(bustle);
+ if (true) {
+ DbusTestBustle * bustle = dbus_test_bustle_new("indicator-test.bustle");
+ dbus_test_task_set_name(DBUS_TEST_TASK(bustle), "Bustle");
+ dbus_test_service_add_task(_test_service, DBUS_TEST_TASK(bustle));
+ g_object_unref(bustle);
+ }
dbus_test_service_start_tasks(_test_service);