A TestSuite is the \em composite component of the Composite pattern, and allows aggregation of Tests into hierarchies
Inheritance:
Public Methods
-
TestSuite( const std::string& name )
-
void add( Test* pTest )
- Adds a Test to the suite.
-
Test* findChild(const std::string& name)
-
-
virtual bool accept( Test::Visitor& v )
Inherited from Test:
Public Methods
-
const std::string& name() const
Public Members
-
typedef TestVisitor Visitor
Public Methods
-
inline Referenced& operator = (Referenced&)
-
inline void ref() const
-
inline void unref() const
-
inline void unref_nodelete() const
-
inline int referenceCount() const
-
inline static int createdCount()
-
inline static int deletedCount()
Protected Fields
-
mutable int _refCount
-
static int _createdCount
-
static int _deletedCount
Documentation
A TestSuite is the \em composite component of the Composite pattern,
and allows aggregation of Tests into hierarchies
- TestSuite( const std::string& name )
- void add( Test* pTest )
- Adds a Test to the suite.
- Test* findChild(const std::string& name)
-
- Returns:
- s The immediate child denoted by name, or 0 if not found.
- virtual bool accept( Test::Visitor& v )
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.