@@ -125,7 +125,7 @@ protected String tryMatchMethodExecution(final String line, final TestOutputForm
125
125
final String methodWithParens = methodName + "()" ;
126
126
result =
127
127
formatter .formatTestResult (
128
- className , methodWithParens , "SUCCESS" , (long ) (timeElapsed * 1000 ));
128
+ " " + className , methodWithParens , "SUCCESS" , (long ) (timeElapsed * 1000 ));
129
129
}
130
130
return result ;
131
131
}
@@ -179,15 +179,15 @@ protected String tryMatchTestResults(
179
179
*/
180
180
protected String formatModuleHeader (
181
181
final String artifactId , final TestOutputFormatter formatter ) {
182
- final String moduleHeader = colors .colorize (
183
- artifactId , AnsiColors .BOLD + AnsiColors .BRIGHT_YELLOW );
184
- return formatter .formatProgressLine (moduleHeader );
182
+ return colors .colorize (artifactId , AnsiColors .BOLD + AnsiColors .BRIGHT_YELLOW );
185
183
}
186
184
187
185
private String getSimpleClassName (final String testClass ) {
188
186
return testClass .substring (testClass .lastIndexOf ('.' ) + 1 );
189
187
}
190
188
189
+ @ SuppressWarnings ("PMD.UnusedFormalParameter" )
190
+ // Parameters intentionally unused in current implementation
191
191
private String formatTestResults (
192
192
final int testsRun ,
193
193
final int failures ,
@@ -197,27 +197,27 @@ private String formatTestResults(
197
197
final TestOutputFormatter formatter ) {
198
198
final StringBuilder result = new StringBuilder ();
199
199
200
- // if (failures == 0 && errors == 0) {
201
- // result.append("✅ ");
202
- // } else {
203
- // result.append("❌ ");
204
- // }
200
+ // if (failures == 0 && errors == 0) {
201
+ // result.append("✅ ");
202
+ // } else {
203
+ // result.append("❌ ");
204
+ // }
205
205
206
- //result.append(String.format("Tests: %d", testsRun));
206
+ // result.append(String.format("Tests: %d", testsRun));
207
207
208
- //if (failures > 0) {
209
- // result.append(String.format(", Failures: %d", failures));
210
- //}
208
+ // if (failures > 0) {
209
+ // result.append(String.format(", Failures: %d", failures));
210
+ // }
211
211
212
- //if (errors > 0) {
213
- // result.append(String.format(", Errors: %d", errors));
214
- //}
212
+ // if (errors > 0) {
213
+ // result.append(String.format(", Errors: %d", errors));
214
+ // }
215
215
216
- //if (skipped > 0) {
217
- // result.append(String.format(", Skipped: %d", skipped));
218
- //}
216
+ // if (skipped > 0) {
217
+ // result.append(String.format(", Skipped: %d", skipped));
218
+ // }
219
219
220
- //result.append(String.format(" (%.3fs)", timeElapsed));
220
+ // result.append(String.format(" (%.3fs)", timeElapsed));
221
221
222
222
return formatter .formatProgressLine (result .toString ());
223
223
}
0 commit comments