class SuiteEventPayload

Defined at line 5628 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/wire_types.h

Various events for test execution.

First event for a test case will always be `case_found` and last will be

`case_finished`. Events `case_started` and `case_artifact` can come in any

order. There can be some `case_artifact` between `case_stopped` and

`case_finished`. `suite_stopped` event will always fire when the whole

suite has finished executing. Note `suite_artifact` may fire at any time.

In the case where the client completely drains all events for a suite,

`case_stopped` and `case_finished` will be reported for all found test

cases, even if the test component fails to report a result.

In the case a test is hung, GetEvents will hang and not complete, unless

a timeout has been specified in RunOptions.

Public Methods

bool IsUnknown ()

Defined at line 5648 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/wire_types.h

void SuiteEventPayload ()
void ~SuiteEventPayload ()
void SuiteEventPayload (SuiteEventPayload && other)
SuiteEventPayload & operator= (SuiteEventPayload && other)
bool has_invalid_tag ()
bool is_case_found ()
SuiteEventPayload WithCaseFound (::fidl::ObjectView< ::fuchsia_test_manager::wire::CaseFound> val)

A case was found.

template <typename... Args>
SuiteEventPayload WithCaseFound (::fidl::AnyArena & allocator, Args &&... args)

A case was found.

Defined at line 5661 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/wire_types.h

template <typename... Args>
SuiteEventPayload WithCaseArtifact (::fidl::AnyArena & allocator, Args &&... args)

Artifact from a case

Defined at line 5730 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/wire_types.h

::fuchsia_test_manager::wire::CaseFound & case_found ()

A case was found.

const ::fuchsia_test_manager::wire::CaseFound & case_found ()

A case was found.

bool is_case_started ()
SuiteEventPayload WithCaseStarted (::fuchsia_test_manager::wire::CaseStarted val)

A case started execution

const ::fuchsia_test_manager::wire::CaseStarted & case_started ()

A case started execution

bool is_case_stopped ()
SuiteEventPayload WithCaseStopped (::fidl::ObjectView< ::fuchsia_test_manager::wire::CaseStopped> val)

A case stopped executing, includes the pass/fail/skipped result of

the case. The client might still get artifacts pertaining to this test

after this event.

template <typename... Args>
SuiteEventPayload WithCaseStopped (::fidl::AnyArena & allocator, Args &&... args)

A case stopped executing, includes the pass/fail/skipped result of

the case. The client might still get artifacts pertaining to this test

after this event.

Defined at line 5694 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/wire_types.h

::fuchsia_test_manager::wire::CaseStarted & case_started ()

A case started execution

::fuchsia_test_manager::wire::CaseStopped & case_stopped ()

A case stopped executing, includes the pass/fail/skipped result of

the case. The client might still get artifacts pertaining to this test

after this event.

const ::fuchsia_test_manager::wire::CaseStopped & case_stopped ()

A case stopped executing, includes the pass/fail/skipped result of

the case. The client might still get artifacts pertaining to this test

after this event.

bool is_case_finished ()
SuiteEventPayload WithCaseFinished (::fuchsia_test_manager::wire::CaseFinished val)

A case has finished and all artifact events have been dispatched to the

client.

template <typename... Args>
SuiteEventPayload WithSuiteArtifact (::fidl::AnyArena & allocator, Args &&... args)

Artifact from a suite.

Defined at line 5748 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/wire_types.h

::fuchsia_test_manager::wire::CaseFinished & case_finished ()

A case has finished and all artifact events have been dispatched to the

client.

const ::fuchsia_test_manager::wire::CaseFinished & case_finished ()

A case has finished and all artifact events have been dispatched to the

client.

bool is_case_artifact ()
SuiteEventPayload WithCaseArtifact (::fidl::ObjectView< ::fuchsia_test_manager::wire::CaseArtifact> val)

Artifact from a case

::fuchsia_test_manager::wire::CaseArtifact & case_artifact ()

Artifact from a case

const ::fuchsia_test_manager::wire::CaseArtifact & case_artifact ()

Artifact from a case

bool is_suite_artifact ()
SuiteEventPayload WithSuiteArtifact (::fidl::ObjectView< ::fuchsia_test_manager::wire::SuiteArtifact> val)

Artifact from a suite.

::fuchsia_test_manager::wire::SuiteArtifact & suite_artifact ()

Artifact from a suite.

const ::fuchsia_test_manager::wire::SuiteArtifact & suite_artifact ()

Artifact from a suite.

bool is_suite_started ()
SuiteEventPayload WithSuiteStarted (::fuchsia_test_manager::wire::SuiteStarted val)

Suite started execution

::fuchsia_test_manager::wire::SuiteStarted & suite_started ()

Suite started execution

const ::fuchsia_test_manager::wire::SuiteStarted & suite_started ()

Suite started execution

bool is_suite_stopped ()
SuiteEventPayload WithSuiteStopped (::fuchsia_test_manager::wire::SuiteStopped val)

Suite run stopped executing, includes the result of the suite. The

client might still get artifacts pertaining to this suite after this

event.

::fuchsia_test_manager::wire::SuiteStopped & suite_stopped ()

Suite run stopped executing, includes the result of the suite. The

client might still get artifacts pertaining to this suite after this

event.

const ::fuchsia_test_manager::wire::SuiteStopped & suite_stopped ()

Suite run stopped executing, includes the result of the suite. The

client might still get artifacts pertaining to this suite after this

event.

::fuchsia_test_manager::wire::SuiteEventPayload::Tag Which ()
void _CloseHandles ()

Enumerations

enum Tag
Name Value
kCaseFound 1
kCaseStarted 2
kCaseStopped 3
kCaseFinished 4
kCaseArtifact 5
kSuiteArtifact 6
kSuiteStarted 7
kSuiteStopped 8
_do_not_handle_this__write_a_default_case_instead ::std::numeric_limits<::fidl_union_tag_t>::max()

Defined at line 5637 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/wire_types.h