class RunSuiteOptions

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

Options specifying how a test suite should be run.

Public Methods

void RunSuiteOptions (Storage_ storage)
bool IsEmpty ()
void RunSuiteOptions ()

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

void RunSuiteOptions (RunSuiteOptions && )

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

RunSuiteOptions & operator= (RunSuiteOptions && )

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

const std::optional< ::fuchsia_test_manager::RealmOptions> & realm_options ()

Specifies the realm in which to run the test suite. If this field is not supplied, the

test will run in a hermetic realm inside the test manager. This option is

used by clients that require non-hermetic realms or test realms with custom runners.

::std::optional< ::fuchsia_test_manager::RealmOptions> & realm_options ()

Specifies the realm in which to run the test suite. If this field is not supplied, the

test will run in a hermetic realm inside the test manager. This option is

used by clients that require non-hermetic realms or test realms with custom runners.

RunSuiteOptions & realm_options (std::optional< ::fuchsia_test_manager::RealmOptions> value)

Specifies the realm in which to run the test suite. If this field is not supplied, the

test will run in a hermetic realm inside the test manager. This option is

used by clients that require non-hermetic realms or test realms with custom runners.

const std::optional<bool> & run_disabled_tests ()

If set to true, test cases that have been disabled by the test author will

nonetheless be executed. This value is false by default.

::std::optional<bool> & run_disabled_tests ()

If set to true, test cases that have been disabled by the test author will

nonetheless be executed. This value is false by default.

RunSuiteOptions & run_disabled_tests (std::optional<bool> value)

If set to true, test cases that have been disabled by the test author will

nonetheless be executed. This value is false by default.

const std::optional<uint16_t> & max_concurrent_test_case_runs ()

Defines the maximum number of test cases to run concurrently. If unspecified, the

test suite component decides this value.

::std::optional<uint16_t> & max_concurrent_test_case_runs ()

Defines the maximum number of test cases to run concurrently. If unspecified, the

test suite component decides this value.

RunSuiteOptions & max_concurrent_test_case_runs (std::optional<uint16_t> value)

Defines the maximum number of test cases to run concurrently. If unspecified, the

test suite component decides this value.

const std::optional< ::std::vector< ::std::string>> & arguments ()

Command-line arguments to pass to the test. Test runners decide how to pass these

arguments to tests. This value is an empty vector (no arguments) by default.

::std::optional< ::std::vector< ::std::string>> & arguments ()

Command-line arguments to pass to the test. Test runners decide how to pass these

arguments to tests. This value is an empty vector (no arguments) by default.

RunSuiteOptions & arguments (std::optional< ::std::vector< ::std::string>> value)

Command-line arguments to pass to the test. Test runners decide how to pass these

arguments to tests. This value is an empty vector (no arguments) by default.

const std::optional<int64_t> & timeout ()

Timeout for the entire suite run. If unspecified, there is no timeout, and the suite run

may hang indefinitely.

::std::optional<int64_t> & timeout ()

Timeout for the entire suite run. If unspecified, there is no timeout, and the suite run

may hang indefinitely.

RunSuiteOptions & timeout (std::optional<int64_t> value)

Timeout for the entire suite run. If unspecified, there is no timeout, and the suite run

may hang indefinitely.

const std::optional< ::std::vector< ::std::string>> & test_case_filters ()

Test case filters as glob patterns [https://en.wikipedia.org/wiki/Glob_(programming)].

Negative filters may be specified by prepending '-'. This value is an empty vector

(no filters) by default.

A given test case is run if both of the following are true:

* No positive filters are specfied, or the test case matches one of the positive filters.

* The test case does not match any specified negative filter.

For example, given that a suite has the test cases `Foo.Test1`, `Foo.Test2`, `Bar.Test1`,

and `Bar.Test2`:

* The filters `["Foo.*"]` will execute `Foo.Test1` and `Foo.Test2`.

* The filters `["-Foo.*"]` will execute `Bar.Test1` and `Bar.Test2`.

* The filters `["Foo.*", "-*.Test1"]` will execute `Foo.Test2`.

::std::optional< ::std::vector< ::std::string>> & test_case_filters ()

Test case filters as glob patterns [https://en.wikipedia.org/wiki/Glob_(programming)].

Negative filters may be specified by prepending '-'. This value is an empty vector

(no filters) by default.

A given test case is run if both of the following are true:

* No positive filters are specfied, or the test case matches one of the positive filters.

* The test case does not match any specified negative filter.

For example, given that a suite has the test cases `Foo.Test1`, `Foo.Test2`, `Bar.Test1`,

and `Bar.Test2`:

* The filters `["Foo.*"]` will execute `Foo.Test1` and `Foo.Test2`.

* The filters `["-Foo.*"]` will execute `Bar.Test1` and `Bar.Test2`.

* The filters `["Foo.*", "-*.Test1"]` will execute `Foo.Test2`.

RunSuiteOptions & test_case_filters (std::optional< ::std::vector< ::std::string>> value)

Test case filters as glob patterns [https://en.wikipedia.org/wiki/Glob_(programming)].

Negative filters may be specified by prepending '-'. This value is an empty vector

(no filters) by default.

A given test case is run if both of the following are true:

* No positive filters are specfied, or the test case matches one of the positive filters.

* The test case does not match any specified negative filter.

For example, given that a suite has the test cases `Foo.Test1`, `Foo.Test2`, `Bar.Test1`,

and `Bar.Test2`:

* The filters `["Foo.*"]` will execute `Foo.Test1` and `Foo.Test2`.

* The filters `["-Foo.*"]` will execute `Bar.Test1` and `Bar.Test2`.

* The filters `["Foo.*", "-*.Test1"]` will execute `Foo.Test2`.

const std::optional< ::fuchsia_test_manager::LogsIteratorType> & logs_iterator_type ()

Specifies what kind of iterator the client will use for retrieving logs. This value is

`BATCH` by default.

::std::optional< ::fuchsia_test_manager::LogsIteratorType> & logs_iterator_type ()

Specifies what kind of iterator the client will use for retrieving logs. This value is

`BATCH` by default.

RunSuiteOptions & logs_iterator_type (std::optional< ::fuchsia_test_manager::LogsIteratorType> value)

Specifies what kind of iterator the client will use for retrieving logs. This value is

`BATCH` by default.

const std::optional< ::std::vector< ::fuchsia_diagnostics::LogInterestSelector>> & log_interest ()

Configures the minimum severity to apply when filtering logs from the test suite

component.

::std::optional< ::std::vector< ::fuchsia_diagnostics::LogInterestSelector>> & log_interest ()

Configures the minimum severity to apply when filtering logs from the test suite

component.

RunSuiteOptions & log_interest (std::optional< ::std::vector< ::fuchsia_diagnostics::LogInterestSelector>> value)

Configures the minimum severity to apply when filtering logs from the test suite

component.

const std::optional<bool> & accumulate_debug_data ()

If set to true, debug data collected for this run will be accumulated in test manager's

tmp folder with debug data collected in previous runs with this flag set true. Defaults

to false.

This option is used when many tests are run in a batch, and delivering the accumulated

data is more performant than delivering the debug data one test at a time.

::std::optional<bool> & accumulate_debug_data ()

If set to true, debug data collected for this run will be accumulated in test manager's

tmp folder with debug data collected in previous runs with this flag set true. Defaults

to false.

This option is used when many tests are run in a batch, and delivering the accumulated

data is more performant than delivering the debug data one test at a time.

RunSuiteOptions & accumulate_debug_data (std::optional<bool> value)

If set to true, debug data collected for this run will be accumulated in test manager's

tmp folder with debug data collected in previous runs with this flag set true. Defaults

to false.

This option is used when many tests are run in a batch, and delivering the accumulated

data is more performant than delivering the debug data one test at a time.

const std::optional<bool> & no_exception_channel ()

If true, indicates the test creates an exception channel. In this case, the test manager

will refrain from creating its own exception channels to avoid conflicts. Default value

is false.

::std::optional<bool> & no_exception_channel ()

If true, indicates the test creates an exception channel. In this case, the test manager

will refrain from creating its own exception channels to avoid conflicts. Default value

is false.

RunSuiteOptions & no_exception_channel (std::optional<bool> value)

If true, indicates the test creates an exception channel. In this case, the test manager

will refrain from creating its own exception channels to avoid conflicts. Default value

is false.

const std::optional<bool> & break_on_failure ()

If true, the test runner should halt (if supported) the test suite when

a failure is encountered such that a debugger may attach to the process

in the future. Test runners may safely ignore this if they do not

support stopping running test suites.

::std::optional<bool> & break_on_failure ()

If true, the test runner should halt (if supported) the test suite when

a failure is encountered such that a debugger may attach to the process

in the future. Test runners may safely ignore this if they do not

support stopping running test suites.

RunSuiteOptions & break_on_failure (std::optional<bool> value)

If true, the test runner should halt (if supported) the test suite when

a failure is encountered such that a debugger may attach to the process

in the future. Test runners may safely ignore this if they do not

support stopping running test suites.

void RunSuiteOptions (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits