trikRuntime
TestHelper Class Reference

Helper class that provides something to construct and destruct and a means to verify its destruction. More...

Classes

class  Destructable
 Class that can report that it was destroyed. More...
 

Public Member Functions

 ~TestHelper ()
 
void reportDestroyed ()
 Notifies helper that Destructable was indeed destroyed. More...
 
bool isDestroyed () const
 Returns current Destructable status. More...
 
Destructable * destructable () const
 Returns pointer to destructable itself. More...
 

Detailed Description

Helper class that provides something to construct and destruct and a means to verify its destruction.

Constructor & Destructor Documentation

TestHelper::~TestHelper ( )
inline

Member Function Documentation

Destructable* TestHelper::destructable ( ) const
inline

Returns pointer to destructable itself.

bool TestHelper::isDestroyed ( ) const
inline

Returns current Destructable status.

void TestHelper::reportDestroyed ( )
inline

Notifies helper that Destructable was indeed destroyed.


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