17#ifndef TEST_SUITE_GUARD
18#define TEST_SUITE_GUARD
TestSuite(const string &name)
Constructs a test suite with the given name.
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.
Test(const string &name)
Construct a Test with the given name.