#include <unittest_decls.h>
Inheritance diagram for TestCase< F >:
Public Member Functions | |
TestCase (const std::string &n, void(F::*func)()) | |
TestCase constructor. | |
TestCase (const TestCase &other) | |
Copy constructor. | |
TestCase< F > * | clone () const |
Virtual copy constructor. | |
void | run (BaseGatherer &g) |
Runs the test reporting results to the provided gatherer. |
TestCase constructor.
n | is the name of the test case | |
func | is the function to be invoked by testing |
Virtual copy constructor.
This might be quite memory intensive as it actually copies deep.
Implements BaseTest.
void TestCase< F >::run | ( | BaseGatherer & | g | ) | [virtual] |
Runs the test reporting results to the provided gatherer.
g | is the gatherer results are reported to |
Implements BaseTest.