17#ifndef TEST_CASE_GUARD
18#define TEST_CASE_GUARD
void nameFactoryRegister(NameFactory< AbstractProduct > &factory)
Registers the string returned by ConcreteProduct::getStaticName() to a function that default-construc...
Represents a test case, which is usually created through a macro that defines a subclass.
virtual bool accept(TestVisitor &visitor)
Makes the visitor visit this object as per the Visitor Pattern.
virtual void run(const char *nameOfTest, bool printDots)=0
Run the test and record the name of the test as __nameOfTest.
This class is a visitor for classes derived from Test according to the Visitor Pattern.
This class represents a test or a suite of tests according to the Composite Pattern.