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

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

Check whether a boolean expression holds true, returns void on false.

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

Parameters:
hTestThe test handle.
exprThe expression to evaluate.

Definition at line 534 of file test.h.


Generated by  Doxygen 1.6.0   Back to index