aboutsummaryrefslogtreecommitdiff
path: root/tests/timedated-fixture.h
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-28 10:36:02 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-28 10:36:02 +0000
commit929c53ab323d17aebae6278228c7a31353a3589e (patch)
tree5ebf1eb4099c8c8b807019520022fd923c0f4494 /tests/timedated-fixture.h
parent3b05bdde4416d19bebcbfc583719d692187dca6b (diff)
downloadayatana-indicator-datetime-929c53ab323d17aebae6278228c7a31353a3589e.tar.gz
ayatana-indicator-datetime-929c53ab323d17aebae6278228c7a31353a3589e.tar.bz2
ayatana-indicator-datetime-929c53ab323d17aebae6278228c7a31353a3589e.zip
URL dispatcher on non-Ubuntu: Fake it as best as possible, so that the unit tests are happy and succeed.
Diffstat (limited to 'tests/timedated-fixture.h')
-rw-r--r--tests/timedated-fixture.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/timedated-fixture.h b/tests/timedated-fixture.h
index 07b3d9f..00269e0 100644
--- a/tests/timedated-fixture.h
+++ b/tests/timedated-fixture.h
@@ -36,9 +36,7 @@ public:
~MockLiveActions() {}
protected:
-#ifdef HAS_URLDISPATCHER
void dispatch_url(const std::string& url) override { last_url = url; }
-#endif
void execute_command(const std::string& cmd) override { last_cmd = cmd; }
};