diff --git a/pom.xml b/pom.xml index a4377c1..f9141ee 100644 --- a/pom.xml +++ b/pom.xml @@ -1,54 +1,54 @@ - - 4.0.0 - - io.ljunggren - report-generator - 0.0.1-SNAPSHOT - jar - - report-generator - http://maven.apache.org - - - UTF-8 - 1.8 - 1.8 - - - - - org.apache.commons - commons-lang3 - 3.10 - - - org.apache.commons - commons-text - 1.8 - - - org.apache.commons - commons-csv - 1.8 - - - org.apache.poi - poi-ooxml - 4.1.2 - - - org.projectlombok - lombok - 1.18.12 - provided - - - junit - junit - 4.13 - test - - - - + + 4.0.0 + + io.ljunggren + report-generator + 0.0.1-SNAPSHOT + jar + + report-generator + http://maven.apache.org + + + UTF-8 + 1.8 + 1.8 + + + + + org.apache.commons + commons-lang3 + 3.10 + + + org.apache.commons + commons-text + 1.8 + + + org.apache.commons + commons-csv + 1.8 + + + org.apache.poi + poi-ooxml + 4.1.2 + + + org.projectlombok + lombok + 1.18.22 + provided + + + junit + junit + 4.13.2 + test + + + + diff --git a/src/test/java/io/ljunggren/reportGenerator/utils/GeneratorUtilsTest.java b/src/test/java/io/ljunggren/reportGenerator/utils/GeneratorUtilsTest.java index 4cdfe1d..198e0c3 100644 --- a/src/test/java/io/ljunggren/reportGenerator/utils/GeneratorUtilsTest.java +++ b/src/test/java/io/ljunggren/reportGenerator/utils/GeneratorUtilsTest.java @@ -1,28 +1,28 @@ -package io.ljunggren.reportGenerator.utils; - -import static org.junit.Assert.assertEquals; - -import org.junit.Test; - -public class GeneratorUtilsTest { - - @Test - public void columnToIntTest() { - assertEquals(GeneratorUtils.columnToInt("A"), 0); - assertEquals(GeneratorUtils.columnToInt("Z"), 25); - assertEquals(GeneratorUtils.columnToInt("AA"), 26); - assertEquals(GeneratorUtils.columnToInt("AAA"), 702); - } - - @Test - public void columnNonLetterTest() throws Exception { - assertEquals(GeneratorUtils.columnToInt("1"), 1); - assertEquals(GeneratorUtils.columnToInt("0"), 0); - } - - @Test(expected = RuntimeException.class) - public void columnExceptionTest() { - GeneratorUtils.columnToInt("*"); - } - -} +package io.ljunggren.reportGenerator.utils; + +import static org.junit.Assert.assertEquals; + +import org.junit.Test; + +public class GeneratorUtilsTest { + + @Test + public void columnToIntTest() { + assertEquals(GeneratorUtils.columnToInt("A"), 0); + assertEquals(GeneratorUtils.columnToInt("Z"), 25); + assertEquals(GeneratorUtils.columnToInt("AA"), 26); + assertEquals(GeneratorUtils.columnToInt("AAA"), 702); + } + + @Test + public void columnNonLetterTest() throws Exception { + assertEquals(GeneratorUtils.columnToInt("1"), 1); + assertEquals(GeneratorUtils.columnToInt("0"), 0); + } + + @Test(expected = RuntimeException.class) + public void columnExceptionTest() { + GeneratorUtils.columnToInt("*"); + } + +}