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

Provide standard routines for unit testing of code. More...

#include <UnitTestTS.h>

Public Member Functions

 UnitTestTS (void)
 Constructor.
 
 ~UnitTestTS (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.
 
 UnitTestTS (void)
 Constructor.
 
 ~UnitTestTS (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.
 
 UnitTestTS (void)
 Constructor.
 
 ~UnitTestTS (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.
 

Detailed Description

Provide standard routines for unit testing of code.


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