From 059595f0211a229d98af47da41efa0ebfa16954c Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Fri, 12 Apr 2024 17:29:27 +0000 Subject: [PATCH] remove accidental test git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916938 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/xssf/usermodel/TestXSSFTemp.java | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFTemp.java 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); - } - } - } -} -- 2.39.5