| 573 | } |
| 574 | |
| 575 | bool TestFilteredProblemStore::checkNodeLabels() |
| 576 | { |
| 577 | const ProblemStoreNode *errorNode = m_store->findNode(0); |
| 578 | const ProblemStoreNode *warningNode = m_store->findNode(1); |
| 579 | const ProblemStoreNode *hintNode = m_store->findNode(2); |
| 580 | |
| 581 | MYCOMPARE(checkNodeLabel(errorNode, i18n("Error")), true); |
| 582 | MYCOMPARE(checkNodeLabel(warningNode, i18n("Warning")), true); |
| 583 | MYCOMPARE(checkNodeLabel(hintNode, i18n("Hint")), true); |
| 584 | |
| 585 | return true; |
| 586 | } |
| 587 | |
| 588 | // Generate 3 problems, all with different paths, different severity |
| 589 | // Also generates a problem with diagnostics |
nothing calls this directly
no test coverage detected