Helper class for test programms.
More...
#include <OpenMesh/Tools/Utils/TestingFramework.hh>
|
typedef TestingFramework | Self |
|
typedef std::logic_error | verify_error |
|
typedef TestFunc * | TestFuncPtr |
|
typedef std::vector< TestFuncPtr > | TestSet |
|
|
| TestingFramework (std::ostream &_os) |
|
template<typename ValueType > |
bool | verify (const ValueType &_rc, const ValueType &_expected, const std::string &_info) |
|
Self & | begin (std::string _title, const std::string &_info="") |
|
Self & | end () |
|
Self & | info (const std::string &_info) |
|
Self & | info (const std::ostringstream &_ostr) |
|
size_t | errorTotal () const |
|
size_t | errorCount () const |
|
size_t | verifyTotal () const |
|
size_t | verifyCount () const |
|
size_t | goodTotal () const |
|
size_t | goodCount () const |
|
size_t | testTotal () const |
|
size_t | testCount () const |
|
int | run (void) |
|
|
int | reg (TestFuncPtr _tfptr) |
|
Helper class for test programms.
The documentation for this class was generated from the following file: