Classes | Public Types | Public Member Functions | Protected Member Functions | Friends

OpenMesh::Utils::TestingFramework Class Reference

Helper class for test programms. More...

#include </data1/home1/moebius/projects/release/OpenMesh-2.0/src/OpenMesh/Tools/Utils/TestingFramework.hh>

Inheritance diagram for OpenMesh::Utils::TestingFramework:
Inheritance graph
[legend]
Collaboration diagram for OpenMesh::Utils::TestingFramework:
Collaboration graph
[legend]

List of all members.

Classes

struct  TestDeleter
class  TestFunc
struct  TestRunner

Public Types

typedef TestingFramework Self
typedef std::logic_error verify_error
typedef TestFuncTestFuncPtr
typedef std::vector< TestFuncPtrTestSet

Public Member Functions

 TestingFramework (std::ostream &_os)
template<typename ValueType >
bool verify (const ValueType &_rc, const ValueType &_expected, const std::string &_info)
Selfbegin (std::string _title, const std::string &_info="")
Selfend ()
Selfinfo (const std::string &_info)
Selfinfo (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)

Protected Member Functions

int reg (TestFuncPtr _tfptr)

Friends

class TestFunc

Detailed Description

Helper class for test programms.

For internal use only.


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

acg pic Project OpenMesh, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .