class EventDetails
Defined at line 1655 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/natural_types.h
Details of an event delivered via `SuiteController.GetEvents`.
A `suite_started` event always precedes any events relating to test cases, and a
`suite_stopped` event always follows any test case events. `suite_artifact_generated` may
occur at any point, including before `suite_started` and after `suite_stopped`.
A `test_case_found` event is produced for all test cases found in the suite.
If a particular test case run is enabled (based on `RunSuiteOptions.test_case_filters` and
`RunSuiteOptions.run_disabled_tests`), the following sequence is produced, regardless of whether
the test case is actually run, the run completes or whether or not it succeeds:
- `test_case_found`
- `test_case_started`
- `test_case_stopped`
- `test_case_finished`
`test_case_artifact_generated` events for the test case may occur at any point after the
`test_case_found` event and before `test_case_finished` event for that test case. Note that
test case events for multiple events may be interleaved.
If a test case run is not enabled, only the `test_case_found` event will be produced for
that test case.
Public Methods
void EventDetails (EventDetails && other)
EventDetails & operator= (EventDetails && other)
bool IsUnknown ()
::fuchsia_test_manager::EventDetails::Tag Which ()
EventDetails WithSuiteStarted (::fuchsia_test_manager::SuiteStartedEventDetails val)
const ::fidl::internal::UnionMemberView<1, Storage_> suite_started ()
::fidl::internal::UnionMemberView<1, Storage_> suite_started ()
EventDetails & suite_started (::fuchsia_test_manager::SuiteStartedEventDetails value)
Suite started execution. `suite_artifact_generated` events may occur before this event.
EventDetails WithTestCaseFound (::fuchsia_test_manager::TestCaseFoundEventDetails val)
const ::fidl::internal::UnionMemberView<2, Storage_> test_case_found ()
::fidl::internal::UnionMemberView<2, Storage_> test_case_found ()
EventDetails & test_case_found (::fuchsia_test_manager::TestCaseFoundEventDetails value)
A test_case was found. This is always the first event for a given test case.
EventDetails WithTestCaseStarted (::fuchsia_test_manager::TestCaseStartedEventDetails val)
const ::fidl::internal::UnionMemberView<3, Storage_> test_case_started ()
::fidl::internal::UnionMemberView<3, Storage_> test_case_started ()
EventDetails & test_case_started (::fuchsia_test_manager::TestCaseStartedEventDetails value)
A test case started execution. Only one `test_case_started` event is produced for a given test case,
and it always precedes the `test_case_stopped` event for that test case.
`test_case_artifact_generated` events for the test case may occur before this event.
EventDetails WithTestCaseArtifactGenerated (::fuchsia_test_manager::TestCaseArtifactGeneratedEventDetails val)
const ::fidl::internal::UnionMemberView<4, Storage_> test_case_artifact_generated ()
::fidl::internal::UnionMemberView<4, Storage_> test_case_artifact_generated ()
EventDetails & test_case_artifact_generated (::fuchsia_test_manager::TestCaseArtifactGeneratedEventDetails value)
Artifact from a test case. Note that `test_case_artifact_generated` events for a given test
case may occur before `test_case_started` and after `test_case_stopped`.
EventDetails WithTestCaseStopped (::fuchsia_test_manager::TestCaseStoppedEventDetails val)
const ::fidl::internal::UnionMemberView<5, Storage_> test_case_stopped ()
::fidl::internal::UnionMemberView<5, Storage_> test_case_stopped ()
EventDetails & test_case_stopped (::fuchsia_test_manager::TestCaseStoppedEventDetails value)
A test case stopped executing. This event includes the resulting `TestCaseResult` of the test case.
`test_case_artifact_generated` events for the case may occur after this event.
EventDetails WithTestCaseFinished (::fuchsia_test_manager::TestCaseFinishedEventDetails val)
const ::fidl::internal::UnionMemberView<6, Storage_> test_case_finished ()
::fidl::internal::UnionMemberView<6, Storage_> test_case_finished ()
EventDetails & test_case_finished (::fuchsia_test_manager::TestCaseFinishedEventDetails value)
A test case has finished and all artifact events have been dispatched to the client. This
is always the last event for a given test case.
EventDetails WithSuiteArtifactGenerated (::fuchsia_test_manager::SuiteArtifactGeneratedEventDetails val)
const ::fidl::internal::UnionMemberView<7, Storage_> suite_artifact_generated ()
::fidl::internal::UnionMemberView<7, Storage_> suite_artifact_generated ()
EventDetails & suite_artifact_generated (::fuchsia_test_manager::SuiteArtifactGeneratedEventDetails value)
Artifact pertaining to the entire suite.
EventDetails WithSuiteStopped (::fuchsia_test_manager::SuiteStoppedEventDetails val)
const ::fidl::internal::UnionMemberView<8, Storage_> suite_stopped ()
::fidl::internal::UnionMemberView<8, Storage_> suite_stopped ()
EventDetails & suite_stopped (::fuchsia_test_manager::SuiteStoppedEventDetails value)
Suite run stopped executing. This event includes the resulting `SuiteResult` of the suite.
`suite_artifact_generated` events may occur after this event.
void EventDetails (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kSuiteStarted | 1 |
| kTestCaseFound | 2 |
| kTestCaseStarted | 3 |
| kTestCaseArtifactGenerated | 4 |
| kTestCaseStopped | 5 |
| kTestCaseFinished | 6 |
| kSuiteArtifactGenerated | 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 1671 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits