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 >:
[legend]List of all members.
|
Public Member Functions |
| TestCase_ (const std::string &sName, TestMethodPtr pTestMethod) |
virtual void | run (const Context &ctx) |
Protected Member Functions |
virtual | ~TestCase_ () |
Protected Attributes |
TestMethodPtr | _pTestMethod |
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 prior 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
Member Data Documentation
The documentation for this class was generated from the following file:
Generated at Thu Nov 24 16:25:53 2005 for the OpenSceneGraph
by doxygen 1.3.6.