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

Method initTestCase

plugins/clang/tests/test_problems.cpp:80–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78QTEST_GUILESS_MAIN(TestProblems)
79
80void TestProblems::initTestCase()
81{
82 QLoggingCategory::setFilterRules(QStringLiteral("*.debug=false\ndefault.debug=true\nkdevelop.plugins.clang.debug=true\n"));
83 QVERIFY(qputenv("KDEV_CLANG_DISPLAY_DIAGS", "1"));
84 AutoTestShell::init({"kdevclangsupport"});
85 TestCore::initialize(Core::NoUi);
86 DUChain::self()->disablePersistentStorage();
87 Core::self()->languageController()->backgroundParser()->setDelay(0);
88 CodeRepresentation::setDiskChangesForbidden(true);
89}
90
91void TestProblems::cleanupTestCase()
92{

Callers

nothing calls this directly

Calls 6

initializeFunction · 0.85
setDelayMethod · 0.80
backgroundParserMethod · 0.80
languageControllerMethod · 0.80
initClass · 0.50

Tested by

no test coverage detected