Mocking and getting mocked values. More...
#include <chrono>
Go to the source code of this file.
Namespaces | |
namespace | utils |
Utilities. | |
namespace | utils::datetime |
Date and time utilities. | |
Functions | |
std::chrono::system_clock::time_point | utils::datetime::MockNow () noexcept |
std::chrono::steady_clock::time_point | utils::datetime::MockSteadyNow () noexcept |
void | utils::datetime::MockNowSet (std::chrono::system_clock::time_point new_mocked_now) |
void | utils::datetime::MockSleep (std::chrono::seconds duration) |
void | utils::datetime::MockSleep (std::chrono::milliseconds duration) |
void | utils::datetime::MockNowUnset () |
bool | utils::datetime::IsMockNow () |
Mocking and getting mocked values.
Definition in file mock_now.hpp.