19#if defined(MICRO_OS_PLUS_INCLUDE_CONFIG_H)
20#include <micro-os-plus/config.h>
30#pragma clang diagnostic ignored "-Wc++98-compat"
31#pragma clang diagnostic ignored "-Wc++98-compat-pedantic"
40#if defined(MICRO_TEST_PLUS_TRACE)
41 printf (
"%s\n", __PRETTY_FUNCTION__);
55#if defined(MICRO_TEST_PLUS_TRACE)
56 printf (
"%s\n", __PRETTY_FUNCTION__);
125#if defined(MICRO_TEST_PLUS_TRACE)
126 printf (
"%s\n", __PRETTY_FUNCTION__);
void end_test_case(const char *name)
void begin_test_case(const char *name)
void end_test_suite(test_suite_base &suite)
void begin_test_suite(const char *name)
int failed_checks_
Count of test conditions that failed.
virtual void run(void)
Run the sequence of test cases in the suite.
test_suite_base(const char *name)
Construct a test suite.
int test_cases_
Count of test cases in the test suite.
void increment_failed(void)
Count one more failed test conditions.
void begin_test_case(const char *name)
Mark the beginning of a named test case.
const char * name_
The test suite name.
void increment_successful(void)
Count one more passed test conditions.
virtual ~test_suite_base()
constexpr const char * name()
Get the suite name.
void end_test_suite(void)
Mark the end of the test suite.
void end_test_case(void)
Mark the end of a test case.
bool process_deferred_begin
int successful_checks_
Count of test conditions that passed.
void begin_test_suite(void)
Begin the execution of the test suite.
const char * test_case_name_
The current test case name.
struct micro_os_plus::micro_test_plus::test_suite_base::@0 current_test_case
std::function< void(void)> callable_
virtual void run(void) override
Run the sequence of test cases in the suite.
virtual ~test_suite() override