Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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)
 
#define QTEST_ASSERT_X(cond, where, what)
 

Macro Definition Documentation

◆ QTEST_ASSERT

#define QTEST_ASSERT ( cond)
Value:
((cond) ? static_cast<void>(0) : qt_assert(#cond, __FILE__, __LINE__))

Definition at line 11 of file qtestassert.h.

◆ QTEST_ASSERT_X

#define QTEST_ASSERT_X ( cond,
where,
what )
Value:
((cond) ? static_cast<void>(0) : qt_assert_x(where, what, __FILE__, __LINE__))
void qt_assert_x(const char *where, const char *what, const char *file, int line) noexcept
Definition qassert.cpp:112

Definition at line 13 of file qtestassert.h.