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.

INTERNAL_ERROR 4

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. Reserved for future

OrdinalNameTypeDescription

UNIONS

Harness_LaunchSuite_Result

Defined in fuchsia.test.manager/test_manager.fidl

NameTypeDescription
response Harness_LaunchSuite_Response
err LaunchError