remove accidental test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916938 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2024-04-12 17:29:27 +00:00
parent 1fe45e84b0
commit 059595f021
1 changed files with 0 additions and 23 deletions

View File

@ -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);
}
}
}
}