From 6232d13f5321b87ddf12a1aa36b4545da45f173d Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Wed, 17 Nov 2021 22:34:57 +0100 Subject: Travel3: Simple image and video display site Reads the images and videos from filesystem and builds a site in memroy. --- test/mock_timezone.hh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/mock_timezone.hh (limited to 'test/mock_timezone.hh') 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 + +class MockTimezone : public Timezone { +public: + MOCK_METHOD(std::optional, get_local_time, + (double, double, time_t), + (const override)); +}; + +#endif // MOCK_TIMEZONE_HH -- cgit v1.2.3-70-g09d2