Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qtestassert.h File Reference

(d4d600d411333bdfbcd116993ce30abd97b2a9aa)

#include <QtCore/qglobal.h>
+ Include dependency graph for qtestassert.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define QTEST_ASSERT(cond)   ((cond) ? static_cast<void>(0) : qt_assert(#cond, __FILE__, __LINE__))
 
#define QTEST_ASSERT_X(cond, where, what)   ((cond) ? static_cast<void>(0) : qt_assert_x(where, what, __FILE__, __LINE__))
 

Macro Definition Documentation

◆ QTEST_ASSERT

◆ QTEST_ASSERT_X

#define QTEST_ASSERT_X ( cond,
where,
what )   ((cond) ? static_cast<void>(0) : qt_assert_x(where, what, __FILE__, __LINE__))