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

Method testUrl

kdevplatform/serialization/tests/test_indexedstring.cpp:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void TestIndexedString::testUrl()
40{
41 QFETCH(QUrl, url);
42 IndexedString indexed(url);
43 QCOMPARE(indexed.toUrl(), url);
44 QCOMPARE(indexed.index(), IndexedString::indexForUrl(url));
45 QTEST(indexed.str(), "string");
46}
47
48void TestIndexedString::test()
49{

Callers

nothing calls this directly

Calls 3

strMethod · 0.80
toUrlMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected