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

Method initTestCase

plugins/grepview/tests/test_findreplace.cpp:49–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void FindReplaceTest::initTestCase()
50{
51 KDevelop::AutoTestShell::init({{}}); // do not load plugins at all
52 const auto core = TestCore::initialize(Core::NoUi);
53
54 delete core->projectController();
55 m_projectController = new TestProjectController(core);
56 core->setProjectController(m_projectController);
57}
58
59void FindReplaceTest::cleanupTestCase()
60{

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