| 24 | } |
| 25 | |
| 26 | QStringList generateLines() |
| 27 | { |
| 28 | const int numLines = 10000; |
| 29 | QStringList outputlines; |
| 30 | do { |
| 31 | outputlines << buildCompilerActionLine(); |
| 32 | outputlines << buildCppCheckInformationLine(); |
| 33 | for (TestPathType pathType : |
| 34 | #ifdef Q_OS_WIN |
| 35 | {WindowsFilePathNoSpaces, WindowsFilePathWithSpaces} |
| 36 | #else |
| 37 | {UnixFilePathNoSpaces, UnixFilePathWithSpaces} |
| 38 | #endif |
| 39 | ) { |
| 40 | outputlines << buildCompilerErrorLine(pathType); |
| 41 | outputlines << buildCompilerLine(pathType); |
| 42 | outputlines << buildCppCheckErrorLine(pathType); |
| 43 | outputlines << buildPythonErrorLine(pathType); |
| 44 | } |
| 45 | } |
| 46 | while(outputlines.size() < numLines ); // gives us numLines (-ish) |
| 47 | return outputlines; |
| 48 | } |
| 49 | |
| 50 | QStringList generateLongLine() |
| 51 | { |
no test coverage detected