#include <settings.h>
Constructors | |
settings ()=default | |
Creates new instance of settings. More... | |
Properties | |
bool | also_run_ignored_tests () const noexcept |
Gets also run ignored test. More... | |
void | also_run_ignored_tests (bool also_run_ignored_tests) noexcept |
Sets also run ignored test. More... | |
bool | count_tests () const noexcept |
Gets count tests. More... | |
void | count_tests (bool count_tests) noexcept |
Sets count tests. More... | |
int32 | exit_status () const noexcept |
Gets exit status. More... | |
void | exit_status (int32 exit_status) noexcept |
Sets exit status. More... | |
const std::string & | filter_tests () const noexcept |
Gets filter tests. More... | |
void | filter_tests (const std::string &filter_tests) noexcept |
Sets filter tests. More... | |
bool | gtest_compatibility () const noexcept |
Gets google test comaptibility. More... | |
void | gtest_compatibility (bool gtest_compatibility) noexcept |
Sets google test comaptibility. More... | |
bool | is_match_test_name (const std::string &test_class_name, const std::string &test_name) const noexcept |
Return true if a specified test class name and specified test name match with the current filter tests. More... | |
bool | list_tests () const noexcept |
Gets list tests. More... | |
void | list_tests (bool list_tests) noexcept |
Sets list tests. More... | |
bool | output_color () const noexcept |
Gets output color. More... | |
void | output_color (bool output_color) noexcept |
Sets output color. More... | |
bool | output_json () const noexcept |
Gets output xml. More... | |
void | output_json (bool output_json) noexcept |
Sets output json. More... | |
bool | output_xml () const noexcept |
Gets output xml. More... | |
void | output_xml (bool output_xml) noexcept |
Sets output xml. More... | |
std::string | output_json_path () const noexcept |
Gets output json path. More... | |
void | output_json_path (const std::string &output_json_path) noexcept |
Sets output sjon path. More... | |
std::string | output_xml_path () const noexcept |
Gets output xml path. More... | |
void | output_xml_path (const std::string &output_xml_path) noexcept |
Sets output xml path. More... | |
bool | shuffle_test () const noexcept |
Gets shuffle tests. More... | |
void | shuffle_test (bool shuffle_test) noexcept |
Sets shuffle tests. More... | |
uint32 | random_seed () const noexcept |
Gets random seed value. More... | |
void | random_seed (uint32 random_seed) noexcept |
Sets random seed value. More... | |
int32 | repeat_test () const noexcept |
Gets repeat tests count. More... | |
void | repeat_tests (int32 repeat_tests) noexcept |
Sets repeat tests count. More... | |
bool | show_duration () const noexcept |
Gets if show duration for each test. More... | |
void | show_duration (bool show_duration) noexcept |
Sets if show duration for each test. More... | |
const xtd::date_time & | end_time () const noexcept |
Gets unit test end time. More... | |
const xtd::date_time & | start_time () const noexcept |
Gets unit test start time. More... | |
bool | enable_stack_trace () const noexcept |
Gets stack trace enabled. More... | |
void | enable_stack_trace (bool enable_stack_trace) noexcept |
Sets stack trace enabled. More... | |
static xtd::tunit::settings & | default_settings () noexcept |
Gets default settings instance. More... | |
|
default |
Creates new instance of settings.
|
noexcept |
Gets also run ignored test.
|
noexcept |
Sets also run ignored test.
also_run_ignored_tests | true if also run ignored test; otherwise false. |
|
noexcept |
Gets count tests.
|
noexcept |
Sets count tests.
count_tests | true if count tests; otherwise false. |
|
staticnoexcept |
Gets default settings instance.
|
noexcept |
Gets stack trace enabled.
|
noexcept |
Sets stack trace enabled.
enable_stack_trace | true if stack trace enabled; otherwise false. |
|
noexcept |
Gets unit test end time.
|
noexcept |
Gets exit status.
|
noexcept |
Sets exit status.
exit_status | exit status. |
|
noexcept |
Gets filter tests.
|
noexcept |
Sets filter tests.
filter_tests | filter tests. |
|
noexcept |
Gets google test comaptibility.
|
noexcept |
Sets google test comaptibility.
gtest_compatibility | true if google test comaptibility; otherwise false. |
|
noexcept |
Return true if a specified test class name and specified test name match with the current filter tests.
|
noexcept |
Gets list tests.
|
noexcept |
Sets list tests.
list_tests | true if list tests; otherwise false. |
|
noexcept |
Gets output color.
|
noexcept |
Sets output color.
output_color | true for colored output; otherwise false. |
|
noexcept |
Gets output xml.
|
noexcept |
Sets output json.
output_json | true for generate json report; otherwise false. |
|
noexcept |
Gets output json path.
|
noexcept |
Sets output sjon path.
output_jsonl_path | Output json path. |
|
noexcept |
Gets output xml.
|
noexcept |
Sets output xml.
output_xml | true for generate xml report; otherwise false. |
|
noexcept |
Gets output xml path.
|
noexcept |
Sets output xml path.
output_xml_path | Output xml path. |
|
noexcept |
Gets random seed value.
|
noexcept |
Sets random seed value.
random_seed | Random seed value. |
|
noexcept |
Gets repeat tests count.
|
noexcept |
Sets repeat tests count.
repeat_tests | Repeat test count. |
|
noexcept |
Gets if show duration for each test.
|
noexcept |
Sets if show duration for each test.
show_duration | true if show duration for each test; otherwise false. |
|
noexcept |
Gets shuffle tests.
|
noexcept |
Sets shuffle tests.
shuffle_test | Shuffle test. |
|
noexcept |
Gets unit test start time.