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

Method testAddProblems

kdevplatform/shell/tests/test_problemstore.cpp:60–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void TestProblemStore::testAddProblems()
61{
62 QCOMPARE(m_store->count(), 0);
63
64 int c = 0;
65 for (const IProblem::Ptr& problem : std::as_const(m_problems)) {
66 m_store->addProblem(problem);
67 c++;
68
69 QCOMPARE(m_store->count(), c);
70 }
71}
72
73void TestProblemStore::testClearProblems()
74{

Callers

nothing calls this directly

Calls 2

countMethod · 0.45
addProblemMethod · 0.45

Tested by

no test coverage detected