Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

osgUtx::TestCase_< FixtureT > Class Template Reference

TestCase_ is a class template for a leaf TestCase, which allows TestFixture classes to be easily collected into the tree of tests, and have their public test methods called. More...

Inheritance diagram for osgUtx::TestCase_< FixtureT >:

Inheritance graph
[legend]
List of all members.

Public Methods

 TestCase_ (const std::string &sName, TestMethodPtr pTestMethod)
virtual void run (const Context &ctx)

Detailed Description

template<typename FixtureT>
class osgUtx::TestCase_< FixtureT >

TestCase_ is a class template for a leaf TestCase, which allows TestFixture classes to be easily collected into the tree of tests, and have their public test methods called.

It is worth noting that, for a given TestCase_, an instance of the test fixture class will be constructed pior to the test method being called, and destructed afterwards. This prevents 'leakage' of information from one test case to the next.


Constructor & Destructor Documentation

template<typename FixtureT>
osgUtx::TestCase_< FixtureT >::TestCase_ const std::string &    sName,
TestMethodPtr    pTestMethod
[inline]
 


Member Function Documentation

template<typename FixtureT>
virtual void osgUtx::TestCase_< FixtureT >::run const Context   ctx [inline, virtual]
 

Implements osgUtx::TestCase.


The documentation for this class was generated from the following file:
Generated at Wed Sep 18 13:56:03 2002 for the Open Scene Graph by doxygen 1.2.16.