aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/ss/util/TestPropertyTemplate.java
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2021-01-09 18:24:51 +0000
committerAndreas Beeker <kiwiwings@apache.org>2021-01-09 18:24:51 +0000
commita4ed4359cce220abe549f870df84b0cd4895b881 (patch)
treee2d349b2aba0486b74f23ec7b02e60a40be418e6 /src/testcases/org/apache/poi/ss/util/TestPropertyTemplate.java
parent1d676a098d667f7132f7d62cd76f3f33fb1b17fe (diff)
downloadpoi-a4ed4359cce220abe549f870df84b0cd4895b881.tar.gz
poi-a4ed4359cce220abe549f870df84b0cd4895b881.zip
Sonar fixes
JUnit5 test classes and methods should have default package visibility git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885308 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/ss/util/TestPropertyTemplate.java')
-rw-r--r--src/testcases/org/apache/poi/ss/util/TestPropertyTemplate.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/testcases/org/apache/poi/ss/util/TestPropertyTemplate.java b/src/testcases/org/apache/poi/ss/util/TestPropertyTemplate.java
index b53e92dd9c..603bbb0d59 100644
--- a/src/testcases/org/apache/poi/ss/util/TestPropertyTemplate.java
+++ b/src/testcases/org/apache/poi/ss/util/TestPropertyTemplate.java
@@ -40,7 +40,7 @@ import org.junit.jupiter.api.Test;
*/
public final class TestPropertyTemplate {
@Test
- public void getNumBorders() throws IOException {
+ void getNumBorders() throws IOException {
CellRangeAddress a1 = new CellRangeAddress(0, 0, 0, 0);
PropertyTemplate pt = new PropertyTemplate();
pt.drawBorders(a1, BorderStyle.THIN, BorderExtent.TOP);
@@ -52,7 +52,7 @@ public final class TestPropertyTemplate {
}
@Test
- public void getNumBorderColors() throws IOException {
+ void getNumBorderColors() throws IOException {
CellRangeAddress a1 = new CellRangeAddress(0, 0, 0, 0);
PropertyTemplate pt = new PropertyTemplate();
pt.drawBorderColors(a1, IndexedColors.RED.getIndex(), BorderExtent.TOP);
@@ -64,7 +64,7 @@ public final class TestPropertyTemplate {
}
@Test
- public void getTemplateProperties() throws IOException {
+ void getTemplateProperties() throws IOException {
CellRangeAddress a1 = new CellRangeAddress(0, 0, 0, 0);
PropertyTemplate pt = new PropertyTemplate();
pt.drawBorders(a1, BorderStyle.THIN, BorderExtent.TOP);
@@ -82,7 +82,7 @@ public final class TestPropertyTemplate {
}
@Test
- public void drawBorders() throws IOException {
+ void drawBorders() throws IOException {
CellRangeAddress a1c3 = new CellRangeAddress(0, 2, 0, 2);
PropertyTemplate pt = new PropertyTemplate();
pt.drawBorders(a1c3, BorderStyle.THIN,
@@ -409,7 +409,7 @@ public final class TestPropertyTemplate {
}
@Test
- public void drawBorderColors() throws IOException {
+ void drawBorderColors() throws IOException {
CellRangeAddress a1c3 = new CellRangeAddress(0, 2, 0, 2);
PropertyTemplate pt = new PropertyTemplate();
pt.drawBorderColors(a1c3, IndexedColors.RED.getIndex(),
@@ -801,7 +801,7 @@ public final class TestPropertyTemplate {
}
@Test
- public void drawBordersWithColors() throws IOException {
+ void drawBordersWithColors() throws IOException {
CellRangeAddress a1c3 = new CellRangeAddress(0, 2, 0, 2);
PropertyTemplate pt = new PropertyTemplate();
@@ -849,7 +849,7 @@ public final class TestPropertyTemplate {
}
@Test
- public void applyBorders() throws IOException {
+ void applyBorders() throws IOException {
CellRangeAddress a1c3 = new CellRangeAddress(0, 2, 0, 2);
CellRangeAddress b2 = new CellRangeAddress(1, 1, 1, 1);
PropertyTemplate pt = new PropertyTemplate();
@@ -910,7 +910,7 @@ public final class TestPropertyTemplate {
}
@Test
- public void clonePropertyTemplate() throws IOException {
+ void clonePropertyTemplate() throws IOException {
CellRangeAddress a1c3 = new CellRangeAddress(0, 2, 0, 2);
PropertyTemplate pt = new PropertyTemplate();
pt.drawBorders(a1c3, BorderStyle.MEDIUM, IndexedColors.RED.getIndex(), BorderExtent.ALL);