| 94 | } |
| 95 | |
| 96 | void TestOutputModel::bench_data() |
| 97 | { |
| 98 | QTest::addColumn<KDevelop::OutputModel::OutputFilterStrategy>("strategy"); |
| 99 | QTest::addColumn<QStringList>("lines"); |
| 100 | |
| 101 | const QStringList lines = generateLines(); |
| 102 | const QStringList longLine = generateLongLine(); |
| 103 | |
| 104 | QTest::newRow("no-filter") << OutputModel::NoFilter << lines; |
| 105 | QTest::newRow("no-filter-longline") << OutputModel::NoFilter << longLine; |
| 106 | |
| 107 | QTest::newRow("compiler-filter") << OutputModel::CompilerFilter << lines; |
| 108 | QTest::newRow("compiler-filter-longline") << OutputModel::CompilerFilter << longLine; |
| 109 | |
| 110 | QTest::newRow("script-error-filter") << OutputModel::ScriptErrorFilter << lines; |
| 111 | QTest::newRow("script-error-filter-longline") << OutputModel::ScriptErrorFilter << longLine; |
| 112 | |
| 113 | QTest::newRow("static-analysis-filter") << OutputModel::StaticAnalysisFilter << lines; |
| 114 | QTest::newRow("static-analysis-filter-longline") << OutputModel::StaticAnalysisFilter << longLine; |
| 115 | } |
| 116 | |
| 117 | } |
| 118 |
nothing calls this directly
no test coverage detected