class RuntimeTest

Defined at line 23 of file ../../src/devices/tests/driver-runtime/test.cc

Protected Members

ClientEnd child_chan
ClientEnd parent_chan

Protected Methods

void SetUp ()

Defined at line 25 of file ../../src/devices/tests/driver-runtime/test.cc

void TearDown ()

Defined at line 61 of file ../../src/devices/tests/driver-runtime/test.cc

void ParentSetTestData (uint8_t * data_to_send, size_t size)

Sets test data in the parent device that can be retrieved by the child device.

Defined at line 77 of file ../../src/devices/tests/driver-transport/test.cc

void ParentSetTestData (const void * data_to_send, size_t size)

Sets test data in the parent device that can be retrieved by the child device.

Defined at line 78 of file ../../src/devices/tests/driver-runtime/test.cc

void GetParentDataOverDriverTransport (const void * want_data, size_t want_size)

Sends a FIDL request to the child device to retrieve data from the parent device

using its runtime channel.

Asserts that the data matches |want_data| and |want_size|.

Defined at line 89 of file ../../src/devices/tests/driver-transport/test.cc

void GetParentDataOverRuntimeChannel (bool sync, const void * want_data, size_t want_size)

Sends a FIDL request to the child device to retrieve data from the parent device

using its runtime channel.

Asserts that the data matches |want_data| and |want_size|.

Defined at line 93 of file ../../src/devices/tests/driver-runtime/test.cc