Implementation of Tester's API's Object : TestSuite. More...
Namespaces | |
NRE | |
The NearlyRealEngine's global namespace. | |
Functions | |
void | NRE::Tester::fail (std::string const &message) |
void | NRE::Tester::fail (const InternalTest *test, std::string const &message) |
void | NRE::Tester::assertTrue (bool assert, std::string const &message) |
void | NRE::Tester::assertTrue (const InternalTest *test, bool assert, std::string const &message) |
void | NRE::Tester::assertFalse (bool assert, std::string const &message) |
void | NRE::Tester::assertFalse (const InternalTest *test, bool assert, std::string const &message) |
void | NRE::Tester::assertNull (const void *ptr, std::string const &message) |
void | NRE::Tester::assertNull (const InternalTest *test, const void *ptr, std::string const &message) |
void | NRE::Tester::assertNotNull (const void *ptr, std::string const &message) |
void | NRE::Tester::assertNotNull (const InternalTest *test, const void *ptr, std::string const &message) |
void NRE::Tester::assertFalse | ( | bool | assert, |
std::string const & | message = "False Assertion Failed" |
||
) |
Except a false as input
assert | the assert to test |
message | the message if the assertion fail |
void NRE::Tester::assertFalse | ( | const InternalTest * | test, |
bool | assert, | ||
std::string const & | message = "False Assertion Failed" |
||
) |
Except a false as input
test | the test for detailed information |
assert | the assert to test |
message | the message if the assertion fail |
void NRE::Tester::assertNotNull | ( | const void * | ptr, |
std::string const & | message = "NotNull Assertion Failed" |
||
) |
Except the input to not be a nullptr
ptr | the pointer to test |
message | the message if the assertion fail |
void NRE::Tester::assertNotNull | ( | const InternalTest * | test, |
const void * | ptr, | ||
std::string const & | message = "NotNull Assertion Failed" |
||
) |
Except the input to not be a nullptr
test | the test for detailed information |
ptr | the pointer to test |
message | the message if the assertion fail |
void NRE::Tester::assertNull | ( | const void * | ptr, |
std::string const & | message = "Null Assertion Failed" |
||
) |
Except the input to be a nullptr
ptr | the pointer to test |
message | the message if the assertion fail |
void NRE::Tester::assertNull | ( | const InternalTest * | test, |
const void * | ptr, | ||
std::string const & | message = "Null Assertion Failed" |
||
) |
Except the input to be a nullptr
test | the test for detailed information |
ptr | the pointer to test |
message | the message if the assertion fail |
void NRE::Tester::assertTrue | ( | bool | assert, |
std::string const & | message = "True Assertion Failed" |
||
) |
Except a true as input
assert | the assert to test |
message | the message if the assertion fail |
void NRE::Tester::assertTrue | ( | const InternalTest * | test, |
bool | assert, | ||
std::string const & | message = "True Assertion Failed" |
||
) |
Except a true as input
test | the test for detailed information |
assert | the assert to test |
message | the message if the assertion fail |
void NRE::Tester::fail | ( | std::string const & | message = "Fail" | ) |
Trigger a fail
message | the fail message |
void NRE::Tester::fail | ( | const InternalTest * | test, |
std::string const & | message = "Fail" |
||
) |
Trigger a fail
test | the test for detailed information |
message | the fail message |