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

Method initTestCase

plugins/clang/tests/test_duchain.cpp:68–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66TestDUChain::~TestDUChain() = default;
67
68void TestDUChain::initTestCase()
69{
70 QLoggingCategory::setFilterRules(QStringLiteral("*.debug=false\ndefault.debug=true\nkdevelop.plugins.clang.debug=true\n"));
71 QVERIFY(qputenv("KDEV_CLANG_DISPLAY_DIAGS", "1"));
72 AutoTestShell::init({QStringLiteral("kdevclangsupport")});
73 auto core = TestCore::initialize();
74 delete core->projectController();
75 m_projectController = new TestProjectController(core);
76 core->setProjectController(m_projectController);
77}
78
79void TestDUChain::cleanupTestCase()
80{

Callers

nothing calls this directly

Calls 4

initializeFunction · 0.85
projectControllerMethod · 0.80
setProjectControllerMethod · 0.80
initClass · 0.50

Tested by

no test coverage detected