From: PJ Fanning Date: Fri, 12 Apr 2024 17:29:27 +0000 (+0000) Subject: remove accidental test X-Git-Tag: REL_5_3_0~61 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=059595f0211a229d98af47da41efa0ebfa16954c;p=poi.git remove accidental test git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916938 13f79535-47bb-0310-9956-ffa450edef68 --- 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 index 8f64fed626..0000000000 --- a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFTemp.java +++ /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); - } - } - } -}