CppUnit project page | FAQ | CppUnit home page |
#include <TestRunner.h>
Public Methods | |
TestRunner () | |
virtual | ~TestRunner () |
void | run (bool autoRun=false) |
void | addTest (CppUnit::Test *test) |
Private Types | |
typedef std::vector< Test * > | Tests |
Private Methods | |
TestRunner (const TestRunner ©) | |
Prevents the use of the copy constructor. More... | |
void | operator= (const TestRunner ©) |
Prevents the use of the copy operator. More... | |
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 |