mirror of https://github.com/apache/poi.git
Give better names to parameterized tests
Otherwise they cannot be distinguished in the JUnit HTML report git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894449 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d2d1783087
commit
684f35d3cb
|
@ -138,7 +138,7 @@ public class TestAllFiles {
|
|||
return allfiles("extract");
|
||||
}
|
||||
|
||||
@ParameterizedTest(name = "#{index} {0} {1}")
|
||||
@ParameterizedTest(name = "Extracting - #{index} {0} {1}")
|
||||
@MethodSource("extractFiles")
|
||||
void handleExtracting(String file, FileHandlerKnown handler, String password, Class<? extends Throwable> exClass, String exMessage) throws IOException {
|
||||
if (StressTestUtils.excludeFile(file, EXPECTED_FAILURES)) return;
|
||||
|
@ -170,7 +170,7 @@ public class TestAllFiles {
|
|||
return allfiles("additional");
|
||||
}
|
||||
|
||||
@ParameterizedTest(name = "#{index} {0} {1}")
|
||||
@ParameterizedTest(name = "Additional - #{index} {0} {1}")
|
||||
@MethodSource("handleAdditionals")
|
||||
void handleAdditional(String file, FileHandlerKnown handler, String password, Class<? extends Throwable> exClass, String exMessage) {
|
||||
System.out.println("Running additionals on "+file);
|
||||
|
|
Loading…
Reference in New Issue