From 642c5d77b0d2fb42a6c9205e50592624542a813f Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 28 Oct 2014 18:10:50 -0500 Subject: Connect to binary and real name --- tests/CMakeLists.txt | 3 +++ tests/indicator-test.cc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 1eec3fd..58ecd3a 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -185,6 +185,9 @@ add_test(greeter-list-test-iterator # Indicator Test ########################### +add_definitions( + -DINDICATOR_SOUND_SERVICE_BINARY="${CMAKE_BINARY_DIR}/src/indicator-sound-service" +) add_executable (indicator-test indicator-test.cc) target_link_libraries ( indicator-test diff --git a/tests/indicator-test.cc b/tests/indicator-test.cc index 52b131d..9ebb121 100644 --- a/tests/indicator-test.cc +++ b/tests/indicator-test.cc @@ -26,7 +26,7 @@ class IndicatorTest : public IndicatorFixture { protected: IndicatorTest (void) : - IndicatorFixture("/test", "com.test") + IndicatorFixture(INDICATOR_SOUND_SERVICE_BINARY, "com.canonical.indicator.sound") { } -- cgit v1.2.3