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

Method initTestCase

plugins/qmakemanager/tests/test_qmakeproject.cpp:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void TestQMakeProject::initTestCase()
63{
64 AutoTestShell::init({ "KDevQMakeManager", "KDevQMakeBuilder", "KDevMakeBuilder", "KDevStandardOutputView" });
65 TestCore::initialize();
66
67 // Verify m_buildDir after initialization. Otherwise cleanupTestCase() crashes if the check fails.
68 QVERIFY2(m_buildDir.isValid(), qPrintable("couldn't create temporary directory: " + m_buildDir.errorString()));
69}
70
71void TestQMakeProject::cleanupTestCase()
72{

Callers

nothing calls this directly

Calls 4

initializeFunction · 0.85
initClass · 0.50
isValidMethod · 0.45
errorStringMethod · 0.45

Tested by

no test coverage detected