diff options
author | Dominik Stadler <centic@apache.org> | 2021-10-21 14:17:25 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2021-10-21 14:17:25 +0000 |
commit | 684f35d3cbd4853b4da64f2151fb579c66042db4 (patch) | |
tree | ac21a0798b4f10e182bc48955d1e3c5b8ff4222b /poi-integration/src/test | |
parent | d2d1783087e763ad4e636ca0b02e30fc5e3a26d3 (diff) | |
download | poi-684f35d3cbd4853b4da64f2151fb579c66042db4.tar.gz poi-684f35d3cbd4853b4da64f2151fb579c66042db4.zip |
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
Diffstat (limited to 'poi-integration/src/test')
-rw-r--r-- | poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java b/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java index 9eda9586f6..30338f0f8b 100644 --- a/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java +++ b/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java @@ -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); |