Set mock time for testing. When mocking the steady clock, start at INITIAL_MOCK_TIME and add durations to elapse time as necessary for testing. To stop mocking, call ClearMockTime().
Declared in <util/time.h>
static
void
SetMockTime(mock_time_point::duration mock_time_in);
| Name | Description |
|---|---|
| mock_time_in | Mocked elapsed duration since INITIAL_MOCK_TIME. |