#include <OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Tools/Utils/TestingFramework.hh>
|
| int | reg (TestFuncPtr _tfptr) |
| |
Helper class for test programms.
Definition at line 119 of file TestingFramework.hh.
◆ Self
◆ TestFuncPtr
| typedef TestFunc* OpenMesh::Utils::TestingFramework::TestFuncPtr |
◆ TestSet
| typedef std::vector<TestFuncPtr> OpenMesh::Utils::TestingFramework::TestSet |
◆ verify_error
| typedef std::logic_error OpenMesh::Utils::TestingFramework::verify_error |
◆ TestingFramework()
| OpenMesh::Utils::TestingFramework::TestingFramework |
( |
std::ostream & |
_os | ) |
|
|
inline |
◆ ~TestingFramework()
| virtual OpenMesh::Utils::TestingFramework::~TestingFramework |
( |
| ) |
|
|
inlinevirtual |
◆ begin()
| Self & OpenMesh::Utils::TestingFramework::begin |
( |
std::string |
_title, |
|
|
const std::string & |
_info = "" |
|
) |
| |
|
inline |
◆ end()
| Self & OpenMesh::Utils::TestingFramework::end |
( |
| ) |
|
|
inline |
◆ errorCount()
| size_t OpenMesh::Utils::TestingFramework::errorCount |
( |
| ) |
const |
|
inline |
◆ errorTotal()
| size_t OpenMesh::Utils::TestingFramework::errorTotal |
( |
| ) |
const |
|
inline |
◆ goodCount()
| size_t OpenMesh::Utils::TestingFramework::goodCount |
( |
| ) |
const |
|
inline |
◆ goodTotal()
| size_t OpenMesh::Utils::TestingFramework::goodTotal |
( |
| ) |
const |
|
inline |
◆ info() [1/2]
| Self & OpenMesh::Utils::TestingFramework::info |
( |
const std::ostringstream & |
_ostr | ) |
|
|
inline |
◆ info() [2/2]
| Self & OpenMesh::Utils::TestingFramework::info |
( |
const std::string & |
_info | ) |
|
|
inline |
◆ reg()
| int OpenMesh::Utils::TestingFramework::reg |
( |
TestFuncPtr |
_tfptr | ) |
|
|
inlineprotected |
◆ run()
| int OpenMesh::Utils::TestingFramework::run |
( |
void |
| ) |
|
|
inline |
◆ testCount()
| size_t OpenMesh::Utils::TestingFramework::testCount |
( |
| ) |
const |
|
inline |
◆ testTotal()
| size_t OpenMesh::Utils::TestingFramework::testTotal |
( |
| ) |
const |
|
inline |
◆ verify()
template<typename ValueType >
| bool OpenMesh::Utils::TestingFramework::verify |
( |
const ValueType & |
_rc, |
|
|
const ValueType & |
_expected, |
|
|
const std::string & |
_info |
|
) |
| |
|
inline |
◆ verifyCount()
| size_t OpenMesh::Utils::TestingFramework::verifyCount |
( |
| ) |
const |
|
inline |
◆ verifyTotal()
| size_t OpenMesh::Utils::TestingFramework::verifyTotal |
( |
| ) |
const |
|
inline |
◆ TestFunc
◆ errCount_
| size_t OpenMesh::Utils::TestingFramework::errCount_ |
|
private |
◆ errTotal_
| size_t OpenMesh::Utils::TestingFramework::errTotal_ |
|
private |
◆ os_
| std::ostream& OpenMesh::Utils::TestingFramework::os_ |
|
private |
◆ testCount_
| size_t OpenMesh::Utils::TestingFramework::testCount_ |
|
private |
◆ tests_
| TestSet OpenMesh::Utils::TestingFramework::tests_ |
|
private |
◆ testTitle_
| std::string OpenMesh::Utils::TestingFramework::testTitle_ |
|
private |
◆ testTotal_
| size_t OpenMesh::Utils::TestingFramework::testTotal_ |
|
private |
◆ verifyCount_
| size_t OpenMesh::Utils::TestingFramework::verifyCount_ |
|
private |
◆ verifyTotal_
| size_t OpenMesh::Utils::TestingFramework::verifyTotal_ |
|
private |
The documentation for this class was generated from the following file: