CppUnit project page | FAQ | CppUnit home page |
#include <QtTestRunner.h>
Public Member Functions | |
QtTestRunner () | |
virtual | ~QtTestRunner () |
void | run (bool autoRun=false) |
void | addTest (Test *test) |
Private Types | |
typedef CppUnitVector< Test * > | Tests |
Private Member Functions | |
QtTestRunner (const QtTestRunner ©) | |
Prevents the use of the copy constructor. | |
void | operator= (const QtTestRunner ©) |
Prevents the use of the copy operator. | |
Test * | getRootTest () |
Private Attributes | |
Tests * | _tests |
TestSuite * | _suite |
Here is an example of usage:
#include <cppunit/extensions/TestFactoryRegistry.h> #include <cppunit/ui/qt/TestRunner.h> [...] void QDepWindow::runTests() { CppUnit::QtUi::TestRunner runner; runner.addTest( CppUnit::TestFactoryRegistry::getRegistry().makeTest() ); runner.run( true ); }
|
|
|
Constructs a TestRunner object. |
|
Destructor. |
|
Prevents the use of the copy constructor.
|
|
|
|
|
|
Prevents the use of the copy operator.
|
|
|
|
|
|
|
hosts this site. |
Send comments to: CppUnit Developers |