Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

#define RTTESTI_CHECK_MSG (   expr,
do { if (!(expr)) { \
            RTTestIFailed("line %u: %s", __LINE__, #expr); \
            RTTestIFailureDetails DetailsArgs; \
         } \
    } while (0)

Check whether a boolean expression holds true.

If the expression is false, call RTTestIFailed giving the line number and expression.

exprThe expression to evaluate.
DetailsArgsArgument list for RTTestIFailureDetails, including parenthesis.

Definition at line 974 of file test.h.

Referenced by doBroadcastTest(), doUnicastTest(), and main().

Generated by  Doxygen 1.6.0   Back to index