21 #include "../DebugAllocator.h"
25 fputs(qualifiedName.c_str(), stdout);
29 DebugAllocator::getSingleton().runTest(test, qualifiedName);
31 test.
run(qualifiedName.c_str(),
true);
Represents a test case, which is usually created through a macro that defines a subclass.
virtual void run(const char *nameOfTest, bool printDots)=0
Run the test and record the name of the test as __nameOfTest.
const string & getPath() const
Returns the path taken from the root of the tree to the current node as a dot-separated string.
virtual bool visit(TestCase &test)
Visits a testCase and returns true if visiting of any other objects should continue after the testSui...
const string & getName() const
Returns the name passed to the constructor.