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 )

Protected Fields

[more]Tests _tests

Protected Methods

[more]virtual ~TestSuite()

Protected

[more]typedef std::vector< osg::ref_ptr<Test> > Tests


Inherited from Test:

Public Methods

oconst std::string& name() const

Public

otypedef TestVisitor Visitor

Protected Fields

ostd::string _name


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (const Referenced&)
ostatic void setDeleteHandler(DeleteHandler* handler)
ostatic DeleteHandler* getDeleteHandler()
oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
oinline void unref() const

Protected Fields

omutable OpenThreads::Mutex _refMutex
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 )

ovirtual ~TestSuite()

otypedef std::vector< osg::ref_ptr<Test> > Tests

oTests _tests


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.