class EventDetails

Defined at line 5033 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/wire_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 ()
void EventDetails (EventDetails && other)
bool IsUnknown ()

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

EventDetails WithSuiteStarted (::fidl::ObjectView< ::fuchsia_test_manager::wire::SuiteStartedEventDetails> val)

Suite started execution. `suite_artifact_generated` events may occur before this event.

template <typename... Args>
EventDetails WithSuiteStarted (::fidl::AnyArena & allocator, Args &&... args)

Suite started execution. `suite_artifact_generated` events may occur before this event.

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

template <typename... Args>
EventDetails WithTestCaseFound (::fidl::AnyArena & allocator, Args &&... args)

A test_case was found. This is always the first event for a given test case.

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

template <typename... Args>
EventDetails WithTestCaseArtifactGenerated (::fidl::AnyArena & allocator, Args &&... args)

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`.

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

EventDetails WithTestCaseArtifactGenerated (::fidl::ObjectView< ::fuchsia_test_manager::wire::TestCaseArtifactGeneratedEventDetails> val)

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`.

template <typename... Args>
EventDetails WithTestCaseStarted (::fidl::AnyArena & allocator, Args &&... args)

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.

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

template <typename... Args>
EventDetails WithTestCaseStopped (::fidl::AnyArena & allocator, Args &&... args)

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.

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

template <typename... Args>
EventDetails WithTestCaseFinished (::fidl::AnyArena & allocator, Args &&... args)

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.

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

template <typename... Args>
EventDetails WithSuiteArtifactGenerated (::fidl::AnyArena & allocator, Args &&... args)

Artifact pertaining to the entire suite.

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

template <typename... Args>
EventDetails WithSuiteStopped (::fidl::AnyArena & allocator, Args &&... args)

Suite run stopped executing. This event includes the resulting `SuiteResult` of the suite.

`suite_artifact_generated` events may occur after this event.

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

void ~EventDetails ()
EventDetails & operator= (EventDetails && other)
bool has_invalid_tag ()
bool is_suite_started ()
::fuchsia_test_manager::wire::SuiteStartedEventDetails & suite_started ()

Suite started execution. `suite_artifact_generated` events may occur before this event.

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

Suite started execution. `suite_artifact_generated` events may occur before this event.

bool is_test_case_found ()
EventDetails WithTestCaseFound (::fidl::ObjectView< ::fuchsia_test_manager::wire::TestCaseFoundEventDetails> val)

A test_case was found. This is always the first event for a given test case.

::fuchsia_test_manager::wire::TestCaseFoundEventDetails & test_case_found ()

A test_case was found. This is always the first event for a given test case.

const ::fuchsia_test_manager::wire::TestCaseFoundEventDetails & test_case_found ()

A test_case was found. This is always the first event for a given test case.

bool is_test_case_started ()
EventDetails WithTestCaseStarted (::fidl::ObjectView< ::fuchsia_test_manager::wire::TestCaseStartedEventDetails> val)

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.

::fuchsia_test_manager::wire::TestCaseStartedEventDetails & test_case_started ()

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.

const ::fuchsia_test_manager::wire::TestCaseStartedEventDetails & test_case_started ()

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.

bool is_test_case_artifact_generated ()
::fuchsia_test_manager::wire::TestCaseArtifactGeneratedEventDetails & test_case_artifact_generated ()

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`.

const ::fuchsia_test_manager::wire::TestCaseArtifactGeneratedEventDetails & test_case_artifact_generated ()

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`.

bool is_test_case_stopped ()
EventDetails WithTestCaseStopped (::fidl::ObjectView< ::fuchsia_test_manager::wire::TestCaseStoppedEventDetails> val)

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.

::fuchsia_test_manager::wire::TestCaseStoppedEventDetails & test_case_stopped ()

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.

const ::fuchsia_test_manager::wire::TestCaseStoppedEventDetails & test_case_stopped ()

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.

bool is_test_case_finished ()
EventDetails WithTestCaseFinished (::fidl::ObjectView< ::fuchsia_test_manager::wire::TestCaseFinishedEventDetails> val)

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.

::fuchsia_test_manager::wire::TestCaseFinishedEventDetails & test_case_finished ()

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.

const ::fuchsia_test_manager::wire::TestCaseFinishedEventDetails & test_case_finished ()

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.

bool is_suite_artifact_generated ()
EventDetails WithSuiteArtifactGenerated (::fidl::ObjectView< ::fuchsia_test_manager::wire::SuiteArtifactGeneratedEventDetails> val)

Artifact pertaining to the entire suite.

::fuchsia_test_manager::wire::SuiteArtifactGeneratedEventDetails & suite_artifact_generated ()

Artifact pertaining to the entire suite.

const ::fuchsia_test_manager::wire::SuiteArtifactGeneratedEventDetails & suite_artifact_generated ()

Artifact pertaining to the entire suite.

bool is_suite_stopped ()
EventDetails WithSuiteStopped (::fidl::ObjectView< ::fuchsia_test_manager::wire::SuiteStoppedEventDetails> val)

Suite run stopped executing. This event includes the resulting `SuiteResult` of the suite.

`suite_artifact_generated` events may occur after this event.

::fuchsia_test_manager::wire::SuiteStoppedEventDetails & suite_stopped ()

Suite run stopped executing. This event includes the resulting `SuiteResult` of the suite.

`suite_artifact_generated` events may occur after this event.

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

Suite run stopped executing. This event includes the resulting `SuiteResult` of the suite.

`suite_artifact_generated` events may occur after this event.

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

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()

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