#include <vrj/Test/TestCase.h>
Inheritance diagram for vrj::test::TestCase:


Public Member Functions | |
| TestCase (std::string name) | |
| virtual | ~TestCase () |
| virtual void | setApp (vrj::App *app) |
| Sets the application that we are testing. | |
| virtual std::string | getName () |
| Gets the name of the test. | |
Protected Attributes | |
| vrj::App * | mApp |
| Pointer to the application to be testing. | |
| std::string | mName |
| Name of the test. | |
Definition at line 52 of file TestCase.h.
| vrj::test::TestCase::TestCase | ( | std::string | name | ) | [inline] |
| virtual vrj::test::TestCase::~TestCase | ( | ) | [inline, virtual] |
| virtual void vrj::test::TestCase::setApp | ( | vrj::App * | app | ) | [inline, virtual] |
Sets 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 62 of file TestCase.h.
References mApp.
00063 { 00064 mApp = app; 00065 }
| virtual std::string vrj::test::TestCase::getName | ( | ) | [inline, virtual] |
Gets the name of the test.
Implements vrj::test::Test.
Definition at line 67 of file TestCase.h.
References mName.
00068 { 00069 return mName; 00070 }
vrj::App* vrj::test::TestCase::mApp [protected] |
Pointer to the application to be testing.
Definition at line 73 of file TestCase.h.
Referenced by setApp().
std::string vrj::test::TestCase::mName [protected] |
1.5.1