Class SkippedShell¶
Defined in File SkippedShell.hpp
Inheritance Relationships¶
Base Type¶
public mu::tiny::test::Shell(Class Shell)
Class Documentation¶
-
class SkippedShell : public mu::tiny::test::Shell¶
[source] Shell for a test that is skipped unless
-r(run-ignored) is set.Used by the SKIPPED_TEST() macro. The test body is still compiled and registered, but will_run() returns false until set_run_skipped() is called. See also SKIPPED_TEST_C_WRAPPER.
Public Functions
-
explicit SkippedShell(const char *group_name, const char *test_name, const char *file_name, int_least32_t line_number) noexcept¶
Construct and register an ignored test.
- Parameters:
group_name – Name of the test group.
test_name – Name of the individual test case.
file_name – Source file where the test is defined.
line_number – Line number of the test definition.
-
SkippedShell(const SkippedShell&) = delete¶
-
SkippedShell &operator=(const SkippedShell&) = delete¶
-
virtual bool will_run() const override¶
- Returns:
false unless set_run_ignored() has been called.
Protected Functions
-
virtual String get_macro_name() const override¶
- Returns:
The macro name reported in output (
"SKIPPED_TEST").
-
explicit SkippedShell(const char *group_name, const char *test_name, const char *file_name, int_least32_t line_number) noexcept¶