MFC test runner.Use this to launch the MFC TestRunner. Usually called from you CWinApp subclass:
More...
#include <MfcTestRunner.h>
List of all members.
Detailed Description
MFC test runner.
Use this to launch the MFC TestRunner. Usually called from you CWinApp subclass:
void
CHostAppApp::RunUnitTests()
{
CppUnit::MfcTestRunner runner;
runner.addTest( CppUnit::TestFactoryRegistry::getRegistry().makeTest() );
runner.run();
}
- See also:
- CppUnit::TextTestRunner, CppUnit::TestFactoryRegistry.
Member Typedef Documentation
Constructor & Destructor Documentation
MfcTestRunner::MfcTestRunner |
( |
| ) |
|
virtual MfcTestRunner::~MfcTestRunner |
( |
| ) |
|
|
virtual |
Member Function Documentation
void MfcTestRunner::addTest |
( |
Test * |
test | ) |
|
Test* MfcTestRunner::getRootTest |
( |
| ) |
|
|
protected |
void MfcTestRunner::run |
( |
| ) |
|
Member Data Documentation
Tests MfcTestRunner::m_tests |
|
protected |
The documentation for this class was generated from the following file: