Qt 4.8
Macros
qtestassert.h File Reference
#include <QtCore/qglobal.h>

Go to the source code of this file.

Macros

#define QTEST_ASSERT(cond)   do {if(!(cond))qt_assert(#cond,__FILE__,__LINE__);} while (0)
 
#define QTEST_ASSERT_X(cond, where, what)   do {if(!(cond))qt_assert_x(where, what,__FILE__,__LINE__);} while (0)
 

Macro Definition Documentation

◆ QTEST_ASSERT

#define QTEST_ASSERT (   cond)    do {if(!(cond))qt_assert(#cond,__FILE__,__LINE__);} while (0)

◆ QTEST_ASSERT_X

#define QTEST_ASSERT_X (   cond,
  where,
  what 
)    do {if(!(cond))qt_assert_x(where, what,__FILE__,__LINE__);} while (0)

Definition at line 55 of file qtestassert.h.

Referenced by QTest::addColumnInternal(), QTest::fetchData(), and QTest::newRow().