poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1882040 - /poi/trunk/src/integrationtest/org/apache/poi/stress/HSSFRecordsStresser.java
Date Sat, 26 Sep 2020 06:19:34 GMT
Author: centic
Date: Sat Sep 26 06:19:34 2020
New Revision: 1882040

URL: http://svn.apache.org/viewvc?rev=1882040&view=rev
Log:
Avoid dependency on ooxml-test in integration-test

Modified:
    poi/trunk/src/integrationtest/org/apache/poi/stress/HSSFRecordsStresser.java

Modified: poi/trunk/src/integrationtest/org/apache/poi/stress/HSSFRecordsStresser.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/integrationtest/org/apache/poi/stress/HSSFRecordsStresser.java?rev=1882040&r1=1882039&r2=1882040&view=diff
==============================================================================
--- poi/trunk/src/integrationtest/org/apache/poi/stress/HSSFRecordsStresser.java (original)
+++ poi/trunk/src/integrationtest/org/apache/poi/stress/HSSFRecordsStresser.java Sat Sep 26
06:19:34 2020
@@ -24,9 +24,9 @@ import java.io.FileInputStream;
 import java.io.InputStream;
 import java.util.List;
 
+import org.apache.poi.hssf.HSSFTestDataSamples;
 import org.apache.poi.hssf.record.Record;
 import org.apache.poi.hssf.usermodel.HSSFWorkbook;
-import org.apache.poi.xssf.XSSFTestDataSamples;
 import org.junit.Test;
 
 /**
@@ -68,7 +68,7 @@ public class HSSFRecordsStresser {
     // a test-case to test this locally without executing the full TestAllFiles
     @Test
     public void test() throws Exception {
-        try (InputStream stream = new FileInputStream(XSSFTestDataSamples.getSampleFile("15556.xls")))
{
+        try (InputStream stream = new FileInputStream(HSSFTestDataSamples.getSampleFile("15556.xls")))
{
             HSSFWorkbook wb = new HSSFWorkbook(stream);
             handleWorkbook(wb);
             wb.close();



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


Mime
View raw message