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

Method initTestCase

kdevplatform/shell/tests/test_shellbuddy.cpp:71–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69};
70
71void TestShellBuddy::initTestCase()
72{
73 AutoTestShell::init({{}}); // do not load plugins at all
74 TestCore::initialize();
75 m_documentController = Core::self()->documentController();
76 m_uiController = Core::self()->uiControllerInternal();
77
78 m_finder = new TestBuddyFinder;
79 KDevelop::IBuddyDocumentFinder::addFinder(QStringLiteral("text/plain"), m_finder);
80}
81
82void TestShellBuddy::cleanupTestCase()
83{

Callers

nothing calls this directly

Calls 4

initializeFunction · 0.85
documentControllerMethod · 0.80
uiControllerInternalMethod · 0.80
initFunction · 0.50

Tested by

no test coverage detected