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>.
|
Classes | |
class | FatalSignalHandler |
Functions | |
bool | alreadyDebugging () |
void | maybeDisableCoreDump () |
void | prepareStackTrace () |
void | printTestRunTime () |
void | generateStackTrace () |
void | blockUnixSignals () |
Variables | |
static DebuggerProgram | debugger = None |
bool QTest::CrashHandler::alreadyDebugging | ( | ) |
Definition at line 171 of file qtestcrashhandler.cpp.
References open(), and read().
Referenced by generateStackTrace(), and QTest::TestMethods::invokeTests().
|
inline |
Definition at line 245 of file qtestcrashhandler_p.h.
void QTest::CrashHandler::generateStackTrace | ( | ) |
Definition at line 325 of file qtestcrashhandler.cpp.
References alreadyDebugging(), debugger, None, QT_EINTR_LOOP, ret, and void.
void QTest::CrashHandler::maybeDisableCoreDump | ( | ) |
Definition at line 232 of file qtestcrashhandler.cpp.
References ok, qEnvironmentVariableIntValue(), and qWarning.
Q_TESTLIB_EXPORT void QTest::CrashHandler::prepareStackTrace | ( | ) |
Definition at line 248 of file qtestcrashhandler.cpp.
References debugger, None, ok, and qEnvironmentVariableIntValue().
Referenced by quick_test_main_with_setup().
void QTest::CrashHandler::printTestRunTime | ( | ) |
Definition at line 315 of file qtestcrashhandler.cpp.
References QTest::currentTestFunction(), QTestLog::msecsFunctionTime(), QTestLog::msecsTotalTime(), and qRound().
|
static |
Definition at line 247 of file qtestcrashhandler.cpp.
Referenced by generateStackTrace(), and prepareStackTrace().