From f34b731e3af7c08fe9aa10da37d2a3d4a7b31e69 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sun, 3 Jan 2021 17:02:21 +0000 Subject: [PATCH] Allow JUnit 5 access to the parmaeters also on newer JDKs git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885070 13f79535-47bb-0310-9956-ffa450edef68 --- .../testcases/org/apache/poi/ooxml/TestTriggerCoverage.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ooxml/testcases/org/apache/poi/ooxml/TestTriggerCoverage.java b/src/ooxml/testcases/org/apache/poi/ooxml/TestTriggerCoverage.java index d7c9a8ae6b..280a134be4 100644 --- a/src/ooxml/testcases/org/apache/poi/ooxml/TestTriggerCoverage.java +++ b/src/ooxml/testcases/org/apache/poi/ooxml/TestTriggerCoverage.java @@ -45,10 +45,8 @@ import java.io.IOException; import java.io.InputStream; import java.lang.ref.WeakReference; import java.util.ArrayList; -import java.util.HashMap; import java.util.HashSet; import java.util.List; -import java.util.Map; import java.util.Set; import java.util.stream.Stream; @@ -64,7 +62,7 @@ public class TestTriggerCoverage { FAILING.add("stress025.docx"); } - private static Stream files() { + public static Stream files() { String dataDirName = System.getProperty(POIDataSamples.TEST_PROPERTY); if(dataDirName == null) { dataDirName = "test-data"; -- 2.39.5