mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
add test
This commit is contained in:
parent
e40c4ccd05
commit
36c706bc7d
@ -1,10 +1,9 @@
|
||||
package cn.hutool.core.img;
|
||||
|
||||
import cn.hutool.core.io.FileUtil;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
import cn.hutool.core.io.FileUtil;
|
||||
|
||||
public class ImgTest {
|
||||
|
||||
@Test
|
||||
|
@ -419,9 +419,9 @@ public class ExcelWriteTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
// @Ignore
|
||||
public void addSelectTest2() {
|
||||
ExcelWriter writer = ExcelUtil.getWriter("d:/test/select.xlsx");
|
||||
ExcelWriter writer = ExcelUtil.getWriter(true);
|
||||
writer.writeCellValue(0, 0, "请选择科目");
|
||||
int firstRow = 0;
|
||||
int lastRow = 0;
|
||||
@ -433,6 +433,7 @@ public class ExcelWriteTest {
|
||||
List<?> rows = new ArrayList<>();
|
||||
writer.write(rows, true);
|
||||
|
||||
writer.flush(FileUtil.file("d:/test/select.xlsx"));
|
||||
writer.close();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user