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

Method testRootNode

kdevplatform/shell/tests/test_problemstorenode.cpp:41–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void TestProblemStoreNode::testRootNode()
42{
43 QVERIFY(m_root->isRoot());
44 QVERIFY(m_root->parent() == nullptr);
45 QCOMPARE(m_root->index(), -1);
46 QCOMPARE(m_root->count(), 0);
47 QCOMPARE(m_root->children().count(), 0);
48 QVERIFY(m_root->label().isEmpty());
49 QVERIFY(m_root->problem().constData() == nullptr);
50}
51
52void TestProblemStoreNode::testChildren()
53{

Callers

nothing calls this directly

Calls 5

parentMethod · 0.45
indexMethod · 0.45
countMethod · 0.45
childrenMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected