| 121 | } |
| 122 | |
| 123 | void TestProblemStore::testScope() |
| 124 | { |
| 125 | QSignalSpy spy(m_store.data(), &ProblemStore::changed); |
| 126 | ProblemScope scope = AllProjects; |
| 127 | |
| 128 | m_store->setScope(scope); |
| 129 | QVERIFY(m_store->scope() == scope); |
| 130 | QCOMPARE(spy.count(), 1); |
| 131 | } |
| 132 | |
| 133 | void TestProblemStore::generateProblems() |
| 134 | { |