aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2021-01-03 17:02:21 +0000
committerDominik Stadler <centic@apache.org>2021-01-03 17:02:21 +0000
commitf34b731e3af7c08fe9aa10da37d2a3d4a7b31e69 (patch)
tree9940826ea34dc5e38358752d73c9debcdbba4847 /src/ooxml
parent83383cd0b7ad81d704f68045683d46f9669277bc (diff)
downloadpoi-f34b731e3af7c08fe9aa10da37d2a3d4a7b31e69.tar.gz
poi-f34b731e3af7c08fe9aa10da37d2a3d4a7b31e69.zip
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
Diffstat (limited to 'src/ooxml')
-rw-r--r--src/ooxml/testcases/org/apache/poi/ooxml/TestTriggerCoverage.java4
1 files changed, 1 insertions, 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<Arguments> files() {
+ public static Stream<Arguments> files() {
String dataDirName = System.getProperty(POIDataSamples.TEST_PROPERTY);
if(dataDirName == null) {
dataDirName = "test-data";