class FakeFuchsiaSystemClock

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

An implementation of FuchsiaSystemClockInterface that starts with an

inaccurate time, and declares itself accurate on the first call to

AwaitExternalSource.

Public Methods

void FakeFuchsiaSystemClock (async_dispatcher_t * dispatcher)

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

std::optional<std::chrono::system_clock::time_point> now ()

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

void AwaitExternalSource (std::function<void ()> callback)

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