mirror of https://github.com/apache/poi.git
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:
parent
1fe45e84b0
commit
059595f021
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue