Go to the source code of this file.
Defines | |
| #define | EQMSG(msg, a, b) CPPUNIT_ASSERT_EQUAL_MESSAGE(msg,a,b) |
| #define | EQ(a, b) CPPUNIT_ASSERT_EQUAL(a,b) |
| #define | ASSERT(expr) CPPUNIT_ASSERT(expr) |
| #define | FAIL(msg) CPPUNIT_FAIL(msg) |
| #define | EXCEPTION(operation, type) |
| #define ASSERT | ( | expr | ) | CPPUNIT_ASSERT(expr) |
Definition at line 8 of file caenv1x90/Asserts.h.
| #define EQ | ( | a, | |||
| b | ) | CPPUNIT_ASSERT_EQUAL(a,b) |
Definition at line 7 of file caenv1x90/Asserts.h.
| #define EQMSG | ( | msg, | |||
| a, | |||||
| b | ) | CPPUNIT_ASSERT_EQUAL_MESSAGE(msg,a,b) |
Definition at line 6 of file caenv1x90/Asserts.h.
| #define EXCEPTION | ( | operation, | |||
| type | ) |
Value:
{ \
bool ok = false; \
try { \
operation; \
} \
catch (type& e) { \
ok = true; \
} \
ASSERT(ok); \
}
Definition at line 16 of file caenv1x90/Asserts.h.
| #define FAIL | ( | msg | ) | CPPUNIT_FAIL(msg) |
Definition at line 9 of file caenv1x90/Asserts.h.
1.5.1