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
This commit is contained in:
Dominik Stadler 2020-09-26 06:19:34 +00:00
parent 1e5b193391
commit 5d2d6fee1a
1 changed files with 2 additions and 2 deletions

View 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();