Class TempLat::TDDAssertion
ClassList > TempLat > TDDAssertion
The function to call for the evaluation of each test. More...
#include <tddassertion.h>
Public Functions
| Type | Name |
|---|---|
| void | ASSERT (const char * stringifiedExpression, const char * fName, int line, bool result, std::string description=std::string()) |
| void | ASSERT (const char * stringifiedExpression, const char * fName, int line, std::pair< bool, std::string > result, std::string description=std::string()) Overload for Throws. |
| int | FailCount () |
| int | PassCount () |
| TDDAssertion () |
|
| void | operator() (const char * stringifiedExpression, const char * fName, int line, bool result, std::string description=std::string()) Call with assert( a == b, "A must equal B."). |
Public Static Functions
| Type | Name |
|---|---|
| void | Test (TestObjectUnknownHere & tdd) |
Detailed Description
Unit test: ctest -R test-tddassertion
Public Functions Documentation
function ASSERT [1/2]
inline void TempLat::TDDAssertion::ASSERT (
const char * stringifiedExpression,
const char * fName,
int line,
bool result,
std::string description=std::string()
)
function ASSERT [2/2]
Overload for Throws.
inline void TempLat::TDDAssertion::ASSERT (
const char * stringifiedExpression,
const char * fName,
int line,
std::pair< bool, std::string > result,
std::string description=std::string()
)
function FailCount
function PassCount
function TDDAssertion
function operator()
Call with assert( a == b, "A must equal B.").
inline void TempLat::TDDAssertion::operator() (
const char * stringifiedExpression,
const char * fName,
int line,
bool result,
std::string description=std::string()
)
Public Static Functions Documentation
function Test
template<typename TestObjectUnknownHere>
static inline void TempLat::TDDAssertion::Test (
TestObjectUnknownHere & tdd
)
Friends Documentation
friend operator<<
inline std::ostream & TempLat::TDDAssertion::operator<< (
std::ostream & stream,
const TDDAssertion & ass
)
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/util/tdd/tddassertion.h