Class Index | Cross Index | Namespace Index |
Provide standard routines for unit testing of code.
Contained in: General
Derived from:
none
Derived by:
none
#include "general/unittest.h"
public function member index: |
|||
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 |