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

Method checkCounts

kdevplatform/shell/tests/test_filteredproblemstore.cpp:558–573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556}
557
558bool TestFilteredProblemStore::checkCounts(int error, int warning, int hint)
559{
560 const ProblemStoreNode *errorNode = m_store->findNode(0);
561 const ProblemStoreNode *warningNode = m_store->findNode(1);
562 const ProblemStoreNode *hintNode = m_store->findNode(2);
563
564 MYVERIFY(errorNode);
565 MYVERIFY(warningNode);
566 MYVERIFY(hintNode);
567
568 MYCOMPARE(errorNode->count(), error);
569 MYCOMPARE(warningNode->count(), warning);
570 MYCOMPARE(hintNode->count(), hint);
571
572 return true;
573}
574
575bool TestFilteredProblemStore::checkNodeLabels()
576{

Callers

nothing calls this directly

Calls 2

findNodeMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected