diff options
author | Dominik Stadler <centic@apache.org> | 2020-09-26 05:22:14 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2020-09-26 05:22:14 +0000 |
commit | 389eab2fbdbe9e8a474e7588d31333031ecac612 (patch) | |
tree | dd971f9b073f38eea8073aa9d332e8230f54a928 /src/integrationtest | |
parent | 7b83320f9e26157dfd8cdef2b628dce7ba42aa55 (diff) | |
download | poi-389eab2fbdbe9e8a474e7588d31333031ecac612.tar.gz poi-389eab2fbdbe9e8a474e7588d31333031ecac612.zip |
Try to fix the Gradle build
Third party lib updates
Also use the temporary XMLBeans 4.0.0 jar
Add missing dependencies
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882036 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/integrationtest')
-rw-r--r-- | src/integrationtest/org/apache/poi/stress/HSSFRecordsStresser.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/integrationtest/org/apache/poi/stress/HSSFRecordsStresser.java b/src/integrationtest/org/apache/poi/stress/HSSFRecordsStresser.java index 932fd396b1..0a02b61374 100644 --- a/src/integrationtest/org/apache/poi/stress/HSSFRecordsStresser.java +++ b/src/integrationtest/org/apache/poi/stress/HSSFRecordsStresser.java @@ -26,6 +26,7 @@ import java.util.List; import org.apache.poi.hssf.record.Record; import org.apache.poi.hssf.usermodel.HSSFWorkbook; +import org.apache.poi.xssf.XSSFTestDataSamples; import org.junit.Test; /** @@ -67,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("test-data/spreadsheet/15556.xls")) { + try (InputStream stream = new FileInputStream(XSSFTestDataSamples.getSampleFile("15556.xls"))) { HSSFWorkbook wb = new HSSFWorkbook(stream); handleWorkbook(wb); wb.close(); |