From 5d2d6fee1a7918afe182800767d19e1aa1bc1663 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sat, 26 Sep 2020 06:19:34 +0000 Subject: [PATCH] Avoid dependency on ooxml-test in integration-test git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882040 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/stress/HSSFRecordsStresser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/integrationtest/org/apache/poi/stress/HSSFRecordsStresser.java b/src/integrationtest/org/apache/poi/stress/HSSFRecordsStresser.java index 0a02b61374..9417ee7e61 100644 --- a/src/integrationtest/org/apache/poi/stress/HSSFRecordsStresser.java +++ b/src/integrationtest/org/apache/poi/stress/HSSFRecordsStresser.java @@ -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(); -- 2.39.5