提交 773109cf 编写于 作者: 庄家钜's avatar 庄家钜

修改测试案例

上级 655c24dc
......@@ -27,12 +27,12 @@ public class AnnotationDataTest {
}
@Test
public void T01ReadAndWrite07() throws Exception {
public void t01ReadAndWrite07() throws Exception {
readAndWrite(file07);
}
@Test
public void T02ReadAndWrite03() throws Exception {
public void t02ReadAndWrite03() throws Exception {
readAndWrite(file03);
}
......
......@@ -27,12 +27,12 @@ public class AnnotationIndexAndNameDataTest {
}
@Test
public void T01ReadAndWrite07() {
public void t01ReadAndWrite07() {
readAndWrite(file07);
}
@Test
public void T02ReadAndWrite03() {
public void t02ReadAndWrite03() {
readAndWrite(file03);
}
......
......@@ -42,12 +42,12 @@ public class CompatibilityDataTest {
}
@Test
public void T01ReadAndWrite07() throws Exception {
public void t01ReadAndWrite07() throws Exception {
readAndWrite(file07);
}
@Test
public void T02ReadAndWrite03() throws Exception {
public void t02ReadAndWrite03() throws Exception {
readAndWrite(file03);
}
......
......@@ -31,7 +31,7 @@ public class CompatibilityParameterDataTest {
}
@Test
public void T01ReadAndWrite() throws Exception {
public void t01ReadAndWrite() throws Exception {
readAndWrite1(file);
readAndWrite2(file);
readAndWrite3(file);
......
......@@ -38,12 +38,12 @@ public class ConverterDataTest {
}
@Test
public void T01ReadAndWrite07() throws Exception {
public void t01ReadAndWrite07() throws Exception {
readAndWrite(file07);
}
@Test
public void T02ReadAndWrite03() throws Exception {
public void t02ReadAndWrite03() throws Exception {
readAndWrite(file03);
}
......@@ -53,22 +53,22 @@ public class ConverterDataTest {
}
@Test
public void T03ReadAllConverter07() {
public void t03ReadAllConverter07() {
readAllConverter("converter" + File.separator + "converter07.xlsx");
}
@Test
public void T04ReadAllConverter03() {
public void t04ReadAllConverter03() {
readAllConverter("converter" + File.separator + "converter03.xls");
}
@Test
public void T05WriteImage07() throws Exception {
public void t05WriteImage07() throws Exception {
writeImage(fileImage07);
}
@Test
public void T06WriteImage03() throws Exception {
public void t06WriteImage03() throws Exception {
writeImage(fileImage03);
}
......
......@@ -31,12 +31,12 @@ public class ExceptionDataTest {
}
@Test
public void T01ReadAndWrite07() throws Exception {
public void t01ReadAndWrite07() throws Exception {
readAndWrite(file07);
}
@Test
public void T02ReadAndWrite03() throws Exception {
public void t02ReadAndWrite03() throws Exception {
readAndWrite(file03);
}
......
......@@ -26,12 +26,12 @@ public class ComplexHeadDataTest {
}
@Test
public void T01ReadAndWrite07() {
public void t01ReadAndWrite07() {
readAndWrite(file07);
}
@Test
public void T02ReadAndWrite03() {
public void t02ReadAndWrite03() {
readAndWrite(file03);
}
......
......@@ -28,12 +28,12 @@ public class ListHeadDataTest {
}
@Test
public void T01ReadAndWrite07() throws Exception {
public void t01ReadAndWrite07() throws Exception {
readAndWrite(file07);
}
@Test
public void T02ReadAndWrite03() throws Exception {
public void t02ReadAndWrite03() throws Exception {
readAndWrite(file03);
}
......
......@@ -26,12 +26,12 @@ public class NoHeadDataTest {
}
@Test
public void T01ReadAndWrite07() {
public void t01ReadAndWrite07() {
readAndWrite(file07);
}
@Test
public void T02ReadAndWrite03() {
public void t02ReadAndWrite03() {
readAndWrite(file03);
}
......
......@@ -35,7 +35,7 @@ public class ParameterDataTest {
}
@Test
public void T01ReadAndWrite() throws Exception {
public void t01ReadAndWrite() throws Exception {
readAndWrite1();
readAndWrite2();
readAndWrite3();
......
......@@ -38,12 +38,12 @@ public class RepetitionDataTest {
}
@Test
public void T01ReadAndWrite07() {
public void t01ReadAndWrite07() {
readAndWrite(file07);
}
@Test
public void T02ReadAndWrite03() {
public void t02ReadAndWrite03() {
readAndWrite(file03);
}
......@@ -57,12 +57,12 @@ public class RepetitionDataTest {
}
@Test
public void T03ReadAndWriteTable07() {
public void t03ReadAndWriteTable07() {
readAndWriteTable(fileTable07);
}
@Test
public void T04ReadAndWriteTable03() {
public void t04ReadAndWriteTable03() {
readAndWriteTable(fileTable03);
}
......
......@@ -30,12 +30,12 @@ public class SimpleDataTest {
}
@Test
public void T01ReadAndWrite07() {
public void t01ReadAndWrite07() {
readAndWrite(file07);
}
@Test
public void T02ReadAndWrite03() {
public void t02ReadAndWrite03() {
readAndWrite(file03);
}
......@@ -45,17 +45,17 @@ public class SimpleDataTest {
}
@Test
public void T03SynchronousRead07() {
public void t03SynchronousRead07() {
synchronousRead(file07);
}
@Test
public void T04SynchronousRead03() {
public void t04SynchronousRead03() {
synchronousRead(file03);
}
@Test
public void T05SheetNameRead07() {
public void t05SheetNameRead07() {
EasyExcel.read(TestFileUtil.readFile("simple" + File.separator + "simple07.xlsx"), SimpleData.class,
new SimpleDataSheetNameListener()).sheet("simple").doRead();
}
......
......@@ -44,17 +44,17 @@ public class StyleDataTest {
}
@Test
public void T01ReadAndWrite07() {
public void t01ReadAndWrite07() {
readAndWrite(file07);
}
@Test
public void T02ReadAndWrite03() {
public void t02ReadAndWrite03() {
readAndWrite(file03);
}
@Test
public void T03AbstractVerticalCellStyleStrategy() {
public void t03AbstractVerticalCellStyleStrategy() {
AbstractVerticalCellStyleStrategy verticalCellStyleStrategy = new AbstractVerticalCellStyleStrategy() {
@Override
protected WriteCellStyle headCellStyle(Head head) {
......@@ -112,7 +112,7 @@ public class StyleDataTest {
}
@Test
public void T04LoopMergeStrategy() {
public void t04LoopMergeStrategy() {
EasyExcel.write(file07, StyleData.class).sheet().registerWriteHandler(new LoopMergeStrategy(2, 1))
.doWrite(data10());
}
......
......@@ -29,12 +29,12 @@ public class TemplateDataTest {
}
@Test
public void T01ReadAndWrite07() {
public void t01ReadAndWrite07() {
readAndWrite07(file07);
}
@Test
public void T02ReadAndWrite03() {
public void t02ReadAndWrite03() {
readAndWrite03(file03);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册