From 684f35d3cbd4853b4da64f2151fb579c66042db4 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Thu, 21 Oct 2021 14:17:25 +0000 Subject: 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 --- poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'poi-integration') 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 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 exClass, String exMessage) { System.out.println("Running additionals on "+file); -- cgit v1.2.3