|
Squid Web Cache master
|
implements test program's main() function while enabling customization More...
#include <unitTestMain.h>
Public Member Functions | |
| virtual | ~TestProgram ()=default |
| virtual void | startup () |
| int | run (int argc, char *argv[]) |
Private Member Functions | |
| bool | runTests () |
Definition at line 25 of file unitTestMain.h.
|
virtualdefault |
Implements main(), combining all the steps. Must be called from main().
Definition at line 44 of file unitTestMain.h.
References Debug::Levels, runTests(), and startup().
Referenced by main().
|
private |
runs all tests registered with CPPUNIT_TEST_SUITE_REGISTRATION() calls
Definition at line 58 of file unitTestMain.h.
Referenced by run().
|
inlinevirtual |
Runs before all tests. Does nothing by default.
Reimplemented in MyTestProgram, MyTestProgram, MyTestProgram, MyTestProgram, MyTestProgram, MyTestProgram, MyTestProgram, MyTestProgram, MyTestProgram, MyTestProgram, and MyTestProgram.
Definition at line 32 of file unitTestMain.h.
Referenced by run().