diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-03-09 12:48:18 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-03-09 12:48:18 -0500 |
commit | 16b0ab32fe1b849523931ed33dbdd7ce0f9bac3f (patch) | |
tree | 36c29b628c5c2bb0985bde6b2a4ff77f4bf8de3e /tests/test-planner.cpp | |
parent | ed9d932ef17fd55d8858a9391ab81d237a6be5ad (diff) | |
download | ayatana-indicator-datetime-16b0ab32fe1b849523931ed33dbdd7ce0f9bac3f.tar.gz ayatana-indicator-datetime-16b0ab32fe1b849523931ed33dbdd7ce0f9bac3f.tar.bz2 ayatana-indicator-datetime-16b0ab32fe1b849523931ed33dbdd7ce0f9bac3f.zip |
sync unit tests
Diffstat (limited to 'tests/test-planner.cpp')
-rw-r--r-- | tests/test-planner.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-planner.cpp b/tests/test-planner.cpp index e5c11f9..6f602f4 100644 --- a/tests/test-planner.cpp +++ b/tests/test-planner.cpp @@ -18,13 +18,13 @@ */ #include "glib-fixture.h" +#include "timezone-mock.h" #include <datetime/appointment.h> #include <datetime/clock-mock.h> #include <datetime/date-time.h> #include <datetime/planner.h> #include <datetime/planner-eds.h> -#include <datetime/timezones.h> #include <langinfo.h> #include <locale.h> @@ -44,8 +44,8 @@ TEST_F(PlannerFixture, EDS) g_date_time_unref(tmp); std::shared_ptr<Clock> clock(new MockClock(now)); - std::shared_ptr<Timezones> timezones(new Timezones); - PlannerEds planner(clock, timezones); + std::shared_ptr<Timezone> tz(new MockTimezone); + PlannerEds planner(clock, tz); wait_msec(100); planner.time.set(now); |