Multiple implementations of the same back-end application. The aim is to provide quick, side-by-side comparisons of different technologies (languages, frameworks, libraries) while preserving consistent business logic across all implementations.
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

#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