Qt 4.8
|
#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) |
Definition at line 53 of file qtestassert.h.
Referenced by QTestLog::addBenchmarkResult(), QTestTable::addColumn(), QTestLog::addFail(), QTestLog::addPass(), QTestLog::addSkip(), QTestLog::addXFail(), QTestLog::addXPass(), QTestData::append(), QTest::asciiToKey(), QTestResult::compare(), QTestData::data(), QTestLog::enterTestFunction(), QTestResult::expectFail(), QTest::fetchData(), QTestFileLogger::flush(), QTestTable::indexOf(), QTestLog::info(), QTestBasicStreamer::isTtyOutput(), QAbstractTestLogger::isTtyOutput(), QTest::keyToAscii(), QTestLog::leaveTestFunction(), QTest::messageHandler(), QTest::mouseEvent(), QTestBasicStreamer::outputString(), QAbstractTestLogger::outputString(), QTest::printMessage(), QTestLog::printUnhandledIgnoreMessages(), QTest::qCompare(), QTest::qElementData(), QTest::qExec(), QTest::qInvokeTestMethod(), QTest::qInvokeTestMethods(), QTest::qSleep(), QTest::qtest_qParseArgs(), QTestData::QTestData(), QTestLog::redirectOutput(), QTest::sendKeyEvent(), QTest::simulateEvent(), QAbstractTestLogger::startLogging(), QTestLog::startLogging(), QTestBasicStreamer::startStreaming(), QAbstractTestLogger::stopLogging(), QTestLog::stopLogging(), QTestBasicStreamer::stopStreaming(), and QTestLog::warn().
#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().