aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-22 10:01:20 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-01-22 10:01:20 -0600
commit2db8f6e7c4b7148377800400c72bb2e59b793d3a (patch)
tree2f5d1b1bfdd1f6886c74ac24fb0b1eeb7787cafd /tests
parent47ab9adad438b137b5e7e9b33ce503e184e019f8 (diff)
downloadayatana-indicator-datetime-2db8f6e7c4b7148377800400c72bb2e59b793d3a.tar.gz
ayatana-indicator-datetime-2db8f6e7c4b7148377800400c72bb2e59b793d3a.tar.bz2
ayatana-indicator-datetime-2db8f6e7c4b7148377800400c72bb2e59b793d3a.zip
remove the State.timezones property. Timezones is a helper class for LiveClock and doesn't need to be public in State.
Diffstat (limited to 'tests')
-rw-r--r--tests/state-mock.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/state-mock.h b/tests/state-mock.h
index 2104aa0..f2e58e6 100644
--- a/tests/state-mock.h
+++ b/tests/state-mock.h
@@ -18,10 +18,8 @@
*/
#include <datetime/clock-mock.h>
-#include <datetime/locations.h>
#include <datetime/planner-mock.h>
#include <datetime/state.h>
-#include <datetime/timezones.h>
using namespace unity::indicator::datetime;
@@ -35,7 +33,6 @@ public:
const DateTime now = DateTime::NowLocal();
mock_clock.reset(new MockClock(now));
settings.reset(new Settings);
- timezones.reset(new Timezones);
clock = std::dynamic_pointer_cast<Clock>(mock_clock);
planner.reset(new MockPlanner);
planner->time = now;