MCPcopy Create free account
hub / github.com/KDE/kdevelop / initTestCase

Method initTestCase

plugins/gdb/unittests/test_gdbprinters.cpp:128–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126} // unnamed namespace
127
128void QtPrintersTest::initTestCase()
129{
130 QStandardPaths::setTestModeEnabled(true);
131
132 // Prevent SIGPIPE, then "ICE default IO error handler doing an exit(), pid = <PID>, errno = 32"
133 // crash when the test runs for at least 60 seconds. This is a workaround for QTBUG-58709.
134 QCoreApplication::processEvents();
135
136 const auto gdbExecutable = QStandardPaths::findExecutable("gdb");
137 if (gdbExecutable.isEmpty()) {
138 QSKIP("Skipping because `gdb` executable is not available");
139 }
140}
141
142void QtPrintersTest::testQString()
143{

Callers

nothing calls this directly

Calls 2

findExecutableFunction · 0.50
isEmptyMethod · 0.45

Tested by

no test coverage detected