| 58 | } |
| 59 | |
| 60 | void 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 | |
| 73 | void TestProblemStore::testClearProblems() |
| 74 | { |
nothing calls this directly
no test coverage detected