Project: /_project.yaml Book: /_book.yaml

fuchsia.device.test

PROTOCOLS

Test {:#Test}

Defined in fuchsia.device.test/test.fidl

RunTests {:#RunTests}

Execute the tests for this device. Returns the status from the test. If used as part of the Device protocol then Test output will be streamed to the socket set by SetOutputSocket().

Request

Response

Device {:#Device}

Defined in fuchsia.device.test/test.fidl

Interface for controlling a device created via RootDevice.CreateDevice

RunTests {:#RunTests}

Execute the tests for this device. Returns the status from the test. If used as part of the Device protocol then Test output will be streamed to the socket set by SetOutputSocket().

Request

Response

SetOutputSocket {:#SetOutputSocket}

Set a socket to stream test output to.

Request

SetChannel {:#SetChannel}

Set a channel for the test to use in a test-specific manner.

Request

Destroy {:#Destroy}

Unload this device.

Request

RootDevice {:#RootDevice}

Defined in fuchsia.device.test/test.fidl

Interface for creating devices within a devhost.

CreateDevice {:#CreateDevice}

Create a device with the given name that is a child of this device. If name contains a trailing “.so”, it will be removed.

On success, path will be the filesystem path of the new device.

Request

Response

STRUCTS

TestReport {:#TestReport}

Defined in fuchsia.device.test/test.fidl

Returns the result summary of a test run

CONSTANTS