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>.
|
#include <QtCore/qglobal.h>
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__)) |
#define QTEST_ASSERT | ( | cond | ) | ((cond) ? static_cast<void>(0) : qt_assert(#cond, __FILE__, __LINE__)) |
Definition at line 11 of file qtestassert.h.
Referenced by QTestJUnitStreamer::QTestJUnitStreamer(), QAbstractTestLogger::~QAbstractTestLogger(), QTestLog::addBFail(), QTestLog::addBPass(), QTestLog::addBXFail(), QTestLog::addBXPass(), QTestTable::addColumn(), QTestLog::addFail(), QTestLog::addLogger(), QTestLog::addLogger(), QTestLog::addPass(), QTestLog::addSkip(), QTestLog::addXFail(), QTestLog::addXPass(), QTestData::append(), QTest::asciiToKey(), compareHelper(), compareHelper(), QTestData::data(), QTestLog::enterTestData(), QTestLog::enterTestFunction(), QTestResult::expectFail(), QTest::fetchData(), QTestLog::ignoreMessage(), QTestTable::indexOf(), QTestLog::info(), QTest::TestMethods::invokeTests(), QuickTestEvent::keyClickChar(), QuickTestEvent::keyPressChar(), QuickTestEvent::keyReleaseChar(), QTest::keyToAscii(), QTest::messageHandler(), QtQuickTest::mouseEvent(), QTest::mouseEvent(), QTestTable::newData(), QTestJUnitStreamer::output(), QAbstractTestLogger::outputString(), QTest::qCompare(), QTest::qElementData(), QTest::qInit(), QTest::qRun(), QTestResult::reportResult(), QTest::sendKeyEvent(), QTestResult::verify(), QTestLog::warn(), and QTest::wheelEvent().
#define QTEST_ASSERT_X | ( | cond, | |
where, | |||
what ) ((cond) ? static_cast<void>(0) : qt_assert_x(where, what, __FILE__, __LINE__)) |
Definition at line 13 of file qtestassert.h.
Referenced by QTest::addColumnInternal(), QTest::addRow(), QTest::fetchData(), and QTest::newRow().