17#ifndef TEST_SUITE_GUARD
18#define TEST_SUITE_GUARD
void nameFactoryRegister(NameFactory< AbstractProduct > &factory)
Registers the string returned by ConcreteProduct::getStaticName() to a function that default-construc...
Represents a collection of tests, be they individual tests or yet other collections of tests.
TestIterator begin()
Returns an iterator to the beginning of the range of added tests.
vector< Test * > _tests
The collection of tests of added tests.
vector< Test * >::iterator TestIterator
An iterator for the added tests.
void sortTests()
Sorts the added tests in some canonical order.
void add(Test *test)
Adds a test to the test suite.
TestIterator end()
Returns an iterator just past the end of the range of added tests.
virtual bool accept(TestVisitor &visitor)
Makes the visitor visit this object as per the Visitor Pattern.
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.