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
Name | Type |
---|---|
test_url |
fuchsia.url/Url
|
options |
LaunchOptions
|
suite |
request<fuchsia.test/Suite>
|
controller |
request<SuiteController>
|
Response
Name | Type |
---|---|
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
Name | Type |
---|
STRUCTS
Harness_LaunchSuite_Response
Defined in fuchsia.test.manager/test_manager.fidl
Name | Type | Description | Default |
---|
ENUMS
LaunchError
Type: uint32
Defined in fuchsia.test.manager/test_manager.fidl
Error for LaunchSuite
call.
Name | Value | Description |
---|---|---|
RESOURCE_UNAVAILABLE |
1 |
There were insufficient resources to perform the operation. |
INSTANCE_CANNOT_RESOLVE |
2 |
Cannot resolve |
INVALID_ARGS |
3 |
Invalid argument(s) passed. |
FAILED_TO_CONNECT_TO_TEST_SUITE |
4 |
Failed to connect to the |
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.
Ordinal | Name | Type | Description |
---|---|---|---|
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
Name | Type | Description |
---|---|---|
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.
Name | Type | Description |
---|---|---|
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. |