Include dependency graph for manager_bad.cc:

Defines | |
| #define | expect_catch(BLOCK, EXCEPTION) |
| Macro used to catch and possibly print out expected exceptions. | |
Functions | |
| int | main (int argc, char *argv[]) |
Variables | |
| struct { | |
| int verbose | |
| } | args |
|
|
Value: { \
try \
{ \
BLOCK; \
ensure(0); \
} \
catch(const EXCEPTION &_e) \
{ \
if( args.verbose ) \
{ \
cerr << "Tried \"" \
<< __STRING(BLOCK) \
<< "\" at line " \
<< __LINE__ \
<< " and got expected exception \"" \
<< _e \
<< "\"" \
<< endl; \
} \
} \
}
|
1.3.4