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

Function makeUrl

kdevplatform/sublime/tests/test_document.cpp:26–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25namespace {
26QUrl makeUrl(const QString& fileName)
27{
28 constexpr auto nonexistentDirPath =
29#ifdef Q_OS_WIN
30 "C:"
31#endif
32 "/non/existent/path/to/a-dir/";
33
34 return QUrl::fromLocalFile(nonexistentDirPath + fileName);
35}
36
37void testUrlDocument(const UrlDocument& doc, const QUrl& url)
38{

Callers 1

testUrlDocumentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected