]> source.dussan.org Git - poi.git/commitdiff
Avoid dependency on ooxml-test in integration-test
authorDominik Stadler <centic@apache.org>
Sat, 26 Sep 2020 06:19:34 +0000 (06:19 +0000)
committerDominik Stadler <centic@apache.org>
Sat, 26 Sep 2020 06:19:34 +0000 (06:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882040 13f79535-47bb-0310-9956-ffa450edef68

src/integrationtest/org/apache/poi/stress/HSSFRecordsStresser.java

index 0a02b6137476834e262094fc32d7aa2b6e685fe7..9417ee7e610a36308e86f2d8ad9ad51d2f05966e 100644 (file)
@@ -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();