From 773109cfd43fc00c76dbf1b6e696ec6d66d18dac Mon Sep 17 00:00:00 2001 From: Jiaju Zhuang Date: Mon, 2 Sep 2019 16:22:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E6=A1=88?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../test/core/annotation/AnnotationDataTest.java | 4 ++-- .../annotation/AnnotationIndexAndNameDataTest.java | 4 ++-- .../core/compatibility/CompatibilityDataTest.java | 4 ++-- .../CompatibilityParameterDataTest.java | 2 +- .../test/core/converter/ConverterDataTest.java | 12 ++++++------ .../test/core/exception/ExceptionDataTest.java | 4 ++-- .../test/core/head/ComplexHeadDataTest.java | 4 ++-- .../easyexcel/test/core/head/ListHeadDataTest.java | 4 ++-- .../easyexcel/test/core/head/NoHeadDataTest.java | 4 ++-- .../test/core/parameter/ParameterDataTest.java | 2 +- .../test/core/repetition/RepetitionDataTest.java | 8 ++++---- .../easyexcel/test/core/simple/SimpleDataTest.java | 10 +++++----- .../easyexcel/test/core/style/StyleDataTest.java | 8 ++++---- .../test/core/template/TemplateDataTest.java | 4 ++-- 14 files changed, 37 insertions(+), 37 deletions(-) diff --git a/src/test/java/com/alibaba/easyexcel/test/core/annotation/AnnotationDataTest.java b/src/test/java/com/alibaba/easyexcel/test/core/annotation/AnnotationDataTest.java index 62fea8ac..5acd5db1 100644 --- a/src/test/java/com/alibaba/easyexcel/test/core/annotation/AnnotationDataTest.java +++ b/src/test/java/com/alibaba/easyexcel/test/core/annotation/AnnotationDataTest.java @@ -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); } diff --git a/src/test/java/com/alibaba/easyexcel/test/core/annotation/AnnotationIndexAndNameDataTest.java b/src/test/java/com/alibaba/easyexcel/test/core/annotation/AnnotationIndexAndNameDataTest.java index 148f7194..cd069c81 100644 --- a/src/test/java/com/alibaba/easyexcel/test/core/annotation/AnnotationIndexAndNameDataTest.java +++ b/src/test/java/com/alibaba/easyexcel/test/core/annotation/AnnotationIndexAndNameDataTest.java @@ -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); } diff --git a/src/test/java/com/alibaba/easyexcel/test/core/compatibility/CompatibilityDataTest.java b/src/test/java/com/alibaba/easyexcel/test/core/compatibility/CompatibilityDataTest.java index 49af7fe9..258f055c 100644 --- a/src/test/java/com/alibaba/easyexcel/test/core/compatibility/CompatibilityDataTest.java +++ b/src/test/java/com/alibaba/easyexcel/test/core/compatibility/CompatibilityDataTest.java @@ -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); } diff --git a/src/test/java/com/alibaba/easyexcel/test/core/compatibility/CompatibilityParameterDataTest.java b/src/test/java/com/alibaba/easyexcel/test/core/compatibility/CompatibilityParameterDataTest.java index d075f336..2e3b7355 100644 --- a/src/test/java/com/alibaba/easyexcel/test/core/compatibility/CompatibilityParameterDataTest.java +++ b/src/test/java/com/alibaba/easyexcel/test/core/compatibility/CompatibilityParameterDataTest.java @@ -31,7 +31,7 @@ public class CompatibilityParameterDataTest { } @Test - public void T01ReadAndWrite() throws Exception { + public void t01ReadAndWrite() throws Exception { readAndWrite1(file); readAndWrite2(file); readAndWrite3(file); diff --git a/src/test/java/com/alibaba/easyexcel/test/core/converter/ConverterDataTest.java b/src/test/java/com/alibaba/easyexcel/test/core/converter/ConverterDataTest.java index a223e25b..a339e9ef 100644 --- a/src/test/java/com/alibaba/easyexcel/test/core/converter/ConverterDataTest.java +++ b/src/test/java/com/alibaba/easyexcel/test/core/converter/ConverterDataTest.java @@ -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); } diff --git a/src/test/java/com/alibaba/easyexcel/test/core/exception/ExceptionDataTest.java b/src/test/java/com/alibaba/easyexcel/test/core/exception/ExceptionDataTest.java index 93210cfd..f52549d1 100644 --- a/src/test/java/com/alibaba/easyexcel/test/core/exception/ExceptionDataTest.java +++ b/src/test/java/com/alibaba/easyexcel/test/core/exception/ExceptionDataTest.java @@ -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); } diff --git a/src/test/java/com/alibaba/easyexcel/test/core/head/ComplexHeadDataTest.java b/src/test/java/com/alibaba/easyexcel/test/core/head/ComplexHeadDataTest.java index 9e654fd1..f8936841 100644 --- a/src/test/java/com/alibaba/easyexcel/test/core/head/ComplexHeadDataTest.java +++ b/src/test/java/com/alibaba/easyexcel/test/core/head/ComplexHeadDataTest.java @@ -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); } diff --git a/src/test/java/com/alibaba/easyexcel/test/core/head/ListHeadDataTest.java b/src/test/java/com/alibaba/easyexcel/test/core/head/ListHeadDataTest.java index 9b5330d0..6e63a0b3 100644 --- a/src/test/java/com/alibaba/easyexcel/test/core/head/ListHeadDataTest.java +++ b/src/test/java/com/alibaba/easyexcel/test/core/head/ListHeadDataTest.java @@ -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); } diff --git a/src/test/java/com/alibaba/easyexcel/test/core/head/NoHeadDataTest.java b/src/test/java/com/alibaba/easyexcel/test/core/head/NoHeadDataTest.java index 934750c9..a62adbb8 100644 --- a/src/test/java/com/alibaba/easyexcel/test/core/head/NoHeadDataTest.java +++ b/src/test/java/com/alibaba/easyexcel/test/core/head/NoHeadDataTest.java @@ -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); } diff --git a/src/test/java/com/alibaba/easyexcel/test/core/parameter/ParameterDataTest.java b/src/test/java/com/alibaba/easyexcel/test/core/parameter/ParameterDataTest.java index cc97cd06..c7c305de 100644 --- a/src/test/java/com/alibaba/easyexcel/test/core/parameter/ParameterDataTest.java +++ b/src/test/java/com/alibaba/easyexcel/test/core/parameter/ParameterDataTest.java @@ -35,7 +35,7 @@ public class ParameterDataTest { } @Test - public void T01ReadAndWrite() throws Exception { + public void t01ReadAndWrite() throws Exception { readAndWrite1(); readAndWrite2(); readAndWrite3(); diff --git a/src/test/java/com/alibaba/easyexcel/test/core/repetition/RepetitionDataTest.java b/src/test/java/com/alibaba/easyexcel/test/core/repetition/RepetitionDataTest.java index 5005764f..4c0d8aad 100644 --- a/src/test/java/com/alibaba/easyexcel/test/core/repetition/RepetitionDataTest.java +++ b/src/test/java/com/alibaba/easyexcel/test/core/repetition/RepetitionDataTest.java @@ -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); } diff --git a/src/test/java/com/alibaba/easyexcel/test/core/simple/SimpleDataTest.java b/src/test/java/com/alibaba/easyexcel/test/core/simple/SimpleDataTest.java index fee56e5a..2d3c75b6 100644 --- a/src/test/java/com/alibaba/easyexcel/test/core/simple/SimpleDataTest.java +++ b/src/test/java/com/alibaba/easyexcel/test/core/simple/SimpleDataTest.java @@ -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(); } diff --git a/src/test/java/com/alibaba/easyexcel/test/core/style/StyleDataTest.java b/src/test/java/com/alibaba/easyexcel/test/core/style/StyleDataTest.java index d52aee77..4e170944 100644 --- a/src/test/java/com/alibaba/easyexcel/test/core/style/StyleDataTest.java +++ b/src/test/java/com/alibaba/easyexcel/test/core/style/StyleDataTest.java @@ -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()); } diff --git a/src/test/java/com/alibaba/easyexcel/test/core/template/TemplateDataTest.java b/src/test/java/com/alibaba/easyexcel/test/core/template/TemplateDataTest.java index 369bc8b4..adf63137 100644 --- a/src/test/java/com/alibaba/easyexcel/test/core/template/TemplateDataTest.java +++ b/src/test/java/com/alibaba/easyexcel/test/core/template/TemplateDataTest.java @@ -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); }