class RuntimeTestCase
Defined at line 18 of file ../../src/devices/bin/driver_runtime/runtime_test_case.h
Public Methods
void SignalOnChannelReadable (fdf_handle_tch,fdf_dispatcher_t *dispatcher,sync_completion_t *completion)
Registers a wait_async request on |ch| and signals |completion| once it
is ready for reading.
Defined at line 8 of file ../../src/devices/bin/driver_runtime/runtime_test_case.cc
void WaitUntilReadReady (fdf_handle_t ch, fdf_dispatcher_t * dispatcher)
Registers a wait_async request on |ch| and blocks until it is ready for reading.
Defined at line 22 of file ../../src/devices/bin/driver_runtime/runtime_test_case.cc
void AssertRead (fdf_handle_tch,void *want_data,size_twant_num_bytes,zx_handle_t *want_handles,uint32_twant_num_handles,fdf_arena_t **out_arena)
Reads a message from |ch| and asserts that it matches the wanted parameters.
If |out_arena| is provided, it will be populated with the transferred arena.
Defined at line 29 of file ../../src/devices/bin/driver_runtime/runtime_test_case.cc
const void * CreateFakeDriver ()
Returns a fake driver pointer that can be used with thread_context APIs.
Do not try to access the internals of the pointer.
Defined at line 36 of file ../../src/devices/bin/driver_runtime/runtime_test_case.h