46#if defined(MICRO_OS_PLUS_INCLUDE_CONFIG_H)
47#include <micro-os-plus/config.h>
57#pragma clang diagnostic ignored "-Wc++98-compat"
58#pragma clang diagnostic ignored "-Wc++98-compat-pedantic"
77#if defined(MICRO_OS_PLUS_TRACE_MICRO_TEST_PLUS)
78 printf (
"%s\n", __PRETTY_FUNCTION__);
108#if defined(MICRO_OS_PLUS_TRACE_MICRO_TEST_PLUS)
109 printf (
"%s\n", __PRETTY_FUNCTION__);
243#if defined(MICRO_OS_PLUS_TRACE_MICRO_TEST_PLUS)
244 printf (
"%s\n", __PRETTY_FUNCTION__);
int failed_checks_
Count of test conditions that failed.
virtual void run(void)
Runs the sequence of test cases in the suite.
test_suite_base(const char *name)
Constructs a test suite.
int test_cases_
Count of test cases in the test suite.
void increment_failed(void)
Increments the count of failed test conditions.
struct micro_os_plus::micro_test_plus::test_suite_base::@307331361010072137141032203112105164200271360345 current_test_case
Structure holding the current test case's check counters.
constexpr const char * name(void)
Gets the suite name.
void begin_test_case(const char *name)
Marks the beginning of a named test case.
const char * name_
The test suite name.
void increment_successful(void)
Increments the count of passed test conditions.
virtual ~test_suite_base()
Virtual destructor for the test_suite_base class.
void end_test_suite(void)
Marks the end of the test suite.
void end_test_case(void)
Marks the end of a test case.
bool process_deferred_begin
Indicates whether to process deferred begin for test cases.
int successful_checks_
Count of test conditions that passed.
void begin_test_suite(void)
Begins the execution of the test suite.
const char * test_case_name_
The current test case name.
std::function< void(void)> callable_
Callable object representing the test suite's execution logic.
virtual void run(void) override
Runs the sequence of test cases in the suite by invoking the stored callable.
virtual ~test_suite() override
Virtual destructor for the test_suite class.
Main C++ header with the declarations for the µTest++ Testing Framework.
Primary namespace for the µTest++ testing framework.
test_reporter reporter
Global instance of test_reporter.