Include dependency graph for SmingTest.h:
Go to the source code of this file.
Classes | |
class | SmingTest::Runner |
Namespaces | |
SmingTest | |
Macros | |
#define | REGISTER_TEST(name) register_test_##name() |
Provides consistent global name for test factory function. More... | |
Typedefs | |
typedef TestGroup *(* | SmingTest::Factory) () |
Factory function to create a TestGroup class. More... | |
using | SmingTest::Callback = Delegate< void()> |
Functions | |
template<class GroupClass > | |
void | registerGroup () |
Register a factory function (a lambda) to create a given TestGroup class. More... | |
Variables | |
Runner | SmingTest::runner |
Macro Definition Documentation
◆ REGISTER_TEST
#define REGISTER_TEST | ( | name | ) | register_test_##name() |
Provides consistent global name for test factory function.
- Parameters
-
name Name of test
Test modules should use this macro to implement factory function:
Function Documentation
◆ registerGroup()
template<class GroupClass >
void registerGroup | ( | ) |
Register a factory function (a lambda) to create a given TestGroup class.
- Template Parameters
-
Class to be registered
Class to simplify generation of begin/end messages for a test group.
Definition: TestGroup.h:34
#define REGISTER_TEST(name)
Provides consistent global name for test factory function.
Definition: SmingTest.h:48