Workspace 6.21.5
|
Nested class template defining a test case for test TestNum. More...
#include <Workspace/testcommon.h>
Public Member Functions | |
TestCase (StdCapture &stdCap) | |
Public Member Functions inherited from TestHarness | |
virtual | ~TestHarness () |
void | fail (const std::string &msg="") const |
const std::string & | getDescription () const |
const std::string & | getName () const |
void | pass () const |
int | run (bool captureOutput=false) |
void | setDescription (const std::string &desc) |
void | setName (const std::string &name) |
bool | shouldSkipRemainingTests () const |
void | skip (const std::string &msg="") const |
int | skipAll (const std::string &msg="") |
Protected Member Functions | |
void | runTest () override |
Protected Member Functions inherited from TestHarness | |
TestHarness (const std::string &name, const std::string &description="") | |
TestHarness (StdCapture &stdCap) | |
bool | fuzzyZero (double val, double tol) |
virtual void | runTest ()=0 |
Additional Inherited Members | |
Static Public Member Functions inherited from TestHarness | |
static bool | compareTextFiles (const std::string &file1, const std::string &file2) |
Clients should specialize the runTest() function.
|
inline |
|
inlineoverrideprotectedvirtual |
Specialize this function to perform a real test
Implements TestHarness.