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

#define RTTEST_CHECK_MSG (   hTest,
  expr,
  DetailsArgs 
)
Value:
do { if (!(expr)) { \
            RTTestFailed((hTest), "line %u: %s", __LINE__, #expr); \
            RTTestFailureDetails DetailsArgs; \
         } \
    } while (0)

Check whether a boolean expression holds true.

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

Parameters:
hTestThe test handle.
exprThe expression to evaluate.
DetailsArgsArgument list for RTTestFailureDetails, including parenthesis.

Definition at line 552 of file test.h.

Referenced by testLatin1().


Generated by  Doxygen 1.6.0   Back to index