aboutsummaryrefslogtreecommitdiff
path: root/tests/test-actions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-actions.cpp')
-rw-r--r--tests/test-actions.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/test-actions.cpp b/tests/test-actions.cpp
index 7899d15..0586bcc 100644
--- a/tests/test-actions.cpp
+++ b/tests/test-actions.cpp
@@ -157,10 +157,13 @@ TEST_F(ActionsFixture, ActionsExist)
"desktop.open-alarm-app",
"desktop.open-calendar-app",
"desktop.open-settings-app",
+#ifdef HAS_URLDISPATCHER
"phone.open-appointment",
"phone.open-alarm-app",
"phone.open-calendar-app",
- "phone.open-settings-app" };
+ "phone.open-settings-app"
+#endif
+ };
for(const auto& name: names)
{
@@ -200,6 +203,7 @@ TEST_F(ActionsFixture, DesktopOpenSettingsApp)
****
***/
+#ifdef HAS_URLDISPATCHER
TEST_F(ActionsFixture, PhoneOpenAlarmApp)
{
test_action_with_no_args("phone.open-alarm-app",
@@ -223,6 +227,7 @@ TEST_F(ActionsFixture, PhoneOpenSettingsApp)
test_action_with_no_args("phone.open-settings-app",
MockActions::PhoneOpenSettingsApp);
}
+#endif
/***
****