class SG_EXPORT osgUtx::TestSuite

A TestSuite is the \em composite component of the Composite pattern, and allows aggregation of Tests into hierarchies

Inheritance:


Public Methods

[more] TestSuite( const std::string& name )
[more]void add( Test* pTest )
Adds a Test to the suite.
[more]Test* findChild(const std::string& name)
[more]virtual bool accept( Test::Visitor& v )


Inherited from Test:

Public Methods

oconst std::string& name() const


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (Referenced&)
oinline void ref() const
oinline void unref() const
oinline void unref_nodelete() const
oinline const int referenceCount() const

Protected Fields

omutable int _refCount


Documentation

A TestSuite is the \em composite component of the Composite pattern, and allows aggregation of Tests into hierarchies
o TestSuite( const std::string& name )

ovoid add( Test* pTest )
Adds a Test to the suite.

oTest* findChild(const std::string& name)
Returns:
s The immediate child denoted by name, or 0 if not found.

ovirtual 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++.