diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-12-08 10:40:44 +0000 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-12-08 10:40:44 +0000 |
commit | f54505942ce2dcc73fcbad79d4f5cdce991bf8cb (patch) | |
tree | 9aab8e9b612adfff946a93365cd0d2fea9aeb74c /tests/test-exporter.cpp | |
parent | 4a6ec712275b179decd1844232dce44bc9f9dc19 (diff) | |
download | ayatana-indicator-datetime-f54505942ce2dcc73fcbad79d4f5cdce991bf8cb.tar.gz ayatana-indicator-datetime-f54505942ce2dcc73fcbad79d4f5cdce991bf8cb.tar.bz2 ayatana-indicator-datetime-f54505942ce2dcc73fcbad79d4f5cdce991bf8cb.zip |
Make the datetime indicator build on non-Ubuntu systems (which mostly lack url-dispatcher and Ubuntu Touch sound schema files.
Diffstat (limited to 'tests/test-exporter.cpp')
-rw-r--r-- | tests/test-exporter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-exporter.cpp b/tests/test-exporter.cpp index bc8c70a..04c8445 100644 --- a/tests/test-exporter.cpp +++ b/tests/test-exporter.cpp @@ -111,15 +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 |