17#ifndef MICRO_TEST_PLUS_TEST_RUNNER_H_
18#define MICRO_TEST_PLUS_TEST_RUNNER_H_
31#pragma GCC diagnostic push
32#pragma GCC diagnostic ignored "-Wpadded"
34#pragma clang diagnostic ignored "-Wc++98-compat"
42 class test_suite_base;
122#pragma GCC diagnostic pop
The test runner. It maintains a list of test suites which automatically register themselves in their ...
test_runner & operator=(const test_runner &)=delete
std::vector< test_suite_base * > * suites_
Pointer to array of registered test suites. Statically initialised to zero as BSS,...
test_runner(test_runner &&)=delete
constexpr const char * name(void)
test_suite_base * default_test_suite_
Pointer to the default test suite which groups the main tests.
test_runner(const test_runner &)=delete
int exit_code(void)
Return 0 if the all tests were successful, 1 otherwise.
void initialize(int argc, char *argv[], const char *name)
Pass the main arguments explicitly, if the default constructor was used.
void register_test_suite(test_suite_base *suite)
Called by test suite constructors to register them to the runner.
const char * default_suite_name_
Base class for all test suites.