#include <unittest_decls.h>
Inheritance diagram for BaseTest:
Public Member Functions | |
BaseTest (const std::string &n) | |
BaseTest constructor. | |
virtual BaseTest * | clone () const=0 |
Virtual copy constructor. | |
virtual void | run (BaseGatherer &g)=0 |
Runs the test reporting results to the provided gatherer. | |
Protected Attributes | |
std::string | name |
The name of the test. |
It is implemented in TestCase and TestSuite.
BaseTest::BaseTest | ( | const std::string & | n | ) | [inline] |
virtual BaseTest* BaseTest::clone | ( | ) | const [pure virtual] |
Virtual copy constructor.
This might be quite memory intensive as it actually copies deep.
Implemented in TestCase< F >, and TestSuite.
virtual void BaseTest::run | ( | BaseGatherer & | g | ) | [pure virtual] |
Runs the test reporting results to the provided gatherer.
g | is the gatherer results are reported to |
Implemented in TestCase< F >, and TestSuite.