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

Method initTestCase

kdevplatform/shell/tests/test_problemmodel.cpp:56–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54};
55
56void TestProblemModel::initTestCase()
57{
58 AutoTestShell::init();
59 TestCore::initialize(Core::NoUi);
60
61 m_model.reset(new ProblemModel(nullptr));
62 m_model->setScope(BypassScopeFilter);
63
64 generateProblems();
65}
66
67void TestProblemModel::cleanupTestCase()
68{

Callers

nothing calls this directly

Calls 4

initializeFunction · 0.85
initFunction · 0.50
resetMethod · 0.45
setScopeMethod · 0.45

Tested by

no test coverage detected