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

#define RTTESTI_CHECK (   expr )
do { if (!(expr)) { \
            RTTestIFailed("line %u: %s", __LINE__, #expr); \
         } \
    } 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.

Definition at line 928 of file test.h.

Referenced by main(), testStrEnd(), tst1(), tstCloseInterfaces(), and TstRTStrPurgeEncoding().

Generated by  Doxygen 1.6.0   Back to index