46#ifndef MICRO_TEST_PLUS_TEST_SUITE_INLINES_H_
47#define MICRO_TEST_PLUS_TEST_SUITE_INLINES_H_
62#pragma GCC diagnostic push
63#pragma GCC diagnostic ignored "-Waggregate-return"
65#pragma clang diagnostic ignored "-Wc++98-compat"
66#pragma clang diagnostic ignored "-Wc++98-compat-pedantic"
87 template <
typename Callable_T,
typename... Args_T>
89 Args_T&&... arguments)
91 callable_{ std::bind (callable, arguments...) }
93#if defined(MICRO_OS_PLUS_TRACE_MICRO_TEST_PLUS)
94 printf (
"%s\n", __PRETTY_FUNCTION__);
97 runner.register_test_suite (
this);
104#pragma GCC diagnostic pop
The test runner for the µTest++ framework.
test_suite_base(const char *name)
Constructs a test suite.
constexpr const char * name(void)
Gets the suite name.
std::function< void(void)> callable_
Callable object representing the test suite's execution logic.
test_suite(const char *name, Callable_T &&callable, Args_T &&... arguments)
Class template constructor for test_suite.
Primary namespace for the µTest++ testing framework.
test_runner runner
Global instance of test_runner.