OpenClovis Test Infrastructure. More...
Go to the source code of this file.
Macros | |
| #define | clTest(string, predicate, errorPrintf) |
| Run an individual test. More... | |
| #define | clTestCase(name, test) |
| Run a test case. More... | |
| #define | clTestCaseEnd(synopsis) |
| Stop this test case. More... | |
| #define | clTestCaseMalfunction(reason, predicate, execOnFailure) |
| Indicate that this test case cannot be completed, if the predicate fails. More... | |
| #define | clTestCaseNumErrors() clCurTc.failed |
| Returns the number of errored (failed) tests run so far in this test case. More... | |
| #define | clTestCaseNumMalfunctions() clCurTc.malfunction |
| Return the number of malfunctioned tests in this test case (so far). More... | |
| #define | clTestCaseNumPasses() clCurTc.passed |
| Return the number of successful (passed) test run so far in this test case. More... | |
| #define | clTestCaseStart(testname) |
| Start a Test Case. More... | |
| #define | clTestExecOnFailure(string, predicate, errorPrintf, execOnFailure) |
| Run an individual test, and run some special code if it fails. More... | |
| #define | clTestFailed(__string) clTestFailedAt(__FILE__, __LINE__,__string) |
| Indicate that a test failed. More... | |
| #define | clTestFailedAt(__file, __line, __string) |
| Just like clTestFailed, but allows the caller to specify the file and line. More... | |
| #define | clTestGroupFinalize() clTestGroupFinalizeImpl() |
| Stop the Test infrastructure. More... | |
| #define | clTestGroupInitialize(name) clTestPrint(name) |
| Start up the Test infrastructure. More... | |
| #define | clTestGroupMalfunction(reason, predicate, execOnFailure) |
| Indicate that the Test Group cannot execute, if an expression evaluates to False. More... | |
| #define | clTestPrint(x) clTestPrintAt(__FILE__, __LINE__, __FUNCTION__, x) |
| Print something to the test console. More... | |
| #define | clTestPrintAt(__file, __line, __function, x) |
| Just like clTestPrint, but allows the caller to specify the file and line. More... | |
| #define | clTestSuccess(__string) clTestSuccessAt(__FILE__, __LINE__, __string) |
| Indicate that a test passed. More... | |
| #define | clTestSuccessAt(__file, __line, __string) |
| Just like clTestSuccess, but allows the caller to specify the file and line. More... | |
OpenClovis Test Infrastructure.