TODO: extend with other potential path patterns (network shares?)
| 28 | |
| 29 | // TODO: extend with other potential path patterns (network shares?) |
| 30 | static 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 | |
| 46 | QString buildCppCheckErrorLine(TestPathType pathType = UnixFilePathNoSpaces) |
| 47 | { |
no outgoing calls
no test coverage detected