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

Function projectPath

kdevplatform/outputview/tests/testlinebuilderfunctions.h:30–44  ·  view source on GitHub ↗

TODO: extend with other potential path patterns (network shares?)

Source from the content-addressed store, hash-verified

28
29// TODO: extend with other potential path patterns (network shares?)
30static QString projectPath(TestPathType pathType = UnixFilePathNoSpaces)
31{
32 switch (pathType)
33 {
34 case WindowsFilePathNoSpaces:
35 return QStringLiteral("C:/some/path/to/a/project");
36 case WindowsFilePathWithSpaces:
37 return QStringLiteral("C:/some/path with spaces/to/a/project");
38 case UnixFilePathNoSpaces:
39 return QStringLiteral("/some/path/to/a/project");
40 case UnixFilePathWithSpaces:
41 return QStringLiteral("/some/path with spaces/to/a/project");
42 }
43 Q_UNREACHABLE();
44}
45
46QString buildCppCheckErrorLine(TestPathType pathType = UnixFilePathNoSpaces)
47{

Calls

no outgoing calls

Tested by

no test coverage detected