ldas-tools-al 2.6.4
|
Provide standard routines for unit testing of code. More...
#include <unittest.h>
Public Member Functions | |
UnitTest (void) | |
Constructor. | |
~UnitTest (void) | |
Destructor. | |
std::ostream & | Check (bool TestResult) |
Check for error conditions. | |
void | Check (bool TestResult, std::string Message) |
Check for error conditions. | |
void | Exit (void) |
Exit with the appropriate exit code. | |
void | Init (int ArgC, char **ArgV) |
Initialize the class with command line arguments. | |
bool | IsVerbose (int Level=0) const |
Check if in verbose mode. | |
std::ostream & | Message (bool Leader=true) const |
Output info message. | |
std::ostream & | Message (int Level, bool Leader=true) const |
Output info message. | |
int | Verbosity () const |
Retrieve the verbosity level. | |
UnitTest (void) | |
Constructor. | |
~UnitTest (void) | |
Destructor. | |
std::ostream & | Check (bool TestResult) |
Check for error conditions. | |
void | Check (bool TestResult, std::string Message) |
Check for error conditions. | |
void | Exit (void) |
Exit with the appropriate exit code. | |
void | Init (int ArgC, char **ArgV) |
Initialize the class with command line arguments. | |
bool | IsVerbose (int Level=0) const |
Check if in verbose mode. | |
std::ostream & | Message (bool Leader=true) const |
Output info message. | |
std::ostream & | Message (int Level, bool Leader=true) const |
Output info message. | |
int | Verbosity () const |
Retrieve the verbosity level. | |
Provide standard routines for unit testing of code.