| 17 | using namespace KDevelop; |
| 18 | |
| 19 | class TestProblemStore : public QObject |
| 20 | { |
| 21 | Q_OBJECT |
| 22 | |
| 23 | private Q_SLOTS: |
| 24 | void initTestCase(); |
| 25 | void cleanupTestCase(); |
| 26 | |
| 27 | void testAddProblems(); |
| 28 | void testClearProblems(); |
| 29 | void testSetProblems(); |
| 30 | void testFindNode(); |
| 31 | void testSeverity(); |
| 32 | void testSeverities(); |
| 33 | void testScope(); |
| 34 | |
| 35 | private: |
| 36 | void generateProblems(); |
| 37 | |
| 38 | QScopedPointer<ProblemStore> m_store; |
| 39 | QVector<IProblem::Ptr> m_problems; |
| 40 | }; |
| 41 | |
| 42 | |
| 43 | void TestProblemStore::initTestCase() |
nothing calls this directly
no test coverage detected