|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
TestMacros.h File Reference
Define Documentation
#define ACDK_DOCORETEST |
( |
tm |
|
) |
|
|
|
Value: sys::coreout << "Testing " << #tm << " ==> "; \
if ((tm) == false) { \
sys::coreout << "in " << __FILE__ << ":" << __LINE__ << " failed!!!!!!!********" << sys::eofl; \
exit(1); \
} else { \
sys::coreout << "OK." << sys::eofl; \
} \
|
#define ACDK_DOCORETEST1 |
( |
tm, |
|
|
msg |
|
) |
|
|
|
Value: sys::coreout << "Testing " << #tm << " ==> "; \
if ((tm) == false) { \
sys::coreout << "in " << __FILE__ << ":" << __LINE__ << " failed!!!!!!!********: " << msg << sys::eofl; \
exit(1); \
} else { \
sys::coreout << "OK." << sys::eofl; \
} \
|
#define ACDK_DOTEST |
( |
tm |
|
) |
|
|
|
Value: sys::coreout << ">> Testing [" << #tm << "] in [" << __FILE__ << ":" << __LINE__ << "]:\n"; \
if ((tm) == false) { \
sys::coreout << " **** failed <<" << sys::eofl; \
THROW1_FQ(::, TestException, ::acdk::lang::RString("Test failed")); \
} else { \
sys::coreout << " <<OK." << sys::eofl; \
} \
|
#define ACDK_DOTEST1 |
( |
tm, |
|
|
msg |
|
) |
|
|
|
Value: sys::coreout << ">> Testing [" << #tm << "] in [" << __FILE__ << ":" << __LINE__ << "]:\n"; \
if ((tm) == false) { \
sys::coreout << " **** failed: " << msg << "<<" << sys::eofl; \
THROW1_FQ(::, TestException, ::acdk::lang::RString("Test failed") + msg); \
} else { \
sys::coreout << " <<OK." << sys::eofl; \
} \
|
|
|