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

Method initTestCase

kdevplatform/shell/tests/test_problemmodelset.cpp:61–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59};
60
61void TestProblemModelSet::initTestCase()
62{
63 AutoTestShell::init();
64 TestCore::initialize(Core::NoUi);
65
66 m_set.reset(new ProblemModelSet());
67
68 for (int i = 0; i < testModelCount; i++) {
69 m_testData.push_back(TestModelData({testModelIds[i], testModelNames[i], new ProblemModel(nullptr)}));
70 }
71}
72
73void TestProblemModelSet::cleanupTestCase()
74{

Callers

nothing calls this directly

Calls 5

initializeFunction · 0.85
TestModelDataClass · 0.85
initFunction · 0.50
resetMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected