aboutsummaryrefslogtreecommitdiff
path: root/tests/test-exporter.cpp
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-26 19:55:23 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-26 19:55:23 +0000
commitb39526c27c44302c34fce26163919a0c4c7aecd3 (patch)
treebe0d3759a081f90b73aa90e0cf1b5a2a6a9783f3 /tests/test-exporter.cpp
parent8dbc66cab4eadfdde3809340d03c4cc10b2032eb (diff)
downloadayatana-indicator-datetime-b39526c27c44302c34fce26163919a0c4c7aecd3.tar.gz
ayatana-indicator-datetime-b39526c27c44302c34fce26163919a0c4c7aecd3.tar.bz2
ayatana-indicator-datetime-b39526c27c44302c34fce26163919a0c4c7aecd3.zip
URL dispatcher support: Build phone code, even if URL dispatcher is unavailable.
Diffstat (limited to 'tests/test-exporter.cpp')
-rw-r--r--tests/test-exporter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-exporter.cpp b/tests/test-exporter.cpp
index 04c8445..647d6ff 100644
--- a/tests/test-exporter.cpp
+++ b/tests/test-exporter.cpp
@@ -111,19 +111,19 @@ TEST_F(ExporterFixture, Publish)
EXPECT_EQ(1, names.count("desktop.open-appointment"));
EXPECT_EQ(1, names.count("desktop.open-calendar-app"));
EXPECT_EQ(1, names.count("desktop.open-settings-app"));
-#ifdef HAS_URLDISPATCHER
+
EXPECT_EQ(1, names.count("phone.open-alarm-app"));
EXPECT_EQ(1, names.count("phone.open-appointment"));
EXPECT_EQ(1, names.count("phone.open-calendar-app"));
EXPECT_EQ(1, names.count("phone.open-settings-app"));
-#endif
+
EXPECT_EQ(1, names.count("calendar"));
EXPECT_EQ(1, names.count("desktop_greeter-header"));
EXPECT_EQ(1, names.count("desktop-header"));
-#ifdef HAS_URLDISPATCHER
+
EXPECT_EQ(1, names.count("phone_greeter-header"));
EXPECT_EQ(1, names.count("phone-header"));
-#endif
+
EXPECT_EQ(1, names.count("set-location"));
// try closing the connection prematurely