diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-01-25 16:54:41 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-01-25 16:54:41 -0600 |
commit | 7b09a0ff5652bdca7c8d8e046d2af6a696f94147 (patch) | |
tree | a9adbfddde6f0693ab2bb2e01c875cd9929669cf /tests/actions-mock.h | |
parent | aad7e86a109aeec75b3772cda20478363f966745 (diff) | |
download | ayatana-indicator-datetime-7b09a0ff5652bdca7c8d8e046d2af6a696f94147.tar.gz ayatana-indicator-datetime-7b09a0ff5652bdca7c8d8e046d2af6a696f94147.tar.bz2 ayatana-indicator-datetime-7b09a0ff5652bdca7c8d8e046d2af6a696f94147.zip |
sync the exported calendar state with the #State backend
Diffstat (limited to 'tests/actions-mock.h')
-rw-r--r-- | tests/actions-mock.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/actions-mock.h b/tests/actions-mock.h index 112900b..da93cb9 100644 --- a/tests/actions-mock.h +++ b/tests/actions-mock.h @@ -35,8 +35,7 @@ public: ~MockActions() =default; enum Action { OpenDesktopSettings, OpenPhoneSettings, OpenPhoneClockApp, - OpenPlanner, OpenPlannerAt, OpenAppointment, - SetLocation, SetCalendarDate }; + OpenPlanner, OpenPlannerAt, OpenAppointment, SetLocation }; const std::vector<Action>& history() const { return m_history; } const DateTime& date_time() const { return m_date_time; } const std::string& zone() const { return m_zone; } @@ -68,11 +67,6 @@ public: m_url = url_; } - void set_calendar_date(const DateTime& date_time_) { - m_history.push_back(SetCalendarDate); - m_date_time = date_time_; - } - private: std::string m_url; std::string m_zone; |