]> source.dussan.org Git - poi.git/commitdiff
remove accidental test
authorPJ Fanning <fanningpj@apache.org>
Fri, 12 Apr 2024 17:29:27 +0000 (17:29 +0000)
committerPJ Fanning <fanningpj@apache.org>
Fri, 12 Apr 2024 17:29:27 +0000 (17:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916938 13f79535-47bb-0310-9956-ffa450edef68

poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFTemp.java [deleted file]

diff --git a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFTemp.java b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFTemp.java
deleted file mode 100644 (file)
index 8f64fed..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-package org.apache.poi.xssf.usermodel;
-
-import org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream;
-import org.junit.jupiter.api.Test;
-
-import java.io.IOException;
-
-public class TestXSSFTemp {
-  @Test
-  public void testWrite() throws IOException {
-    try(XSSFWorkbook wb = new XSSFWorkbook()) {
-      XSSFSheet sheet = wb.createSheet();
-      XSSFRow row = sheet.createRow(0);
-      for (int i = 0; i < 10000; i++) {
-        XSSFCell cell = row.createCell(i);
-        cell.setCellValue("cell " + i);
-      }
-      try (UnsynchronizedByteArrayOutputStream bos = UnsynchronizedByteArrayOutputStream.builder().get()) {
-        wb.write(bos);
-      }
-    }
-  }
-}