Google is committed to advancing racial equity for Black communities. See how.

fuchsia.test.manager

PROTOCOLS

Harness

Defined in fuchsia.test.manager/test_manager.fidl

Launches a test that implements the fuchsia.test.Suite protocol (either directly or via a runner adapter). The test must be a v2 component test.

Designed to be used by run_test_suite to execute v2 tests.

If test suite doesn't expose fuchsia.test.Suite protocol, this call will suceed but call on suite protocol will fail with PEER_CLOSED error.

LaunchSuite

Request

NameType
test_url fuchsia.url/Url
options LaunchOptions
suite request<fuchsia.test/Suite>
controller request<SuiteController>

Response

NameType
result Harness_LaunchSuite_Result

SuiteController

Defined in fuchsia.test.manager/test_manager.fidl

Controller for running suite. Suite would be destroyed when client end of this protocol is closed.

Kill

Destroys running suite.

Request

NameType

STRUCTS

Harness_LaunchSuite_Response

Defined in fuchsia.test.manager/test_manager.fidl

NameTypeDescriptionDefault

ENUMS

LaunchError

Type: uint32

Defined in fuchsia.test.manager/test_manager.fidl

Error for LaunchSuite call.

NameValueDescription
RESOURCE_UNAVAILABLE 1

There were insufficient resources to perform the operation.

INSTANCE_CANNOT_RESOLVE 2

Cannot resolve test_url.

INVALID_ARGS 3

Invalid argument(s) passed.

FAILED_TO_CONNECT_TO_TEST_SUITE 4

Failed to connect to the fuchsia.test.TestSuite that the test should expose.

INTERNAL_ERROR 5

Some internal error occured. Something wrong with test manager setup. Check logs and report bug.

TABLES

LaunchOptions

Defined in fuchsia.test.manager/test_manager.fidl

Options to run particular test suite.

OrdinalNameTypeDescription
1 logs_iterator LogsIterator

Isolated logs from the test component will be streamed through this iterator.

UNIONS

Harness_LaunchSuite_Result

Defined in fuchsia.test.manager/test_manager.fidl

NameTypeDescription
response Harness_LaunchSuite_Response
err LaunchError

LogsIterator

Defined in fuchsia.test.manager/test_manager.fidl

Holds the server end of an iterator over the isolated logs of a test.

NameTypeDescription
archive request<fuchsia.developer.remotecontrol/ArchiveIterator>

Server end of the iterator, when this protocol is used by host-side clients.

batch request<fuchsia.diagnostics/BatchIterator>

Server end of the iterator, when this protocol is used by Fuchsia clients.