Frobby 0.9.5
|
This class represents a test or a suite of tests according to the Composite Pattern. More...
#include <Test.h>
Public Member Functions | |
Test (const string &name) | |
Construct a Test with the given name. | |
virtual | ~Test () |
virtual bool | accept (TestVisitor &visitor)=0 |
Makes the visitor visit this object as per the Visitor Pattern. | |
const string & | getName () const |
Returns the name passed to the constructor. | |
bool | operator< (const Test &test) const |
Compares names lexicographically. | |
Private Attributes | |
string | _name |
The name passed to the constructor. | |
This class represents a test or a suite of tests according to the Composite Pattern.
The hierarchy of tests can be traversed according to the Visitor Pattern.
|
pure virtual |
|
private |