Unit testing framework.
More...
|
TestResult & | checkStringEqual (TestResult &result, const std::string &expected, const std::string &actual, const char *file, unsigned int line, const char *expr) |
|
template<typename T , typename U > |
TestResult & | checkEqual (TestResult &result, const T &expected, const U &actual, const char *file, unsigned int line, const char *expr) |
|
Unit testing framework.
- Warning
- : all assertions are non-aborting, test case execution will continue even if an assertion namespace. This constraint is for portability: the framework needs to compile on Visual Studio 6 and must not require exception usage.
◆ TestCaseFactory
Function pointer type for TestCase factory.
◆ checkEqual()
template<typename T , typename U >
TestResult& JsonTest::checkEqual |
( |
TestResult & |
result, |
|
|
const T & |
expected, |
|
|
const U & |
actual, |
|
|
const char * |
file, |
|
|
unsigned int |
line, |
|
|
const char * |
expr |
|
) |
| |
◆ checkStringEqual()