class SuiteEventPayload
Defined at line 4152 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/natural_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
void SuiteEventPayload (SuiteEventPayload && other)
SuiteEventPayload & operator= (SuiteEventPayload && other)
bool IsUnknown ()
::fuchsia_test_manager::SuiteEventPayload::Tag Which ()
SuiteEventPayload WithCaseFound (::fuchsia_test_manager::CaseFound val)
const ::fidl::internal::UnionMemberView<1, Storage_> case_found ()
::fidl::internal::UnionMemberView<1, Storage_> case_found ()
SuiteEventPayload & case_found (::fuchsia_test_manager::CaseFound value)
A case was found.
SuiteEventPayload WithCaseStarted (::fuchsia_test_manager::CaseStarted val)
const ::fidl::internal::UnionMemberView<2, Storage_> case_started ()
::fidl::internal::UnionMemberView<2, Storage_> case_started ()
SuiteEventPayload & case_started (::fuchsia_test_manager::CaseStarted value)
A case started execution
SuiteEventPayload WithCaseStopped (::fuchsia_test_manager::CaseStopped val)
const ::fidl::internal::UnionMemberView<3, Storage_> case_stopped ()
::fidl::internal::UnionMemberView<3, Storage_> case_stopped ()
SuiteEventPayload & case_stopped (::fuchsia_test_manager::CaseStopped value)
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.
SuiteEventPayload WithCaseFinished (::fuchsia_test_manager::CaseFinished val)
const ::fidl::internal::UnionMemberView<4, Storage_> case_finished ()
::fidl::internal::UnionMemberView<4, Storage_> case_finished ()
SuiteEventPayload & case_finished (::fuchsia_test_manager::CaseFinished value)
A case has finished and all artifact events have been dispatched to the
client.
SuiteEventPayload WithCaseArtifact (::fuchsia_test_manager::CaseArtifact val)
const ::fidl::internal::UnionMemberView<5, Storage_> case_artifact ()
::fidl::internal::UnionMemberView<5, Storage_> case_artifact ()
SuiteEventPayload & case_artifact (::fuchsia_test_manager::CaseArtifact value)
Artifact from a case
SuiteEventPayload WithSuiteArtifact (::fuchsia_test_manager::SuiteArtifact val)
const ::fidl::internal::UnionMemberView<6, Storage_> suite_artifact ()
::fidl::internal::UnionMemberView<6, Storage_> suite_artifact ()
SuiteEventPayload & suite_artifact (::fuchsia_test_manager::SuiteArtifact value)
Artifact from a suite.
SuiteEventPayload WithSuiteStarted (::fuchsia_test_manager::SuiteStarted val)
const ::fidl::internal::UnionMemberView<7, Storage_> suite_started ()
::fidl::internal::UnionMemberView<7, Storage_> suite_started ()
SuiteEventPayload & suite_started (::fuchsia_test_manager::SuiteStarted value)
Suite started execution
SuiteEventPayload WithSuiteStopped (::fuchsia_test_manager::SuiteStopped val)
const ::fidl::internal::UnionMemberView<8, Storage_> suite_stopped ()
::fidl::internal::UnionMemberView<8, Storage_> suite_stopped ()
SuiteEventPayload & suite_stopped (::fuchsia_test_manager::SuiteStopped value)
Suite run stopped executing, includes the result of the suite. The
client might still get artifacts pertaining to this suite after this
event.
void SuiteEventPayload (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
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() |
TODO: share union tag types between wire
&
natural.
Defined at line 4168 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits