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

Method testFindNode

kdevplatform/shell/tests/test_problemstore.cpp:86–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void TestProblemStore::testFindNode()
87{
88 for (int i = 0; i < m_problems.count(); i++) {
89 const auto *node = dynamic_cast<const ProblemNode*>(m_store->findNode(i));
90
91 QVERIFY(node);
92 QVERIFY(node->problem().data());
93 QCOMPARE(node->problem().data()->description(), m_problems[i]->description());
94 }
95}
96
97void TestProblemStore::testSeverity()
98{

Callers

nothing calls this directly

Calls 4

countMethod · 0.45
findNodeMethod · 0.45
dataMethod · 0.45
descriptionMethod · 0.45

Tested by

no test coverage detected