ldas-tools-al 2.6.4
Public Member Functions | List of all members
LDASTools::Testing::UnitTest Class Reference

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.
 

Detailed Description

Provide standard routines for unit testing of code.


The documentation for this class was generated from the following file: