bvhnodeTest< BASECLASS > Class Template Reference

BVHNode test class More...

#include <bvhnodeTest.h>

List of all members.

Public Member Functions

 bvhnodeTest ()
int countTestCases () const
void setUp ()
void tearDown ()
void testIsValidNot ()

Protected Attributes

BASECLASS * m_baseclass

Private Member Functions

 CPPUNIT_TEST_SUITE (bvhnodeTest)
 CPPUNIT_TEST (testIsValidNot)
 CPPUNIT_TEST_SUITE_END ()


Detailed Description

template<class BASECLASS>
class bvhnodeTest< BASECLASS >

BVHNode test class

Definition at line 10 of file bvhnodeTest.h.


Constructor & Destructor Documentation

template<class BASECLASS>
bvhnodeTest< BASECLASS >::bvhnodeTest (  )  [inline]

Definition at line 19 of file bvhnodeTest.h.

00020        {
00021        }


Member Function Documentation

template<class BASECLASS>
bvhnodeTest< BASECLASS >::CPPUNIT_TEST_SUITE ( bvhnodeTest< BASECLASS >   )  [private]

template<class BASECLASS>
bvhnodeTest< BASECLASS >::CPPUNIT_TEST ( testIsValidNot   )  [private]

template<class BASECLASS>
bvhnodeTest< BASECLASS >::CPPUNIT_TEST_SUITE_END (  )  [private]

template<class BASECLASS>
int bvhnodeTest< BASECLASS >::countTestCases (  )  const [inline]

Definition at line 23 of file bvhnodeTest.h.

00024        {
00025               return 1; 
00026        }

template<class BASECLASS>
void bvhnodeTest< BASECLASS >::setUp (  )  [inline]

Definition at line 28 of file bvhnodeTest.h.

00029        {
00030               this->m_baseclass = new BASECLASS; 
00031        }

template<class BASECLASS>
void bvhnodeTest< BASECLASS >::tearDown (  )  [inline]

Definition at line 33 of file bvhnodeTest.h.

00034        {
00035               delete this->m_baseclass; 
00036        }

template<class BASECLASS>
void bvhnodeTest< BASECLASS >::testIsValidNot (  )  [inline]

Definition at line 38 of file bvhnodeTest.h.

00039        {
00040               CPPUNIT_ASSERT( !this->m_baseclass->IsValid() );
00041        }


Member Data Documentation

template<class BASECLASS>
BASECLASS* bvhnodeTest< BASECLASS >::m_baseclass [protected]

Definition at line 16 of file bvhnodeTest.h.


The documentation for this class was generated from the following file:

Generated on Tue Mar 10 14:41:38 2009 for VRUT by  doxygen 1.5.5