32 Test(
const string& name);
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.
virtual bool accept(TestVisitor &visitor)=0
Makes the visitor visit this object as per the Visitor Pattern.
string _name
The name passed to the constructor.
const string & getName() const
Returns the name passed to the constructor.
Test(const string &name)
Construct a Test with the given name.
bool operator<(const Test &test) const
Compares names lexicographically.