class FakeFuchsiaSystemClock

Defined at line 37 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 39 of file ../../src/cobalt/bin/testing/fake_clock.h

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

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

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

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