poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1885070 - /poi/trunk/src/ooxml/testcases/org/apache/poi/ooxml/TestTriggerCoverage.java
Date Sun, 03 Jan 2021 17:02:22 GMT
Author: centic
Date: Sun Jan  3 17:02:21 2021
New Revision: 1885070

URL: http://svn.apache.org/viewvc?rev=1885070&view=rev
Log:
Allow JUnit 5 access to the parmaeters also on newer JDKs

Modified:
    poi/trunk/src/ooxml/testcases/org/apache/poi/ooxml/TestTriggerCoverage.java

Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/ooxml/TestTriggerCoverage.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/ooxml/TestTriggerCoverage.java?rev=1885070&r1=1885069&r2=1885070&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/ooxml/TestTriggerCoverage.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/ooxml/TestTriggerCoverage.java Sun Jan  3
17:02:21 2021
@@ -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";



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message