| 66 | TestDUChain::~TestDUChain() = default; |
| 67 | |
| 68 | void 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 | |
| 79 | void TestDUChain::cleanupTestCase() |
| 80 | { |
nothing calls this directly
no test coverage detected