fdf_testing::DriverRuntime

Summary

Constructors and Destructors

DriverRuntime()
~DriverRuntime()

Public functions

PerformBlockingWork(Callable && work)
auto
Quit()
void
QuitClosure()
ResetForegroundDispatcher(fit::closure post_shutdown)
void
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
ShutdownAllDispatchers(fdf_dispatcher_t *dut_initial_dispatcher)
void
ShutdownBackgroundDispatcher(fdf_dispatcher_t *dispatcher, fit::closure post_shutdown)
void
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()

ResetForegroundDispatcher

void ResetForegroundDispatcher(
  fit::closure post_shutdown
)

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
)

ShutdownAllDispatchers

void ShutdownAllDispatchers(
  fdf_dispatcher_t *dut_initial_dispatcher
)

ShutdownBackgroundDispatcher

void ShutdownBackgroundDispatcher(
  fdf_dispatcher_t *dispatcher,
  fit::closure post_shutdown
)

StartBackgroundDispatcher

fdf::UnownedSynchronizedDispatcher StartBackgroundDispatcher()

~DriverRuntime

 ~DriverRuntime()

Public static functions

GetInstance

DriverRuntime * GetInstance()