diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2021-11-17 22:34:57 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2021-11-17 22:34:57 +0100 |
| commit | 6232d13f5321b87ddf12a1aa36b4545da45f173d (patch) | |
| tree | 23f3316470a14136debd9d02f9e920ca2b06f4cc /test/mock_timezone.hh | |
Travel3: Simple image and video display site
Reads the images and videos from filesystem and builds a site in
memroy.
Diffstat (limited to 'test/mock_timezone.hh')
| -rw-r--r-- | test/mock_timezone.hh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/mock_timezone.hh b/test/mock_timezone.hh new file mode 100644 index 0000000..b6cb22d --- /dev/null +++ b/test/mock_timezone.hh @@ -0,0 +1,15 @@ +#ifndef MOCK_TIMEZONE_HH +#define MOCK_TIMEZONE_HH + +#include "timezone.hh" + +#include <gmock/gmock.h> + +class MockTimezone : public Timezone { +public: + MOCK_METHOD(std::optional<time_t>, get_local_time, + (double, double, time_t), + (const override)); +}; + +#endif // MOCK_TIMEZONE_HH |
