class FakeSteadyClock

Defined at line 22 of file ../../src/cobalt/bin/testing/fake_clock.h

An implementation of SteadyClockInterface that returns a time that does not

increase with real time but only when Increment() is invoked. For use in

tests.

Public Methods

std::chrono::steady_clock::time_point now ()

Defined at line 24 of file ../../src/cobalt/bin/testing/fake_clock.h

void Increment (std::chrono::seconds increment_seconds)

Defined at line 26 of file ../../src/cobalt/bin/testing/fake_clock.h

void set_time (std::chrono::steady_clock::time_point t)

Defined at line 28 of file ../../src/cobalt/bin/testing/fake_clock.h