aboutsummaryrefslogtreecommitdiffstats
path: root/poi-ooxml/src/test/java
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2023-03-07 22:14:01 +0000
committerPJ Fanning <fanningpj@apache.org>2023-03-07 22:14:01 +0000
commitc8ef2e89bafa8f98ae454b89c59461f5bc0c3f50 (patch)
treeb57553beb3e5fe9fcf80793720fdda58f5edd1d6 /poi-ooxml/src/test/java
parent1639f8b923bb4a56e56bf76d1b8dd3449a7f1814 (diff)
downloadpoi-c8ef2e89bafa8f98ae454b89c59461f5bc0c3f50.tar.gz
poi-c8ef2e89bafa8f98ae454b89c59461f5bc0c3f50.zip
byte-buddy 1.14.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908174 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml/src/test/java')
-rw-r--r--poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java b/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java
index c0011da4e2..e43d8be243 100644
--- a/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java
+++ b/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java
@@ -667,6 +667,10 @@ public final class TestSXSSFWorkbook extends BaseTestXWorkbook {
cell.setCellStyle(cellStyle);
workbook.write(bos);
+ try (java.io.FileOutputStream fos = new java.io.FileOutputStream("/Users/pj.fanning/test.xlsx")) {
+ workbook.write(fos);
+ }
+
try (XSSFWorkbook xssfWorkbook = new XSSFWorkbook(bos.toInputStream())) {
XSSFSheet xssfSheet = xssfWorkbook.getSheetAt(0);
DataFormatter dataFormatter = new DataFormatter();