39 "postcondition violated",
40 "postcondition violated",
41 "postcondition violated",
67 void fail (
const char *package,
const char *
file,
unsigned line,
76 msg.package = package;
84 msg.message = mymessage.c_str();
116 }
catch (std::exception& e)
#define RCU_ERROR_MSG(message)
const bool typeAbort[typeNum]
void fail(const char *package, const char *file, unsigned line, Type type, const char *error)
effects: report the error and abort either by exception or assert like guarantee: all-fail failures: ...
bool testInvariantPrint(TestInvariantFunction function, const void *object)
void(* TestInvariantFunction)(const void *object)
effects: apply the test invariant method on an object guarantee: no-fail availability: experts only r...
const char *const typeLiteral[typeNum]
This module defines a variety of assert style macros.
@ MESSAGE_ABORT
description: print and abort
@ MESSAGE_EXCEPTION
description: send out an exception
TestInvariantFunction m_function