aboutsummaryrefslogtreecommitdiff
path: root/tests/timezone-mock.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-03-09 12:48:18 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-03-09 12:48:18 -0500
commit16b0ab32fe1b849523931ed33dbdd7ce0f9bac3f (patch)
tree36c29b628c5c2bb0985bde6b2a4ff77f4bf8de3e /tests/timezone-mock.h
parented9d932ef17fd55d8858a9391ab81d237a6be5ad (diff)
downloadayatana-indicator-datetime-16b0ab32fe1b849523931ed33dbdd7ce0f9bac3f.tar.gz
ayatana-indicator-datetime-16b0ab32fe1b849523931ed33dbdd7ce0f9bac3f.tar.bz2
ayatana-indicator-datetime-16b0ab32fe1b849523931ed33dbdd7ce0f9bac3f.zip
sync unit tests
Diffstat (limited to 'tests/timezone-mock.h')
-rw-r--r--tests/timezone-mock.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/timezone-mock.h b/tests/timezone-mock.h
new file mode 100644
index 0000000..67584cb
--- /dev/null
+++ b/tests/timezone-mock.h
@@ -0,0 +1,40 @@
+/*
+ * Copyright 2014 Canonical Ltd.
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 3, as published
+ * by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranties of
+ * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ * Charles Kerr <charles.kerr@canonical.com>
+ */
+
+#ifndef INDICATOR_DATETIME_TIMEZONE_MOCK_H
+#define INDICATOR_DATETIME_TIMEZONE_MOCK_H
+
+#include <datetime/timezone.h>
+
+namespace unity {
+namespace indicator {
+namespace datetime {
+
+class MockTimezone: public Timezone
+{
+public:
+ MockTimezone() =default;
+ ~MockTimezone() =default;
+};
+
+} // namespace datetime
+} // namespace indicator
+} // namespace unity
+
+#endif // INDICATOR_DATETIME_TIMEZONE_MOCK_H