fdf_testing::DriverRuntime

Summary

Constructors and Destructors

DriverRuntime()
~DriverRuntime()

Public functions

PerformBlockingWork(Callable && work)
auto
Quit()
void
QuitClosure()
ResetQuit()
zx_status_t
Run()
void
RunPromise(PromiseType promise)
PromiseType::result_type
RunToCompletion(AsyncTask< Result > async_task)
Result
RunUntil(fit::function< bool()> condition, zx::duration step)
void
RunUntilIdle()
void
RunWithTimeout(zx::duration timeout)
bool
RunWithTimeoutOrUntil(fit::function< bool()> condition, zx::duration timeout, zx::duration step)
bool
StartBackgroundDispatcher()

Public static functions

GetInstance()

Classes

fdf_testing::DriverRuntime::AsyncTask

Public functions

DriverRuntime

 DriverRuntime()

PerformBlockingWork

auto PerformBlockingWork(
  Callable && work
)

Quit

void Quit()

QuitClosure

fit::closure QuitClosure()

ResetQuit

zx_status_t ResetQuit()

Run

void Run()

RunPromise

PromiseType::result_type RunPromise(
  PromiseType promise
)

RunToCompletion

Result RunToCompletion(
  AsyncTask< Result > async_task
)

RunUntil

void RunUntil(
  fit::function< bool()> condition,
  zx::duration step
)

RunUntilIdle

void RunUntilIdle()

RunWithTimeout

bool RunWithTimeout(
  zx::duration timeout
)

RunWithTimeoutOrUntil

bool RunWithTimeoutOrUntil(
  fit::function< bool()> condition,
  zx::duration timeout,
  zx::duration step
)

StartBackgroundDispatcher

fdf::UnownedSynchronizedDispatcher StartBackgroundDispatcher()

~DriverRuntime

 ~DriverRuntime()

Public static functions

GetInstance

DriverRuntime * GetInstance()