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

Method testCString

kdevplatform/serialization/tests/test_indexedstringview.cpp:69–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void TestIndexedStringView::testCString()
70{
71 const IndexedStringView str(nullptr);
72 QCOMPARE(str.toString(), IndexedString{nullptr});
73 QCOMPARE(str.index(), 0u);
74 QVERIFY(str.isEmpty());
75}
76
77#include "moc_test_indexedstringview.cpp"

Callers

nothing calls this directly

Calls 3

toStringMethod · 0.45
indexMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected