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

vrj::test::TestCase Class Reference

Base class for normal single test case. More...

#include <TestCase.h>

Inheritance diagram for vrj::test::TestCase:

Inheritance graph
[legend]
Collaboration diagram for vrj::test::TestCase:

Collaboration graph
[legend]
List of all members.

Public Methods

 TestCase (std::string name)
virtual ~TestCase ()
virtual void setApp (vrj::App *app)
 Set the application that we are testing To do anything meaningful you will probably have to dynamic_cast the app to you application type. More...

virtual std::string getName ()
 Get the name of the test. More...


Protected Attributes

vrj::AppmApp
 Pointer to the application to be testing. More...

std::string mName
 Name of the test. More...


Detailed Description

Base class for normal single test case.

Definition at line 53 of file TestCase.h.


Constructor & Destructor Documentation

vrj::test::TestCase::TestCase std::string    name [inline]
 

Definition at line 56 of file TestCase.h.

References mName.

00057       : mName(name)
00058    {;}

virtual vrj::test::TestCase::~TestCase   [inline, virtual]
 

Definition at line 60 of file TestCase.h.

00061    {;}


Member Function Documentation

virtual void vrj::test::TestCase::setApp vrj::App   app [inline, virtual]
 

Set the application that we are testing To do anything meaningful you will probably have to dynamic_cast the app to you application type.

Implements vrj::test::Test.

Definition at line 63 of file TestCase.h.

References mApp.

00064    { mApp = app; }

virtual std::string vrj::test::TestCase::getName   [inline, virtual]
 

Get the name of the test.

Implements vrj::test::Test.

Definition at line 66 of file TestCase.h.

References mName.

00067    { return mName; }


Member Data Documentation

vrj::App* vrj::test::TestCase::mApp [protected]
 

Pointer to the application to be testing.

Definition at line 70 of file TestCase.h.

Referenced by setApp.

std::string vrj::test::TestCase::mName [protected]
 

Name of the test.

Definition at line 71 of file TestCase.h.

Referenced by getName, and TestCase.


The documentation for this class was generated from the following file:
Generated on Sun May 2 15:11:17 2004 for VR Juggler by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002