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

Method generateProblems

kdevplatform/shell/tests/test_problemstore.cpp:133–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133void TestProblemStore::generateProblems()
134{
135 for (int i = 0; i < 5; i++) {
136 IProblem::Ptr problem(new DetectedProblem());
137
138 problem->setDescription(QStringLiteral("PROBLEM") + QString::number(i + 1));
139 m_problems.push_back(problem);
140 }
141}
142
143QTEST_MAIN(TestProblemStore)
144

Callers

nothing calls this directly

Calls 2

setDescriptionMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected