You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
420 B
16 lines
420 B
#pragma once |
|
|
|
#include "application/interfaces/ITimeProvider.h" |
|
#include <trompeloeil.hpp> |
|
|
|
namespace test { |
|
|
|
class MockTimeProvider : public nxl::autostore::application::ITimeProvider |
|
{ |
|
public: |
|
MAKE_MOCK0(now, Clock::time_point(), const override); |
|
MAKE_MOCK1(to_tm, std::tm(const Clock::time_point&), const override); |
|
MAKE_MOCK1(from_tm, Clock::time_point(const std::tm&), const override); |
|
}; |
|
|
|
} // namespace test
|