36 "postcondition violated",
37 "postcondition violated",
38 "postcondition violated",
64 void fail (
const char *package,
const char *
file,
unsigned line,
73 msg.package = package;
81 msg.message = mymessage.c_str();
111 (*function) (object);
113 }
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