aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/testcases/org/apache/poi/TestJDK12.java2
-rw-r--r--src/testcases/org/apache/poi/ddf/TestEscherClientAnchorRecord.java2
-rw-r--r--src/testcases/org/apache/poi/ddf/TestEscherClientDataRecord.java2
-rw-r--r--src/testcases/org/apache/poi/ddf/TestEscherDump.java2
-rw-r--r--src/testcases/org/apache/poi/ddf/TestEscherProperty.java2
-rw-r--r--src/testcases/org/apache/poi/ddf/TestEscherPropertyFactory.java2
-rw-r--r--src/testcases/org/apache/poi/ddf/TestEscherSpRecord.java2
-rw-r--r--src/testcases/org/apache/poi/hpsf/TestVariantSupport.java2
-rw-r--r--src/testcases/org/apache/poi/hpsf/basic/TestReadAllFiles.java2
-rw-r--r--src/testcases/org/apache/poi/hpsf/basic/TestUnicode.java2
-rw-r--r--src/testcases/org/apache/poi/hpsf/basic/TestWrite.java2
-rw-r--r--src/testcases/org/apache/poi/hpsf/basic/TestWriteWellKnown.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/dev/TestBiffDrawingToXml.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/dev/TestBiffViewer.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/dev/TestEFBiffViewer.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/dev/TestFormulaViewer.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/dev/TestReSave.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/dev/TestRecordLister.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/model/TestDrawingAggregate.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/model/TestDrawingShapes.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/model/TestEscherRecordFactory.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/model/TestHSSFAnchor.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/record/TestDConRefRecord.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestCryptoAPI.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestEmbeddedObjects.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestExternalReferenceChange.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestHSSFColumnShifting.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestHSSFDateUtil.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestHSSFEvaluationSheet.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestHSSFRangeCopier.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheetShiftColumns.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestPOIFSProperties.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestPatriarch.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestPolygon.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestShapeGroup.java2
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestText.java2
-rw-r--r--src/testcases/org/apache/poi/poifs/crypt/TestCipherAlgorithm.java2
-rw-r--r--src/testcases/org/apache/poi/poifs/crypt/TestXorEncryption.java2
-rw-r--r--src/testcases/org/apache/poi/poifs/crypt/binaryrc4/TestBinaryRC4.java2
-rw-r--r--src/testcases/org/apache/poi/poifs/filesystem/TestDocument.java2
-rw-r--r--src/testcases/org/apache/poi/poifs/filesystem/TestEntryUtils.java2
-rw-r--r--src/testcases/org/apache/poi/poifs/filesystem/TestFileMagic.java2
-rw-r--r--src/testcases/org/apache/poi/poifs/filesystem/TestNotOLE2Exception.java2
-rw-r--r--src/testcases/org/apache/poi/poifs/filesystem/TestOfficeXMLException.java2
-rw-r--r--src/testcases/org/apache/poi/poifs/filesystem/TestOle10Native.java2
-rw-r--r--src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java2
-rw-r--r--src/testcases/org/apache/poi/poifs/nio/TestDataSource.java2
-rw-r--r--src/testcases/org/apache/poi/sl/draw/geom/TestFormulaParser.java2
-rw-r--r--src/testcases/org/apache/poi/sl/draw/geom/TestPresetGeometries.java2
-rw-r--r--src/testcases/org/apache/poi/ss/format/TestCellFormat.java2
-rw-r--r--src/testcases/org/apache/poi/ss/format/TestCellFormatCondition.java2
-rw-r--r--src/testcases/org/apache/poi/ss/format/TestCellFormatResult.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/TestCellCacheEntry.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/TestEvaluationCache.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/TestFunctionRegistry.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/TestPlainCellCache.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/atp/TestIfError.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/atp/TestMRound.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/atp/TestNetworkdaysFunction.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/atp/TestPercentile.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/atp/TestRandBetween.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/atp/TestWorkdayCalculator.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/atp/TestWorkdayFunction.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestBooleanFunctionsFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestCode.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestCodeFunctionsFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestComplex.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestComplexFunctionsFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestDGetFunctionsFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestDStarFunctionsFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestDateTimeToNumberFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestDeltaFunctionsFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestEDate.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestEOMonth.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestFactDoubleFunctionsFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestFinanceLib.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestFixedFunctionsFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestFrequency.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestGeomean.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestIFFunctionFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestImRealFunctionsFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestImaginaryFunctionsFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestLeftRight.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestLogicalFunction.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestLogicalFunctionsFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestMultiOperandNumericFunction.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestPoisson.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestProduct.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestQuotient.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestQuotientFunctionsFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestRelationalOperations.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestReptFunctionsFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestRomanFunctionsFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestStatsLib.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestSubstitute.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestTrendFunctionsFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestTwoOperandNumericFunctionsFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestWeekNumFunctionsFromSpreadsheet.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestWeekNumFunctionsFromSpreadsheet2013.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/functions/TestWeekdayFunc.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/ptg/TestAbstractFunctionPtg.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/udf/TestAggregatingUDFFinder.java2
-rw-r--r--src/testcases/org/apache/poi/ss/formula/udf/TestDefaultUDFFinder.java2
-rw-r--r--src/testcases/org/apache/poi/ss/usermodel/TestDataFormatter.java2
-rw-r--r--src/testcases/org/apache/poi/ss/usermodel/TestDateUtil.java2
-rw-r--r--src/testcases/org/apache/poi/ss/usermodel/TestExcelStyleDateFormatter.java2
-rw-r--r--src/testcases/org/apache/poi/ss/util/TestAreaReference.java2
-rw-r--r--src/testcases/org/apache/poi/ss/util/TestDateParser.java2
-rw-r--r--src/testcases/org/apache/poi/ss/util/TestHSSFCellUtil.java2
-rw-r--r--src/testcases/org/apache/poi/ss/util/cellwalk/TestCellWalk.java2
-rw-r--r--src/testcases/org/apache/poi/util/TestArrayUtil.java2
-rw-r--r--src/testcases/org/apache/poi/util/TestHexDump.java2
-rw-r--r--src/testcases/org/apache/poi/util/TestLocaleUtil.java2
-rw-r--r--src/testcases/org/apache/poi/util/TestRLEDecompressingInputStream.java2
-rw-r--r--src/testcases/org/apache/poi/util/TestStringCodepointsIterable.java2
-rw-r--r--src/testcases/org/apache/poi/util/TestStringUtil.java2
-rw-r--r--src/testcases/org/apache/poi/util/TestTempFile.java2
-rw-r--r--src/testcases/org/apache/poi/util/TestXMLHelper.java2
119 files changed, 119 insertions, 119 deletions
diff --git a/src/testcases/org/apache/poi/TestJDK12.java b/src/testcases/org/apache/poi/TestJDK12.java
index 588192671a..53e272233b 100644
--- a/src/testcases/org/apache/poi/TestJDK12.java
+++ b/src/testcases/org/apache/poi/TestJDK12.java
@@ -38,7 +38,7 @@ import org.junit.jupiter.api.Test;
*
* Should be fixed in JDK 12-ea+29 and JDK 13-ea+5
*/
-public class TestJDK12 {
+class TestJDK12 {
@Test
void test() {
assertDoesNotThrow(() -> {
diff --git a/src/testcases/org/apache/poi/ddf/TestEscherClientAnchorRecord.java b/src/testcases/org/apache/poi/ddf/TestEscherClientAnchorRecord.java
index fcf1ead697..b931359e54 100644
--- a/src/testcases/org/apache/poi/ddf/TestEscherClientAnchorRecord.java
+++ b/src/testcases/org/apache/poi/ddf/TestEscherClientAnchorRecord.java
@@ -23,7 +23,7 @@ import org.apache.poi.util.HexDump;
import org.apache.poi.util.HexRead;
import org.junit.jupiter.api.Test;
-public class TestEscherClientAnchorRecord {
+class TestEscherClientAnchorRecord {
@Test
void testSerialize() {
EscherClientAnchorRecord r = createRecord();
diff --git a/src/testcases/org/apache/poi/ddf/TestEscherClientDataRecord.java b/src/testcases/org/apache/poi/ddf/TestEscherClientDataRecord.java
index c5cce8c28f..f9ee5eaca1 100644
--- a/src/testcases/org/apache/poi/ddf/TestEscherClientDataRecord.java
+++ b/src/testcases/org/apache/poi/ddf/TestEscherClientDataRecord.java
@@ -23,7 +23,7 @@ import org.apache.poi.util.HexDump;
import org.apache.poi.util.HexRead;
import org.junit.jupiter.api.Test;
-public class TestEscherClientDataRecord {
+class TestEscherClientDataRecord {
@Test
void testSerialize() {
EscherClientDataRecord r = createRecord();
diff --git a/src/testcases/org/apache/poi/ddf/TestEscherDump.java b/src/testcases/org/apache/poi/ddf/TestEscherDump.java
index 650174897f..088d346bae 100644
--- a/src/testcases/org/apache/poi/ddf/TestEscherDump.java
+++ b/src/testcases/org/apache/poi/ddf/TestEscherDump.java
@@ -36,7 +36,7 @@ import org.apache.poi.util.IOUtils;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-public class TestEscherDump {
+class TestEscherDump {
private static final String recordData =
"H4sIAAAAAAAAAL2UaVCSWxjHX0SBChABLRXM1FxSEzXTzHK7dpVIcMmwxXCP9KaGTaWlGYLrtGmGmYEmYmqF2qIt4ppmjNG+" +
"2dWulUtOUdq1NHjva8v90HT7eM+Z5znP/M9/zpk5v3mONgAoc5AANBDKeVDW0gQAjZkVCti3mKnpAExpB/m8AKTyEiTCNd2J" +
diff --git a/src/testcases/org/apache/poi/ddf/TestEscherProperty.java b/src/testcases/org/apache/poi/ddf/TestEscherProperty.java
index a7ca599726..99f508224f 100644
--- a/src/testcases/org/apache/poi/ddf/TestEscherProperty.java
+++ b/src/testcases/org/apache/poi/ddf/TestEscherProperty.java
@@ -24,7 +24,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
-public class TestEscherProperty {
+class TestEscherProperty {
/**
* assure that EscherProperty.getName() returns correct name for complex properties
* See Bugzilla 50401
diff --git a/src/testcases/org/apache/poi/ddf/TestEscherPropertyFactory.java b/src/testcases/org/apache/poi/ddf/TestEscherPropertyFactory.java
index 48789db45e..ec94ba15d4 100644
--- a/src/testcases/org/apache/poi/ddf/TestEscherPropertyFactory.java
+++ b/src/testcases/org/apache/poi/ddf/TestEscherPropertyFactory.java
@@ -25,7 +25,7 @@ import org.apache.poi.util.HexDump;
import org.apache.poi.util.HexRead;
import org.junit.jupiter.api.Test;
-public class TestEscherPropertyFactory {
+class TestEscherPropertyFactory {
@Test
void testCreateProperties() {
String dataStr = "41 C1 " + // propid, complex ind
diff --git a/src/testcases/org/apache/poi/ddf/TestEscherSpRecord.java b/src/testcases/org/apache/poi/ddf/TestEscherSpRecord.java
index 1f4c553920..4e18b641d3 100644
--- a/src/testcases/org/apache/poi/ddf/TestEscherSpRecord.java
+++ b/src/testcases/org/apache/poi/ddf/TestEscherSpRecord.java
@@ -23,7 +23,7 @@ import org.apache.poi.util.HexDump;
import org.apache.poi.util.HexRead;
import org.junit.jupiter.api.Test;
-public class TestEscherSpRecord {
+class TestEscherSpRecord {
@Test
void testSerialize() {
EscherSpRecord r = createRecord();
diff --git a/src/testcases/org/apache/poi/hpsf/TestVariantSupport.java b/src/testcases/org/apache/poi/hpsf/TestVariantSupport.java
index 7d3bd693e6..1cea118353 100644
--- a/src/testcases/org/apache/poi/hpsf/TestVariantSupport.java
+++ b/src/testcases/org/apache/poi/hpsf/TestVariantSupport.java
@@ -32,7 +32,7 @@ import org.apache.poi.poifs.storage.RawDataUtil;
import org.apache.poi.util.LittleEndianByteArrayInputStream;
import org.junit.jupiter.api.Test;
-public class TestVariantSupport {
+class TestVariantSupport {
@Test
void test52337() throws Exception {
// document summary stream from test1-excel.doc attached to Bugzilla 52337
diff --git a/src/testcases/org/apache/poi/hpsf/basic/TestReadAllFiles.java b/src/testcases/org/apache/poi/hpsf/basic/TestReadAllFiles.java
index d2cea24522..13eb537fe2 100644
--- a/src/testcases/org/apache/poi/hpsf/basic/TestReadAllFiles.java
+++ b/src/testcases/org/apache/poi/hpsf/basic/TestReadAllFiles.java
@@ -51,7 +51,7 @@ import org.junit.jupiter.params.provider.MethodSource;
* in the "data" directory. If you want to ensure HPSF can deal with a certain
* OLE2 file, just add it to the "data" directory and run this test case.
*/
-public class TestReadAllFiles {
+class TestReadAllFiles {
private static final POIDataSamples _samples = POIDataSamples.getHPSFInstance();
public static Stream<Arguments> files() {
diff --git a/src/testcases/org/apache/poi/hpsf/basic/TestUnicode.java b/src/testcases/org/apache/poi/hpsf/basic/TestUnicode.java
index 2ee50da748..4abf73547f 100644
--- a/src/testcases/org/apache/poi/hpsf/basic/TestUnicode.java
+++ b/src/testcases/org/apache/poi/hpsf/basic/TestUnicode.java
@@ -39,7 +39,7 @@ import org.junit.jupiter.api.Test;
/**
* Tests whether Unicode string can be read from a DocumentSummaryInformation.
*/
-public class TestUnicode {
+class TestUnicode {
static final String POI_FS = "TestUnicode.xls";
static final String[] POI_FILES = {
diff --git a/src/testcases/org/apache/poi/hpsf/basic/TestWrite.java b/src/testcases/org/apache/poi/hpsf/basic/TestWrite.java
index 4d66cb8b0a..b5294bcc48 100644
--- a/src/testcases/org/apache/poi/hpsf/basic/TestWrite.java
+++ b/src/testcases/org/apache/poi/hpsf/basic/TestWrite.java
@@ -79,7 +79,7 @@ import org.junit.jupiter.api.Test;
/**
* Tests HPSF's writing functionality
*/
-public class TestWrite {
+class TestWrite {
private static final POIDataSamples _samples = POIDataSamples.getHPSFInstance();
private static final int CODEPAGE_DEFAULT = -1;
diff --git a/src/testcases/org/apache/poi/hpsf/basic/TestWriteWellKnown.java b/src/testcases/org/apache/poi/hpsf/basic/TestWriteWellKnown.java
index c443d99e71..06cf09cf3f 100644
--- a/src/testcases/org/apache/poi/hpsf/basic/TestWriteWellKnown.java
+++ b/src/testcases/org/apache/poi/hpsf/basic/TestWriteWellKnown.java
@@ -58,7 +58,7 @@ import org.junit.jupiter.api.Test;
* <p>Tests HPSF's high-level writing functionality for the well-known property
* set "SummaryInformation" and "DocumentSummaryInformation".</p>
*/
-public class TestWriteWellKnown {
+class TestWriteWellKnown {
private static final String POI_FS = "TestWriteWellKnown.doc";
diff --git a/src/testcases/org/apache/poi/hssf/dev/TestBiffDrawingToXml.java b/src/testcases/org/apache/poi/hssf/dev/TestBiffDrawingToXml.java
index 8724122f1f..ee06b7d101 100644
--- a/src/testcases/org/apache/poi/hssf/dev/TestBiffDrawingToXml.java
+++ b/src/testcases/org/apache/poi/hssf/dev/TestBiffDrawingToXml.java
@@ -27,7 +27,7 @@ import org.apache.poi.util.NullOutputStream;
import org.apache.poi.util.RecordFormatException;
import org.junit.jupiter.api.BeforeAll;
-public class TestBiffDrawingToXml extends BaseTestIteratingXLS {
+class TestBiffDrawingToXml extends BaseTestIteratingXLS {
@BeforeAll
public static void setup() {
EXCLUDED.clear();
diff --git a/src/testcases/org/apache/poi/hssf/dev/TestBiffViewer.java b/src/testcases/org/apache/poi/hssf/dev/TestBiffViewer.java
index a6fcb169f8..2778027760 100644
--- a/src/testcases/org/apache/poi/hssf/dev/TestBiffViewer.java
+++ b/src/testcases/org/apache/poi/hssf/dev/TestBiffViewer.java
@@ -29,7 +29,7 @@ import org.apache.poi.util.NullOutputStream;
import org.apache.poi.util.RecordFormatException;
import org.junit.jupiter.api.BeforeAll;
-public class TestBiffViewer extends BaseTestIteratingXLS {
+class TestBiffViewer extends BaseTestIteratingXLS {
@BeforeAll
public static void setup() {
EXCLUDED.clear();
diff --git a/src/testcases/org/apache/poi/hssf/dev/TestEFBiffViewer.java b/src/testcases/org/apache/poi/hssf/dev/TestEFBiffViewer.java
index 061b8ed0af..a223cc4506 100644
--- a/src/testcases/org/apache/poi/hssf/dev/TestEFBiffViewer.java
+++ b/src/testcases/org/apache/poi/hssf/dev/TestEFBiffViewer.java
@@ -27,7 +27,7 @@ import org.apache.poi.util.NullPrintStream;
import org.apache.poi.util.RecordFormatException;
import org.junit.jupiter.api.BeforeAll;
-public class TestEFBiffViewer extends BaseTestIteratingXLS {
+class TestEFBiffViewer extends BaseTestIteratingXLS {
@BeforeAll
public static void setup() {
EXCLUDED.clear();
diff --git a/src/testcases/org/apache/poi/hssf/dev/TestFormulaViewer.java b/src/testcases/org/apache/poi/hssf/dev/TestFormulaViewer.java
index a5b952396c..8637c1ab7a 100644
--- a/src/testcases/org/apache/poi/hssf/dev/TestFormulaViewer.java
+++ b/src/testcases/org/apache/poi/hssf/dev/TestFormulaViewer.java
@@ -28,7 +28,7 @@ import org.apache.poi.util.NullPrintStream;
import org.apache.poi.util.RecordFormatException;
import org.junit.jupiter.api.BeforeAll;
-public class TestFormulaViewer extends BaseTestIteratingXLS {
+class TestFormulaViewer extends BaseTestIteratingXLS {
@BeforeAll
public static void setup() {
EXCLUDED.clear();
diff --git a/src/testcases/org/apache/poi/hssf/dev/TestReSave.java b/src/testcases/org/apache/poi/hssf/dev/TestReSave.java
index 972490db83..a22b9412de 100644
--- a/src/testcases/org/apache/poi/hssf/dev/TestReSave.java
+++ b/src/testcases/org/apache/poi/hssf/dev/TestReSave.java
@@ -31,7 +31,7 @@ import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-public class TestReSave extends BaseTestIteratingXLS {
+class TestReSave extends BaseTestIteratingXLS {
@BeforeAll
public static void setup() {
EXCLUDED.clear();
diff --git a/src/testcases/org/apache/poi/hssf/dev/TestRecordLister.java b/src/testcases/org/apache/poi/hssf/dev/TestRecordLister.java
index fc2f304c42..cec212a9a4 100644
--- a/src/testcases/org/apache/poi/hssf/dev/TestRecordLister.java
+++ b/src/testcases/org/apache/poi/hssf/dev/TestRecordLister.java
@@ -25,7 +25,7 @@ import org.apache.poi.util.NullPrintStream;
import org.apache.poi.util.RecordFormatException;
import org.junit.jupiter.api.BeforeAll;
-public class TestRecordLister extends BaseTestIteratingXLS {
+class TestRecordLister extends BaseTestIteratingXLS {
@BeforeAll
public static void setup() {
EXCLUDED.clear();
diff --git a/src/testcases/org/apache/poi/hssf/model/TestDrawingAggregate.java b/src/testcases/org/apache/poi/hssf/model/TestDrawingAggregate.java
index 154209e4f4..18138de8ed 100644
--- a/src/testcases/org/apache/poi/hssf/model/TestDrawingAggregate.java
+++ b/src/testcases/org/apache/poi/hssf/model/TestDrawingAggregate.java
@@ -60,7 +60,7 @@ import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
-public class TestDrawingAggregate {
+class TestDrawingAggregate {
/**
* information about drawing aggregate in a worksheet
*/
diff --git a/src/testcases/org/apache/poi/hssf/model/TestDrawingShapes.java b/src/testcases/org/apache/poi/hssf/model/TestDrawingShapes.java
index 6a12fb17ba..673b548e38 100644
--- a/src/testcases/org/apache/poi/hssf/model/TestDrawingShapes.java
+++ b/src/testcases/org/apache/poi/hssf/model/TestDrawingShapes.java
@@ -68,7 +68,7 @@ import org.junit.jupiter.api.Test;
*
* optionally the system setting "poi.deserialize.escher" can be set to {@code true}
*/
-public class TestDrawingShapes {
+class TestDrawingShapes {
/**
* HSSFShape tree bust be built correctly
* Check file with such records structure:
diff --git a/src/testcases/org/apache/poi/hssf/model/TestEscherRecordFactory.java b/src/testcases/org/apache/poi/hssf/model/TestEscherRecordFactory.java
index 1d3c3924c6..efd3f5feff 100644
--- a/src/testcases/org/apache/poi/hssf/model/TestEscherRecordFactory.java
+++ b/src/testcases/org/apache/poi/hssf/model/TestEscherRecordFactory.java
@@ -40,7 +40,7 @@ import org.apache.poi.hssf.usermodel.HSSFTestHelper;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.junit.jupiter.api.Test;
-public class TestEscherRecordFactory {
+class TestEscherRecordFactory {
private static byte[] toByteArray(List<RecordBase> records) {
ByteArrayOutputStream out = new ByteArrayOutputStream();
diff --git a/src/testcases/org/apache/poi/hssf/model/TestHSSFAnchor.java b/src/testcases/org/apache/poi/hssf/model/TestHSSFAnchor.java
index d04bfe4c93..4ea06a42f4 100644
--- a/src/testcases/org/apache/poi/hssf/model/TestHSSFAnchor.java
+++ b/src/testcases/org/apache/poi/hssf/model/TestHSSFAnchor.java
@@ -41,7 +41,7 @@ import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.ClientAnchor.AnchorType;
import org.junit.jupiter.api.Test;
-public class TestHSSFAnchor {
+class TestHSSFAnchor {
@Test
void testDefaultValues(){
diff --git a/src/testcases/org/apache/poi/hssf/record/TestDConRefRecord.java b/src/testcases/org/apache/poi/hssf/record/TestDConRefRecord.java
index 35bcf1633e..c6ea64d6b6 100644
--- a/src/testcases/org/apache/poi/hssf/record/TestDConRefRecord.java
+++ b/src/testcases/org/apache/poi/hssf/record/TestDConRefRecord.java
@@ -34,7 +34,7 @@ import org.junit.jupiter.api.Test;
/**
* Unit tests for DConRefRecord class.
*/
-public class TestDConRefRecord {
+class TestDConRefRecord {
/**
* record of a proper single-byte external 'volume'-style path with multiple parts and a sheet
* name.
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestCryptoAPI.java b/src/testcases/org/apache/poi/hssf/usermodel/TestCryptoAPI.java
index 45790e3340..0f7d5788fe 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestCryptoAPI.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestCryptoAPI.java
@@ -26,7 +26,7 @@ import org.apache.poi.hssf.extractor.ExcelExtractor;
import org.apache.poi.hssf.record.crypto.Biff8EncryptionKey;
import org.junit.jupiter.api.Test;
-public class TestCryptoAPI {
+class TestCryptoAPI {
final HSSFITestDataProvider ssTests = HSSFITestDataProvider.instance;
@Test
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestEmbeddedObjects.java b/src/testcases/org/apache/poi/hssf/usermodel/TestEmbeddedObjects.java
index 891207e4c2..1617bd65ad 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestEmbeddedObjects.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestEmbeddedObjects.java
@@ -29,7 +29,7 @@ import org.junit.jupiter.api.Test;
/**
* Tests for the embedded object fetching support in HSSF
*/
-public class TestEmbeddedObjects {
+class TestEmbeddedObjects {
@Test
void testReadExistingObject() throws IOException {
try (HSSFWorkbook wb = HSSFTestDataSamples.openSampleWorkbook("drawings.xls")) {
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestExternalReferenceChange.java b/src/testcases/org/apache/poi/hssf/usermodel/TestExternalReferenceChange.java
index 50a0fee7f3..2d8ff7e834 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestExternalReferenceChange.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestExternalReferenceChange.java
@@ -27,7 +27,7 @@ import org.apache.poi.hssf.HSSFTestDataSamples;
import org.apache.poi.ss.usermodel.CellType;
import org.junit.jupiter.api.Test;
-public class TestExternalReferenceChange {
+class TestExternalReferenceChange {
private static final String MAIN_WORKBOOK_FILENAME = "52575_main.xls";
private static final String SOURCE_DUMMY_WORKBOOK_FILENAME = "source_dummy.xls";
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFColumnShifting.java b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFColumnShifting.java
index 50ef3dae12..66a5c308df 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFColumnShifting.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFColumnShifting.java
@@ -21,7 +21,7 @@ package org.apache.poi.hssf.usermodel;
import org.apache.poi.hssf.usermodel.helpers.HSSFColumnShifter;
import org.apache.poi.ss.usermodel.BaseTestColumnShifting;
-public class TestHSSFColumnShifting extends BaseTestColumnShifting {
+class TestHSSFColumnShifting extends BaseTestColumnShifting {
public TestHSSFColumnShifting() {
super();
wb = new HSSFWorkbook();
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFDateUtil.java b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFDateUtil.java
index adaa65bd3d..2949dbeeee 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFDateUtil.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFDateUtil.java
@@ -36,7 +36,7 @@ import org.junit.jupiter.api.Test;
/**
* Class TestHSSFDateUtil
*/
-public class TestHSSFDateUtil {
+class TestHSSFDateUtil {
static TimeZone userTimeZone;
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFEvaluationSheet.java b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFEvaluationSheet.java
index bac90f1577..dfc64df1bb 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFEvaluationSheet.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFEvaluationSheet.java
@@ -29,7 +29,7 @@ import org.apache.poi.ss.usermodel.BaseTestXEvaluationSheet;
import org.apache.poi.ss.usermodel.Sheet;
import org.junit.jupiter.api.Test;
-public class TestHSSFEvaluationSheet extends BaseTestXEvaluationSheet {
+class TestHSSFEvaluationSheet extends BaseTestXEvaluationSheet {
@Override
protected Map.Entry<Sheet, EvaluationSheet> getInstance() {
HSSFSheet sheet = new HSSFWorkbook().createSheet();
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFRangeCopier.java b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFRangeCopier.java
index c496dadefe..4b17b77a8e 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFRangeCopier.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFRangeCopier.java
@@ -24,7 +24,7 @@ import org.apache.poi.hssf.HSSFTestDataSamples;
import org.apache.poi.ss.usermodel.BaseTestRangeCopier;
import org.junit.jupiter.api.BeforeEach;
-public class TestHSSFRangeCopier extends BaseTestRangeCopier {
+class TestHSSFRangeCopier extends BaseTestRangeCopier {
public TestHSSFRangeCopier() {
super();
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheetShiftColumns.java b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheetShiftColumns.java
index 4e51dfcce3..9333ac516a 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheetShiftColumns.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheetShiftColumns.java
@@ -27,7 +27,7 @@ import org.apache.poi.ss.usermodel.Workbook;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-public class TestHSSFSheetShiftColumns extends BaseTestSheetShiftColumns {
+class TestHSSFSheetShiftColumns extends BaseTestSheetShiftColumns {
public TestHSSFSheetShiftColumns() {
super();
workbook = new HSSFWorkbook();
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestPOIFSProperties.java b/src/testcases/org/apache/poi/hssf/usermodel/TestPOIFSProperties.java
index 877ae6e42e..6d62955f0c 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestPOIFSProperties.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestPOIFSProperties.java
@@ -34,7 +34,7 @@ import org.junit.jupiter.api.Test;
/**
* Old-style setting of POIFS properties doesn't work with POI 3.0.2
*/
-public class TestPOIFSProperties {
+class TestPOIFSProperties {
private static final String title = "Testing POIFS properties";
@Test
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestPatriarch.java b/src/testcases/org/apache/poi/hssf/usermodel/TestPatriarch.java
index b60d779120..341be15819 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestPatriarch.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestPatriarch.java
@@ -27,7 +27,7 @@ import org.apache.poi.hssf.HSSFTestDataSamples;
import org.apache.poi.hssf.record.EscherAggregate;
import org.junit.jupiter.api.Test;
-public class TestPatriarch {
+class TestPatriarch {
@Test
void testGetPatriarch(){
HSSFWorkbook wb = new HSSFWorkbook();
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestPolygon.java b/src/testcases/org/apache/poi/hssf/usermodel/TestPolygon.java
index 0857ca7dd0..a144482e88 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestPolygon.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestPolygon.java
@@ -31,7 +31,7 @@ import org.apache.poi.hssf.HSSFTestDataSamples;
import org.apache.poi.hssf.record.ObjRecord;
import org.junit.jupiter.api.Test;
-public class TestPolygon {
+class TestPolygon {
@Test
void testResultEqualsToAbstractShape() throws IOException {
HSSFWorkbook wb = new HSSFWorkbook();
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestShapeGroup.java b/src/testcases/org/apache/poi/hssf/usermodel/TestShapeGroup.java
index a3db849f14..b02fa4fc7a 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestShapeGroup.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestShapeGroup.java
@@ -30,7 +30,7 @@ import org.apache.poi.hssf.HSSFTestDataSamples;
import org.apache.poi.hssf.record.EscherAggregate;
import org.junit.jupiter.api.Test;
-public class TestShapeGroup {
+class TestShapeGroup {
@Test
void testSetGetCoordinates() throws IOException {
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestText.java b/src/testcases/org/apache/poi/hssf/usermodel/TestText.java
index 81b9c6e5a3..f00bf02dfe 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestText.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestText.java
@@ -32,7 +32,7 @@ import org.junit.jupiter.api.Test;
* @author Evgeniy Berlog
* @date 25.06.12
*/
-public class TestText {
+class TestText {
@Test
void testResultEqualsToNonExistingAbstractShape() throws IOException {
diff --git a/src/testcases/org/apache/poi/poifs/crypt/TestCipherAlgorithm.java b/src/testcases/org/apache/poi/poifs/crypt/TestCipherAlgorithm.java
index 7218f13d3b..22452a0efd 100644
--- a/src/testcases/org/apache/poi/poifs/crypt/TestCipherAlgorithm.java
+++ b/src/testcases/org/apache/poi/poifs/crypt/TestCipherAlgorithm.java
@@ -23,7 +23,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
import org.apache.poi.EncryptedDocumentException;
import org.junit.jupiter.api.Test;
-public class TestCipherAlgorithm {
+class TestCipherAlgorithm {
@Test
void validInputs() {
assertEquals(128, CipherAlgorithm.aes128.defaultKeySize);
diff --git a/src/testcases/org/apache/poi/poifs/crypt/TestXorEncryption.java b/src/testcases/org/apache/poi/poifs/crypt/TestXorEncryption.java
index 938249e1a1..2bca550236 100644
--- a/src/testcases/org/apache/poi/poifs/crypt/TestXorEncryption.java
+++ b/src/testcases/org/apache/poi/poifs/crypt/TestXorEncryption.java
@@ -36,7 +36,7 @@ import org.apache.poi.util.HexRead;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-public class TestXorEncryption {
+class TestXorEncryption {
private static final HSSFTestDataSamples samples = new HSSFTestDataSamples();
diff --git a/src/testcases/org/apache/poi/poifs/crypt/binaryrc4/TestBinaryRC4.java b/src/testcases/org/apache/poi/poifs/crypt/binaryrc4/TestBinaryRC4.java
index d18ef91a74..42a607c130 100644
--- a/src/testcases/org/apache/poi/poifs/crypt/binaryrc4/TestBinaryRC4.java
+++ b/src/testcases/org/apache/poi/poifs/crypt/binaryrc4/TestBinaryRC4.java
@@ -30,7 +30,7 @@ import org.apache.poi.poifs.crypt.EncryptionInfo;
import org.apache.poi.poifs.crypt.EncryptionMode;
import org.junit.jupiter.api.Test;
-public class TestBinaryRC4 {
+class TestBinaryRC4 {
@Test
void createKeyDigest() {
byte[] docIdData = readFromString("17 F6 D1 6B 09 B1 5F 7B 4C 9D 03 B4 81 B5 B4 4A");
diff --git a/src/testcases/org/apache/poi/poifs/filesystem/TestDocument.java b/src/testcases/org/apache/poi/poifs/filesystem/TestDocument.java
index 459ecfacf9..15edc14e92 100644
--- a/src/testcases/org/apache/poi/poifs/filesystem/TestDocument.java
+++ b/src/testcases/org/apache/poi/poifs/filesystem/TestDocument.java
@@ -37,7 +37,7 @@ import org.junit.jupiter.api.Test;
/**
* Class to test POIFSDocument functionality
*/
-public class TestDocument {
+class TestDocument {
/**
* Integration test -- really about all we can do
diff --git a/src/testcases/org/apache/poi/poifs/filesystem/TestEntryUtils.java b/src/testcases/org/apache/poi/poifs/filesystem/TestEntryUtils.java
index 73cf49da5b..b85550cc15 100644
--- a/src/testcases/org/apache/poi/poifs/filesystem/TestEntryUtils.java
+++ b/src/testcases/org/apache/poi/poifs/filesystem/TestEntryUtils.java
@@ -32,7 +32,7 @@ import java.util.List;
import org.junit.jupiter.api.Test;
-public class TestEntryUtils {
+class TestEntryUtils {
private static final byte[] dataSmallA = new byte[] { 12, 42, 11, -12, -121 };
private static final byte[] dataSmallB = new byte[] { 11, 73, 21, -92, -103 };
diff --git a/src/testcases/org/apache/poi/poifs/filesystem/TestFileMagic.java b/src/testcases/org/apache/poi/poifs/filesystem/TestFileMagic.java
index 9f91a2aff1..456ca076ac 100644
--- a/src/testcases/org/apache/poi/poifs/filesystem/TestFileMagic.java
+++ b/src/testcases/org/apache/poi/poifs/filesystem/TestFileMagic.java
@@ -39,7 +39,7 @@ import org.apache.poi.POIDataSamples;
import org.apache.poi.util.TempFile;
import org.junit.jupiter.api.Test;
-public class TestFileMagic {
+class TestFileMagic {
@Test
void testFileMagic() {
assertEquals(FileMagic.XML, FileMagic.valueOf("XML"));
diff --git a/src/testcases/org/apache/poi/poifs/filesystem/TestNotOLE2Exception.java b/src/testcases/org/apache/poi/poifs/filesystem/TestNotOLE2Exception.java
index 6ad8e316ce..42d6534dc6 100644
--- a/src/testcases/org/apache/poi/poifs/filesystem/TestNotOLE2Exception.java
+++ b/src/testcases/org/apache/poi/poifs/filesystem/TestNotOLE2Exception.java
@@ -33,7 +33,7 @@ import org.junit.jupiter.api.Test;
* formats. See also {@link TestOfficeXMLException} for OOXML
* checks
*/
-public class TestNotOLE2Exception {
+class TestNotOLE2Exception {
private static InputStream openXLSSampleStream(String sampleFileName) {
return HSSFTestDataSamples.openSampleFileStream(sampleFileName);
}
diff --git a/src/testcases/org/apache/poi/poifs/filesystem/TestOfficeXMLException.java b/src/testcases/org/apache/poi/poifs/filesystem/TestOfficeXMLException.java
index dfd6b20b3c..8e4dd48298 100644
--- a/src/testcases/org/apache/poi/poifs/filesystem/TestOfficeXMLException.java
+++ b/src/testcases/org/apache/poi/poifs/filesystem/TestOfficeXMLException.java
@@ -35,7 +35,7 @@ import org.junit.jupiter.api.Test;
* Class to test that POIFS complains when given an Office 2003 XML
* of Office Open XML (OOXML, 2007+) document
*/
-public class TestOfficeXMLException {
+class TestOfficeXMLException {
private static InputStream openSampleStream(String sampleFileName) {
return HSSFTestDataSamples.openSampleFileStream(sampleFileName);
diff --git a/src/testcases/org/apache/poi/poifs/filesystem/TestOle10Native.java b/src/testcases/org/apache/poi/poifs/filesystem/TestOle10Native.java
index a575c2b05c..6becf23aa1 100644
--- a/src/testcases/org/apache/poi/poifs/filesystem/TestOle10Native.java
+++ b/src/testcases/org/apache/poi/poifs/filesystem/TestOle10Native.java
@@ -36,7 +36,7 @@ import org.apache.poi.util.IOUtils;
import org.apache.poi.util.RecordFormatException;
import org.junit.jupiter.api.Test;
-public class TestOle10Native {
+class TestOle10Native {
private static final POIDataSamples dataSamples = POIDataSamples.getPOIFSInstance();
@Test
diff --git a/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java b/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java
index a2a906d3db..57e9ed814e 100644
--- a/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java
+++ b/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java
@@ -37,7 +37,7 @@ import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
-public class TestVBAMacroReader {
+class TestVBAMacroReader {
private static final Map<POIDataSamples, String> expectedMacroContents;
private static String readVBA(POIDataSamples poiDataSamples) {
diff --git a/src/testcases/org/apache/poi/poifs/nio/TestDataSource.java b/src/testcases/org/apache/poi/poifs/nio/TestDataSource.java
index c9734f162b..3845ce75fe 100644
--- a/src/testcases/org/apache/poi/poifs/nio/TestDataSource.java
+++ b/src/testcases/org/apache/poi/poifs/nio/TestDataSource.java
@@ -40,7 +40,7 @@ import org.junit.jupiter.api.Test;
/**
* Tests for the datasource implementations
*/
-public class TestDataSource {
+class TestDataSource {
private static final POIDataSamples data = POIDataSamples.getPOIFSInstance();
@Test
diff --git a/src/testcases/org/apache/poi/sl/draw/geom/TestFormulaParser.java b/src/testcases/org/apache/poi/sl/draw/geom/TestFormulaParser.java
index a5c57ab88e..a99041c852 100644
--- a/src/testcases/org/apache/poi/sl/draw/geom/TestFormulaParser.java
+++ b/src/testcases/org/apache/poi/sl/draw/geom/TestFormulaParser.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test;
*
* @author Yegor Kozlov
*/
-public class TestFormulaParser {
+class TestFormulaParser {
@Test
void testParse(){
diff --git a/src/testcases/org/apache/poi/sl/draw/geom/TestPresetGeometries.java b/src/testcases/org/apache/poi/sl/draw/geom/TestPresetGeometries.java
index c70c77fcd5..4d0061673e 100644
--- a/src/testcases/org/apache/poi/sl/draw/geom/TestPresetGeometries.java
+++ b/src/testcases/org/apache/poi/sl/draw/geom/TestPresetGeometries.java
@@ -30,7 +30,7 @@ import java.util.Enumeration;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-public class TestPresetGeometries {
+class TestPresetGeometries {
@Test
void testRead(){
PresetGeometries shapes = PresetGeometries.getInstance();
diff --git a/src/testcases/org/apache/poi/ss/format/TestCellFormat.java b/src/testcases/org/apache/poi/ss/format/TestCellFormat.java
index ea48d51789..2c8da04394 100644
--- a/src/testcases/org/apache/poi/ss/format/TestCellFormat.java
+++ b/src/testcases/org/apache/poi/ss/format/TestCellFormat.java
@@ -43,7 +43,7 @@ import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
-public class TestCellFormat {
+class TestCellFormat {
private static TimeZone userTimeZone;
diff --git a/src/testcases/org/apache/poi/ss/format/TestCellFormatCondition.java b/src/testcases/org/apache/poi/ss/format/TestCellFormatCondition.java
index 5bbe32db53..bf4cafc714 100644
--- a/src/testcases/org/apache/poi/ss/format/TestCellFormatCondition.java
+++ b/src/testcases/org/apache/poi/ss/format/TestCellFormatCondition.java
@@ -21,7 +21,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
-public class TestCellFormatCondition {
+class TestCellFormatCondition {
@Test
void testSVConditions() {
CellFormatCondition lt = CellFormatCondition.getInstance("<", "1.5");
diff --git a/src/testcases/org/apache/poi/ss/format/TestCellFormatResult.java b/src/testcases/org/apache/poi/ss/format/TestCellFormatResult.java
index ac5e8a46df..7f19b7dcb6 100644
--- a/src/testcases/org/apache/poi/ss/format/TestCellFormatResult.java
+++ b/src/testcases/org/apache/poi/ss/format/TestCellFormatResult.java
@@ -22,7 +22,7 @@ import java.awt.Color;
import org.junit.jupiter.api.Test;
-public class TestCellFormatResult {
+class TestCellFormatResult {
@Test
void testNullTextRaisesException() {
diff --git a/src/testcases/org/apache/poi/ss/formula/TestCellCacheEntry.java b/src/testcases/org/apache/poi/ss/formula/TestCellCacheEntry.java
index bd90938116..11b08fade6 100644
--- a/src/testcases/org/apache/poi/ss/formula/TestCellCacheEntry.java
+++ b/src/testcases/org/apache/poi/ss/formula/TestCellCacheEntry.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.Test;
/**
* Tests {@link org.apache.poi.ss.formula.CellCacheEntry}.
*/
-public class TestCellCacheEntry {
+class TestCellCacheEntry {
@Test
void testBasic() {
diff --git a/src/testcases/org/apache/poi/ss/formula/TestEvaluationCache.java b/src/testcases/org/apache/poi/ss/formula/TestEvaluationCache.java
index 5a88757a63..5f7c6a76d2 100644
--- a/src/testcases/org/apache/poi/ss/formula/TestEvaluationCache.java
+++ b/src/testcases/org/apache/poi/ss/formula/TestEvaluationCache.java
@@ -59,7 +59,7 @@ import org.junit.jupiter.api.Test;
* values are used. Also checks that changing cell values causes the correct (minimal) set of
* dependent cached values to be cleared.
*/
-public class TestEvaluationCache {
+class TestEvaluationCache {
private static final class FormulaCellCacheEntryComparer implements Comparator<ICacheEntry> {
diff --git a/src/testcases/org/apache/poi/ss/formula/TestFunctionRegistry.java b/src/testcases/org/apache/poi/ss/formula/TestFunctionRegistry.java
index 93f7104411..5bb859ce34 100644
--- a/src/testcases/org/apache/poi/ss/formula/TestFunctionRegistry.java
+++ b/src/testcases/org/apache/poi/ss/formula/TestFunctionRegistry.java
@@ -43,7 +43,7 @@ import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestMethodOrder;
@TestMethodOrder(MethodOrderer.MethodName.class)
-public class TestFunctionRegistry {
+class TestFunctionRegistry {
HSSFWorkbook wb;
HSSFSheet sheet;
diff --git a/src/testcases/org/apache/poi/ss/formula/TestPlainCellCache.java b/src/testcases/org/apache/poi/ss/formula/TestPlainCellCache.java
index 957fd59367..dc05d792f4 100644
--- a/src/testcases/org/apache/poi/ss/formula/TestPlainCellCache.java
+++ b/src/testcases/org/apache/poi/ss/formula/TestPlainCellCache.java
@@ -27,7 +27,7 @@ import org.apache.poi.ss.formula.PlainCellCache.Loc;
import org.apache.poi.ss.formula.eval.NumberEval;
import org.junit.jupiter.api.Test;
-public class TestPlainCellCache {
+class TestPlainCellCache {
@Test
void testLoc(){
diff --git a/src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java b/src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java
index df5e1aa042..39eafbe65f 100644
--- a/src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java
+++ b/src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java
@@ -57,7 +57,7 @@ import org.junit.jupiter.api.Test;
*
* @author Josh Micich
*/
-public class TestWorkbookEvaluator {
+class TestWorkbookEvaluator {
private static final double EPSILON = 0.0000001;
diff --git a/src/testcases/org/apache/poi/ss/formula/atp/TestIfError.java b/src/testcases/org/apache/poi/ss/formula/atp/TestIfError.java
index a049454cfc..8214390798 100644
--- a/src/testcases/org/apache/poi/ss/formula/atp/TestIfError.java
+++ b/src/testcases/org/apache/poi/ss/formula/atp/TestIfError.java
@@ -33,7 +33,7 @@ import org.junit.jupiter.api.Test;
/**
* Testcase for 'Analysis Toolpak' function IFERROR()
*/
-public class TestIfError {
+class TestIfError {
/**
* =IFERROR(210/35,\"Error in calculation\")" Divides 210 by 35 and returns 6.0
diff --git a/src/testcases/org/apache/poi/ss/formula/atp/TestMRound.java b/src/testcases/org/apache/poi/ss/formula/atp/TestMRound.java
index bb0c88cf1b..2e99276f7f 100644
--- a/src/testcases/org/apache/poi/ss/formula/atp/TestMRound.java
+++ b/src/testcases/org/apache/poi/ss/formula/atp/TestMRound.java
@@ -29,7 +29,7 @@ import org.junit.jupiter.api.Test;
/**
* Testcase for 'Analysis Toolpak' function MROUND()
*/
-public class TestMRound {
+class TestMRound {
/**
=MROUND(10, 3) Rounds 10 to a nearest multiple of 3 (9)
diff --git a/src/testcases/org/apache/poi/ss/formula/atp/TestNetworkdaysFunction.java b/src/testcases/org/apache/poi/ss/formula/atp/TestNetworkdaysFunction.java
index ff2c1d1863..7ee0476b3c 100644
--- a/src/testcases/org/apache/poi/ss/formula/atp/TestNetworkdaysFunction.java
+++ b/src/testcases/org/apache/poi/ss/formula/atp/TestNetworkdaysFunction.java
@@ -33,7 +33,7 @@ import org.apache.poi.ss.formula.eval.StringEval;
import org.apache.poi.ss.formula.eval.ValueEval;
import org.junit.jupiter.api.Test;
-public class TestNetworkdaysFunction {
+class TestNetworkdaysFunction {
private static final String STARTING_DATE = "2008/10/01";
private static final String END_DATE = "2009/03/01";
diff --git a/src/testcases/org/apache/poi/ss/formula/atp/TestPercentile.java b/src/testcases/org/apache/poi/ss/formula/atp/TestPercentile.java
index c50bc2f08a..9af99fb0ee 100644
--- a/src/testcases/org/apache/poi/ss/formula/atp/TestPercentile.java
+++ b/src/testcases/org/apache/poi/ss/formula/atp/TestPercentile.java
@@ -31,7 +31,7 @@ import org.junit.jupiter.api.Test;
/**
* Testcase for Excel function PERCENTILE()
*/
-public class TestPercentile {
+class TestPercentile {
private static ValueEval invokePercentile(ValueEval[] args, ValueEval percentile) {
AreaEval aeA = EvalFactory.createAreaEval("A1:A" + args.length, args);
diff --git a/src/testcases/org/apache/poi/ss/formula/atp/TestRandBetween.java b/src/testcases/org/apache/poi/ss/formula/atp/TestRandBetween.java
index ed880c38e0..83d54ef446 100644
--- a/src/testcases/org/apache/poi/ss/formula/atp/TestRandBetween.java
+++ b/src/testcases/org/apache/poi/ss/formula/atp/TestRandBetween.java
@@ -33,7 +33,7 @@ import org.junit.jupiter.api.Test;
/**
* Testcase for 'Analysis Toolpak' function RANDBETWEEN()
*/
-public class TestRandBetween {
+class TestRandBetween {
private FormulaEvaluator evaluator;
private Cell bottomValueCell;
diff --git a/src/testcases/org/apache/poi/ss/formula/atp/TestWorkdayCalculator.java b/src/testcases/org/apache/poi/ss/formula/atp/TestWorkdayCalculator.java
index 8066eb8994..598b3119b7 100644
--- a/src/testcases/org/apache/poi/ss/formula/atp/TestWorkdayCalculator.java
+++ b/src/testcases/org/apache/poi/ss/formula/atp/TestWorkdayCalculator.java
@@ -27,7 +27,7 @@ import org.apache.poi.ss.usermodel.DateUtil;
import org.apache.poi.util.LocaleUtil;
import org.junit.jupiter.api.Test;
-public class TestWorkdayCalculator {
+class TestWorkdayCalculator {
@Test
void testCalculateWorkdaysShouldReturnJustWeekdaysWhenNoWeekend() {
diff --git a/src/testcases/org/apache/poi/ss/formula/atp/TestWorkdayFunction.java b/src/testcases/org/apache/poi/ss/formula/atp/TestWorkdayFunction.java
index 4414276574..e2e73bad04 100644
--- a/src/testcases/org/apache/poi/ss/formula/atp/TestWorkdayFunction.java
+++ b/src/testcases/org/apache/poi/ss/formula/atp/TestWorkdayFunction.java
@@ -38,7 +38,7 @@ import org.apache.poi.ss.usermodel.DateUtil;
import org.apache.poi.util.LocaleUtil;
import org.junit.jupiter.api.Test;
-public class TestWorkdayFunction {
+class TestWorkdayFunction {
private static final String STARTING_DATE = "2008/10/01";
private static final String FIRST_HOLIDAY = "2008/11/26";
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestBooleanFunctionsFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestBooleanFunctionsFromSpreadsheet.java
index 1689cba236..bb9a238eaa 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestBooleanFunctionsFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestBooleanFunctionsFromSpreadsheet.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.params.provider.Arguments;
/**
* Tests boolean functions as loaded from a test data spreadsheet.<p>
*/
-public class TestBooleanFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestBooleanFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestBooleanFunctionsFromSpreadsheet.class, "BooleanFunctionsTestCaseData.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestCode.java b/src/testcases/org/apache/poi/ss/formula/functions/TestCode.java
index aa5b170f6d..32dd466ba8 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestCode.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestCode.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
*
* @author cedric dot walter @ gmail dot com
*/
-public class TestCode {
+class TestCode {
private static ValueEval invokeValue(String number1) {
ValueEval[] args = new ValueEval[]{new StringEval(number1),};
return new Code().evaluate(args, -1, -1);
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestCodeFunctionsFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestCodeFunctionsFromSpreadsheet.java
index 7e9257bbc0..213aeca067 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestCodeFunctionsFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestCodeFunctionsFromSpreadsheet.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.params.provider.Arguments;
/**
* Tests CODE() as loaded from a test data spreadsheet.<p>
*/
-public class TestCodeFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestCodeFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestCodeFunctionsFromSpreadsheet.class, "CodeFunctionTestCaseData.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestComplex.java b/src/testcases/org/apache/poi/ss/formula/functions/TestComplex.java
index 9f710bebd2..018e2222f3 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestComplex.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestComplex.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
*
* @author cedric dot walter @ gmail dot com
*/
-public class TestComplex {
+class TestComplex {
private static ValueEval invokeValue(String real_num, String i_num, String suffix) {
ValueEval[] args = new ValueEval[]{new StringEval(real_num), new StringEval(i_num), new StringEval(suffix)};
return new Complex().evaluate(args, -1, -1);
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestComplexFunctionsFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestComplexFunctionsFromSpreadsheet.java
index 6761090ed0..3318832fc1 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestComplexFunctionsFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestComplexFunctionsFromSpreadsheet.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.params.provider.Arguments;
/**
* Tests COMPLEX() as loaded from a test data spreadsheet.<p>
*/
-public class TestComplexFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestComplexFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestComplexFunctionsFromSpreadsheet.class, "ComplexFunctionTestCaseData.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestDGetFunctionsFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestDGetFunctionsFromSpreadsheet.java
index 2f5a487730..393334c5da 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestDGetFunctionsFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestDGetFunctionsFromSpreadsheet.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.params.provider.Arguments;
/**
* Tests DGET() as loaded from a test data spreadsheet.
*/
-public class TestDGetFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestDGetFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestDGetFunctionsFromSpreadsheet.class, "DGet.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestDStarFunctionsFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestDStarFunctionsFromSpreadsheet.java
index 3eb684bd89..f7d20532c6 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestDStarFunctionsFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestDStarFunctionsFromSpreadsheet.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.params.provider.Arguments;
/**
* Tests D*() functions as loaded from a test data spreadsheet.
*/
-public class TestDStarFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestDStarFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestDStarFunctionsFromSpreadsheet.class, "DStar.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestDateTimeToNumberFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestDateTimeToNumberFromSpreadsheet.java
index e53d46da69..4f0e9ee7ba 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestDateTimeToNumberFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestDateTimeToNumberFromSpreadsheet.java
@@ -21,7 +21,7 @@ import java.util.stream.Stream;
import org.junit.jupiter.params.provider.Arguments;
-public class TestDateTimeToNumberFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestDateTimeToNumberFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestDateTimeToNumberFromSpreadsheet.class, "DateTimeToNumberTestCases.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestDeltaFunctionsFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestDeltaFunctionsFromSpreadsheet.java
index 75755db7e0..aa1bf1f0c5 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestDeltaFunctionsFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestDeltaFunctionsFromSpreadsheet.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.params.provider.Arguments;
/**
* Tests DELTA() as loaded from a test data spreadsheet.<p>
*/
-public class TestDeltaFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestDeltaFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestDeltaFunctionsFromSpreadsheet.class, "DeltaFunctionTestCaseData.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestEDate.java b/src/testcases/org/apache/poi/ss/formula/functions/TestEDate.java
index c6b2a0f02e..d55fdcf5e8 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestEDate.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestEDate.java
@@ -32,7 +32,7 @@ import org.apache.poi.ss.usermodel.FormulaError;
import org.apache.poi.util.LocaleUtil;
import org.junit.jupiter.api.Test;
-public class TestEDate {
+class TestEDate {
@Test
void testEDateProperValues() {
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestEOMonth.java b/src/testcases/org/apache/poi/ss/formula/functions/TestEOMonth.java
index 333c534c0f..c1e1349909 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestEOMonth.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestEOMonth.java
@@ -34,7 +34,7 @@ import org.apache.poi.ss.usermodel.FormulaError;
import org.apache.poi.util.LocaleUtil;
import org.junit.jupiter.api.Test;
-public class TestEOMonth {
+class TestEOMonth {
private static final double BAD_DATE = -1.0;
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestFactDoubleFunctionsFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestFactDoubleFunctionsFromSpreadsheet.java
index ff28a5fd34..9e9394c791 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestFactDoubleFunctionsFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestFactDoubleFunctionsFromSpreadsheet.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.params.provider.Arguments;
/**
* Tests FactDouble() as loaded from a test data spreadsheet.<p>
*/
-public class TestFactDoubleFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestFactDoubleFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestFactDoubleFunctionsFromSpreadsheet.class, "FactDoubleFunctionTestCaseData.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestFinanceLib.java b/src/testcases/org/apache/poi/ss/formula/functions/TestFinanceLib.java
index 07cf625a36..958e4740bb 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestFinanceLib.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestFinanceLib.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test;
* @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt;
*
*/
-public class TestFinanceLib extends BaseTestNumeric {
+class TestFinanceLib extends BaseTestNumeric {
@Test
void testFv() {
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestFixedFunctionsFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestFixedFunctionsFromSpreadsheet.java
index 050b61d676..907ecf7cc1 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestFixedFunctionsFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestFixedFunctionsFromSpreadsheet.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.params.provider.Arguments;
/**
* Tests FIXED() as loaded from a test data spreadsheet.
*/
-public class TestFixedFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestFixedFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestFixedFunctionsFromSpreadsheet.class, "57003-FixedFunctionTestCaseData.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestFrequency.java b/src/testcases/org/apache/poi/ss/formula/functions/TestFrequency.java
index c6ea4e3fe9..6dd04d13c1 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestFrequency.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestFrequency.java
@@ -35,7 +35,7 @@ import org.junit.jupiter.api.Test;
*
* @author Yegor Kozlov
*/
-public class TestFrequency {
+class TestFrequency {
@Test
void testHistogram() {
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestGeomean.java b/src/testcases/org/apache/poi/ss/formula/functions/TestGeomean.java
index 72f6352fe5..681b9e00dc 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestGeomean.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestGeomean.java
@@ -39,7 +39,7 @@ import org.junit.jupiter.api.Test;
* Remarks:
* Actually, 5. is not true. If an error is encountered before a 0 value, the error is returned.
*/
-public class TestGeomean {
+class TestGeomean {
@Test
void acceptanceTest() {
Function geomean = getInstance();
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestIFFunctionFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestIFFunctionFromSpreadsheet.java
index 8e6fb4573b..3614200239 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestIFFunctionFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestIFFunctionFromSpreadsheet.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.params.provider.Arguments;
/**
* Tests IF() as loaded from a test data spreadsheet.<p>
*/
-public class TestIFFunctionFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestIFFunctionFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestIFFunctionFromSpreadsheet.class, "IfFunctionTestCaseData.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestImRealFunctionsFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestImRealFunctionsFromSpreadsheet.java
index b9ba1ae580..4d226fa26a 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestImRealFunctionsFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestImRealFunctionsFromSpreadsheet.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.params.provider.Arguments;
/**
* Tests ImReal() as loaded from a test data spreadsheet.<p>
*/
-public class TestImRealFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestImRealFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestImRealFunctionsFromSpreadsheet.class, "ImRealFunctionTestCaseData.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestImaginaryFunctionsFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestImaginaryFunctionsFromSpreadsheet.java
index a0ffeb2849..ea1fe44b1f 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestImaginaryFunctionsFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestImaginaryFunctionsFromSpreadsheet.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.params.provider.Arguments;
/**
* Tests Imaginary() as loaded from a test data spreadsheet.<p>
*/
-public class TestImaginaryFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestImaginaryFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestImaginaryFunctionsFromSpreadsheet.class, "ImaginaryFunctionTestCaseData.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestLeftRight.java b/src/testcases/org/apache/poi/ss/formula/functions/TestLeftRight.java
index 97af42c745..f6f0d1be19 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestLeftRight.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestLeftRight.java
@@ -32,7 +32,7 @@ import org.junit.jupiter.api.Test;
* @author Brendan Nolan
*
*/
-public class TestLeftRight {
+class TestLeftRight {
private static final NumberEval NEGATIVE_OPERAND = new NumberEval(-1.0);
private static final StringEval ANY_STRING_VALUE = new StringEval("ANYSTRINGVALUE");
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestLogicalFunction.java b/src/testcases/org/apache/poi/ss/formula/functions/TestLogicalFunction.java
index ec8e84b67f..8825f01814 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestLogicalFunction.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestLogicalFunction.java
@@ -37,7 +37,7 @@ import org.junit.jupiter.api.Test;
/**
* LogicalFunction unit tests.
*/
-public class TestLogicalFunction {
+class TestLogicalFunction {
private FormulaEvaluator evaluator;
private Row row3;
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestLogicalFunctionsFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestLogicalFunctionsFromSpreadsheet.java
index 7552bf5af3..84deb0fc7b 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestLogicalFunctionsFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestLogicalFunctionsFromSpreadsheet.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.params.provider.Arguments;
/**
* Tests for logical ISxxx functions as loaded from a test data spreadsheet.<p>
*/
-public class TestLogicalFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestLogicalFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestLogicalFunctionsFromSpreadsheet.class, "LogicalFunctionsTestCaseData.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestMultiOperandNumericFunction.java b/src/testcases/org/apache/poi/ss/formula/functions/TestMultiOperandNumericFunction.java
index 8f9c1cf21c..3c6e88a273 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestMultiOperandNumericFunction.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestMultiOperandNumericFunction.java
@@ -27,7 +27,7 @@ import org.apache.poi.ss.formula.eval.NumberEval;
import org.apache.poi.ss.formula.eval.ValueEval;
import org.junit.jupiter.api.Test;
-public class TestMultiOperandNumericFunction {
+class TestMultiOperandNumericFunction {
@Test
void testSettings() {
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestPoisson.java b/src/testcases/org/apache/poi/ss/formula/functions/TestPoisson.java
index 2c2a96da03..35ee88c29d 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestPoisson.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestPoisson.java
@@ -29,7 +29,7 @@ import org.junit.jupiter.api.Test;
* Tests for Excel function POISSON(x,mean,cumulative)
* @author Kalpesh Parmar
*/
-public class TestPoisson {
+class TestPoisson {
private static final double DELTA = 1E-15;
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestProduct.java b/src/testcases/org/apache/poi/ss/formula/functions/TestProduct.java
index ef69d8d626..7f5bc5a1dc 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestProduct.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestProduct.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
-public class TestProduct {
+class TestProduct {
@Test
void missingArgsAreIgnored() {
ValueEval result = getInstance().evaluate(new ValueEval[]{new NumberEval(2.0), MissingArgEval.instance}, 0, 0);
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestQuotient.java b/src/testcases/org/apache/poi/ss/formula/functions/TestQuotient.java
index 9ca2837bd5..15968199b5 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestQuotient.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestQuotient.java
@@ -29,7 +29,7 @@ import org.junit.jupiter.api.Test;
*
* @author cedric dot walter @ gmail dot com
*/
-public class TestQuotient {
+class TestQuotient {
private static ValueEval invokeValue(String numerator, String denominator) {
ValueEval[] args = new ValueEval[]{new StringEval(numerator), new StringEval(denominator)};
return new Quotient().evaluate(args, -1, -1);
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestQuotientFunctionsFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestQuotientFunctionsFromSpreadsheet.java
index 0406d72ab8..bbbfba1882 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestQuotientFunctionsFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestQuotientFunctionsFromSpreadsheet.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.params.provider.Arguments;
/**
* Tests QUOTIENT() as loaded from a test data spreadsheet.<p>
*/
-public class TestQuotientFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestQuotientFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestQuotientFunctionsFromSpreadsheet.class, "QuotientFunctionTestCaseData.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestRelationalOperations.java b/src/testcases/org/apache/poi/ss/formula/functions/TestRelationalOperations.java
index 7c0a0f1364..0e87b38210 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestRelationalOperations.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestRelationalOperations.java
@@ -27,7 +27,7 @@ import org.apache.poi.ss.formula.eval.StringEval;
import org.apache.poi.ss.formula.eval.ValueEval;
import org.junit.jupiter.api.Test;
-public class TestRelationalOperations {
+class TestRelationalOperations {
/**
* (1, 1)(1, 1) = 1
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestReptFunctionsFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestReptFunctionsFromSpreadsheet.java
index a2a62f8b65..2a7132e813 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestReptFunctionsFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestReptFunctionsFromSpreadsheet.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.params.provider.Arguments;
/**
* Tests REPT() as loaded from a test data spreadsheet.<p>
*/
-public class TestReptFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestReptFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestReptFunctionsFromSpreadsheet.class, "ReptFunctionTestCaseData.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestRomanFunctionsFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestRomanFunctionsFromSpreadsheet.java
index 716dfc202b..ffe0c75c00 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestRomanFunctionsFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestRomanFunctionsFromSpreadsheet.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.params.provider.Arguments;
/**
* Tests Roman() as loaded from a test data spreadsheet.<p>
*/
-public class TestRomanFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestRomanFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestRomanFunctionsFromSpreadsheet.class, "RomanFunctionTestCaseData.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestStatsLib.java b/src/testcases/org/apache/poi/ss/formula/functions/TestStatsLib.java
index e2391359ba..70e83bd9af 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestStatsLib.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestStatsLib.java
@@ -30,7 +30,7 @@ import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-public class TestStatsLib extends BaseTestNumeric {
+class TestStatsLib extends BaseTestNumeric {
@Test
void testDevsq() {
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestSubstitute.java b/src/testcases/org/apache/poi/ss/formula/functions/TestSubstitute.java
index 83e02996ec..3735232878 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestSubstitute.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestSubstitute.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
-public class TestSubstitute {
+class TestSubstitute {
@Test
void testSubstitute() {
Substitute fun = new Substitute();
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestTrendFunctionsFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestTrendFunctionsFromSpreadsheet.java
index 49f9a714f7..55398d31cb 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestTrendFunctionsFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestTrendFunctionsFromSpreadsheet.java
@@ -23,7 +23,7 @@ import org.junit.jupiter.params.provider.Arguments;
/**
* Tests TREND() as loaded from a test data spreadsheet.
*/
-public class TestTrendFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestTrendFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestTrendFunctionsFromSpreadsheet.class, "Trend.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestTwoOperandNumericFunctionsFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestTwoOperandNumericFunctionsFromSpreadsheet.java
index 389d2bb5a0..3cac14426d 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestTwoOperandNumericFunctionsFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestTwoOperandNumericFunctionsFromSpreadsheet.java
@@ -25,7 +25,7 @@ import org.junit.jupiter.params.provider.Arguments;
* Tests for numeric functions with two arguments such aqs +, -, *, POWER
* as loaded from a test data spreadsheet.
*/
-public class TestTwoOperandNumericFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestTwoOperandNumericFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestTwoOperandNumericFunctionsFromSpreadsheet.class, "TwoOperandNumericFunctionTestCaseData.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestWeekNumFunctionsFromSpreadsheet.java b/src/testcases/org/apache/poi/ss/formula/functions/TestWeekNumFunctionsFromSpreadsheet.java
index 10b6f4c773..3719d93b35 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestWeekNumFunctionsFromSpreadsheet.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestWeekNumFunctionsFromSpreadsheet.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.params.provider.Arguments;
/**
* Tests WeekNum() as loaded from a test data spreadsheet.<p>
*/
-public class TestWeekNumFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
+class TestWeekNumFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
return data(TestWeekNumFunctionsFromSpreadsheet.class, "WeekNumFunctionTestCaseData.xls");
}
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestWeekNumFunctionsFromSpreadsheet2013.java b/src/testcases/org/apache/poi/ss/formula/functions/TestWeekNumFunctionsFromSpreadsheet2013.java
index 92bf8dc217..b918d0490e 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestWeekNumFunctionsFromSpreadsheet2013.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestWeekNumFunctionsFromSpreadsheet2013.java
@@ -24,7 +24,7 @@ import org.junit.jupiter.params.provider.Arguments;
/**
* Tests WeekNum() as loaded from a test data 2013 excel spreadsheet.<p>
*/
-public class TestWeekNumFunctionsFromSpreadsheet2013 extends BaseTestFunctionsFromSpreadsheet {
+class TestWeekNumFunctionsFromSpreadsheet2013 extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception {
//Only open this file with Excel 2013 to keep binary specific to that version
return data(TestWeekNumFunctionsFromSpreadsheet2013.class, "WeekNumFunctionTestCaseData2013.xls");
diff --git a/src/testcases/org/apache/poi/ss/formula/functions/TestWeekdayFunc.java b/src/testcases/org/apache/poi/ss/formula/functions/TestWeekdayFunc.java
index b7b6f27727..d1c48a265f 100644
--- a/src/testcases/org/apache/poi/ss/formula/functions/TestWeekdayFunc.java
+++ b/src/testcases/org/apache/poi/ss/formula/functions/TestWeekdayFunc.java
@@ -27,7 +27,7 @@ import static org.junit.jupiter.api.Assertions.*;
* Tests WEEKDAY(serial_number[, return_type]) excep function
* https://support.office.com/en-us/article/WEEKDAY-function-60E44483-2ED1-439F-8BD0-E404C190949A
*/
-public class TestWeekdayFunc {
+class TestWeekdayFunc {
private static final double TOLERANCE = 0.001;
private void assertEvaluateEquals(double expected, double serial_number) {
diff --git a/src/testcases/org/apache/poi/ss/formula/ptg/TestAbstractFunctionPtg.java b/src/testcases/org/apache/poi/ss/formula/ptg/TestAbstractFunctionPtg.java
index bc71f89c4b..3d99bc3e6d 100644
--- a/src/testcases/org/apache/poi/ss/formula/ptg/TestAbstractFunctionPtg.java
+++ b/src/testcases/org/apache/poi/ss/formula/ptg/TestAbstractFunctionPtg.java
@@ -23,7 +23,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
import org.apache.poi.util.LittleEndianOutput;
import org.junit.jupiter.api.Test;
-public class TestAbstractFunctionPtg {
+class TestAbstractFunctionPtg {
@Test
void testConstructor() {
diff --git a/src/testcases/org/apache/poi/ss/formula/udf/TestAggregatingUDFFinder.java b/src/testcases/org/apache/poi/ss/formula/udf/TestAggregatingUDFFinder.java
index 9b57df819a..02a6886be0 100644
--- a/src/testcases/org/apache/poi/ss/formula/udf/TestAggregatingUDFFinder.java
+++ b/src/testcases/org/apache/poi/ss/formula/udf/TestAggregatingUDFFinder.java
@@ -19,7 +19,7 @@ package org.apache.poi.ss.formula.udf;
import org.apache.poi.ss.formula.atp.AnalysisToolPak;
import org.junit.jupiter.api.Test;
-public class TestAggregatingUDFFinder extends BaseTestUDFFinder {
+class TestAggregatingUDFFinder extends BaseTestUDFFinder {
public TestAggregatingUDFFinder() {
_instance = new AggregatingUDFFinder(AnalysisToolPak.instance);
diff --git a/src/testcases/org/apache/poi/ss/formula/udf/TestDefaultUDFFinder.java b/src/testcases/org/apache/poi/ss/formula/udf/TestDefaultUDFFinder.java
index f5a32660f9..daa9ffedbb 100644
--- a/src/testcases/org/apache/poi/ss/formula/udf/TestDefaultUDFFinder.java
+++ b/src/testcases/org/apache/poi/ss/formula/udf/TestDefaultUDFFinder.java
@@ -19,7 +19,7 @@ package org.apache.poi.ss.formula.udf;
import org.apache.poi.ss.formula.functions.FreeRefFunction;
import org.junit.jupiter.api.Test;
-public class TestDefaultUDFFinder extends BaseTestUDFFinder {
+class TestDefaultUDFFinder extends BaseTestUDFFinder {
public TestDefaultUDFFinder() {
_instance = new DefaultUDFFinder(
diff --git a/src/testcases/org/apache/poi/ss/usermodel/TestDataFormatter.java b/src/testcases/org/apache/poi/ss/usermodel/TestDataFormatter.java
index c9c0a43225..da68a86b20 100644
--- a/src/testcases/org/apache/poi/ss/usermodel/TestDataFormatter.java
+++ b/src/testcases/org/apache/poi/ss/usermodel/TestDataFormatter.java
@@ -54,7 +54,7 @@ import org.junit.jupiter.api.Test;
* See {@link TestHSSFDataFormatter} too for
* more tests.
*/
-public class TestDataFormatter {
+class TestDataFormatter {
private static final double _15_MINUTES = 0.041666667;
@BeforeAll
diff --git a/src/testcases/org/apache/poi/ss/usermodel/TestDateUtil.java b/src/testcases/org/apache/poi/ss/usermodel/TestDateUtil.java
index b5292dd4ea..615e2f1d72 100644
--- a/src/testcases/org/apache/poi/ss/usermodel/TestDateUtil.java
+++ b/src/testcases/org/apache/poi/ss/usermodel/TestDateUtil.java
@@ -49,7 +49,7 @@ import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
-public class TestDateUtil {
+class TestDateUtil {
static TimeZone userTimeZone;
diff --git a/src/testcases/org/apache/poi/ss/usermodel/TestExcelStyleDateFormatter.java b/src/testcases/org/apache/poi/ss/usermodel/TestExcelStyleDateFormatter.java
index a5273a9dc6..fd904ab1b5 100644
--- a/src/testcases/org/apache/poi/ss/usermodel/TestExcelStyleDateFormatter.java
+++ b/src/testcases/org/apache/poi/ss/usermodel/TestExcelStyleDateFormatter.java
@@ -36,7 +36,7 @@ import java.util.stream.Stream;
import org.apache.poi.util.LocaleUtil;
import org.junit.jupiter.api.Test;
-public class TestExcelStyleDateFormatter {
+class TestExcelStyleDateFormatter {
private static final String EXCEL_DATE_FORMAT = "MMMMM";
private static final SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd", Locale.ROOT);
private final int jreVersion;
diff --git a/src/testcases/org/apache/poi/ss/util/TestAreaReference.java b/src/testcases/org/apache/poi/ss/util/TestAreaReference.java
index 40a387ad3c..e8419d5306 100644
--- a/src/testcases/org/apache/poi/ss/util/TestAreaReference.java
+++ b/src/testcases/org/apache/poi/ss/util/TestAreaReference.java
@@ -31,7 +31,7 @@ import org.junit.jupiter.api.Test;
*
* @author David North
*/
-public class TestAreaReference {
+class TestAreaReference {
@Test
void testWholeColumn() {
AreaReference oldStyle = AreaReference.getWholeColumn(SpreadsheetVersion.EXCEL97, "A", "B");
diff --git a/src/testcases/org/apache/poi/ss/util/TestDateParser.java b/src/testcases/org/apache/poi/ss/util/TestDateParser.java
index 0af410571e..28e51d1b67 100644
--- a/src/testcases/org/apache/poi/ss/util/TestDateParser.java
+++ b/src/testcases/org/apache/poi/ss/util/TestDateParser.java
@@ -29,7 +29,7 @@ import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;
-public class TestDateParser {
+class TestDateParser {
@ParameterizedTest
@ValueSource(strings = {
// no date
diff --git a/src/testcases/org/apache/poi/ss/util/TestHSSFCellUtil.java b/src/testcases/org/apache/poi/ss/util/TestHSSFCellUtil.java
index 848d32a113..aba0d71a37 100644
--- a/src/testcases/org/apache/poi/ss/util/TestHSSFCellUtil.java
+++ b/src/testcases/org/apache/poi/ss/util/TestHSSFCellUtil.java
@@ -19,7 +19,7 @@ package org.apache.poi.ss.util;
import org.apache.poi.hssf.HSSFITestDataProvider;
-public class TestHSSFCellUtil extends BaseTestCellUtil {
+class TestHSSFCellUtil extends BaseTestCellUtil {
public TestHSSFCellUtil() {
super(HSSFITestDataProvider.instance);
}
diff --git a/src/testcases/org/apache/poi/ss/util/cellwalk/TestCellWalk.java b/src/testcases/org/apache/poi/ss/util/cellwalk/TestCellWalk.java
index b833efe370..3515f783bd 100644
--- a/src/testcases/org/apache/poi/ss/util/cellwalk/TestCellWalk.java
+++ b/src/testcases/org/apache/poi/ss/util/cellwalk/TestCellWalk.java
@@ -27,7 +27,7 @@ import org.apache.poi.ss.util.CellRangeAddress;
import org.apache.poi.ss.util.SheetBuilder;
import org.junit.jupiter.api.Test;
-public class TestCellWalk {
+class TestCellWalk {
private static Object[][] testData = new Object[][]{
{1, 2, null},
diff --git a/src/testcases/org/apache/poi/util/TestArrayUtil.java b/src/testcases/org/apache/poi/util/TestArrayUtil.java
index 8ad68e707d..0038aa019d 100644
--- a/src/testcases/org/apache/poi/util/TestArrayUtil.java
+++ b/src/testcases/org/apache/poi/util/TestArrayUtil.java
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
/**
* Unit test for ArrayUtil
*/
-public class TestArrayUtil {
+class TestArrayUtil {
/**
* Helper for testArrayMoveWithin
*/
diff --git a/src/testcases/org/apache/poi/util/TestHexDump.java b/src/testcases/org/apache/poi/util/TestHexDump.java
index f300090997..4b87b976ae 100644
--- a/src/testcases/org/apache/poi/util/TestHexDump.java
+++ b/src/testcases/org/apache/poi/util/TestHexDump.java
@@ -31,7 +31,7 @@ import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
-public class TestHexDump {
+class TestHexDump {
private static PrintStream SYSTEM_OUT;
diff --git a/src/testcases/org/apache/poi/util/TestLocaleUtil.java b/src/testcases/org/apache/poi/util/TestLocaleUtil.java
index 63ae1d92aa..3335b85368 100644
--- a/src/testcases/org/apache/poi/util/TestLocaleUtil.java
+++ b/src/testcases/org/apache/poi/util/TestLocaleUtil.java
@@ -30,7 +30,7 @@ import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-public class TestLocaleUtil {
+class TestLocaleUtil {
// This unit test assumes that the user's locale isn't ja-JP and timezone isn't Asia/Tokyo
// If this is the case, change the values to something else
private static final Locale ja_JP = Locale.JAPAN;
diff --git a/src/testcases/org/apache/poi/util/TestRLEDecompressingInputStream.java b/src/testcases/org/apache/poi/util/TestRLEDecompressingInputStream.java
index 91bab6e360..219e1460b1 100644
--- a/src/testcases/org/apache/poi/util/TestRLEDecompressingInputStream.java
+++ b/src/testcases/org/apache/poi/util/TestRLEDecompressingInputStream.java
@@ -28,7 +28,7 @@ import java.io.UnsupportedEncodingException;
import org.junit.jupiter.api.Test;
-public class TestRLEDecompressingInputStream {
+class TestRLEDecompressingInputStream {
/**
* Section 3.2.1 No Compression Example
diff --git a/src/testcases/org/apache/poi/util/TestStringCodepointsIterable.java b/src/testcases/org/apache/poi/util/TestStringCodepointsIterable.java
index 62e45c8c0d..4630a3cd0d 100644
--- a/src/testcases/org/apache/poi/util/TestStringCodepointsIterable.java
+++ b/src/testcases/org/apache/poi/util/TestStringCodepointsIterable.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test;
/**
* Unit test for StringCodepointsIterable
*/
-public class TestStringCodepointsIterable {
+class TestStringCodepointsIterable {
@Test
void testIterable() {
diff --git a/src/testcases/org/apache/poi/util/TestStringUtil.java b/src/testcases/org/apache/poi/util/TestStringUtil.java
index fb84d6fd1c..c0545cd762 100644
--- a/src/testcases/org/apache/poi/util/TestStringUtil.java
+++ b/src/testcases/org/apache/poi/util/TestStringUtil.java
@@ -30,7 +30,7 @@ import org.junit.jupiter.api.Test;
/**
* Unit test for StringUtil
*/
-public class TestStringUtil {
+class TestStringUtil {
/**
* test getFromUnicodeHigh for symbols with code below and more 127
diff --git a/src/testcases/org/apache/poi/util/TestTempFile.java b/src/testcases/org/apache/poi/util/TestTempFile.java
index 4fa15beae5..ec195e35f8 100644
--- a/src/testcases/org/apache/poi/util/TestTempFile.java
+++ b/src/testcases/org/apache/poi/util/TestTempFile.java
@@ -32,7 +32,7 @@ import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-public class TestTempFile {
+class TestTempFile {
private String previousTempDir;
private File tempDir;
diff --git a/src/testcases/org/apache/poi/util/TestXMLHelper.java b/src/testcases/org/apache/poi/util/TestXMLHelper.java
index 2b23fffca8..a4e8732b8d 100644
--- a/src/testcases/org/apache/poi/util/TestXMLHelper.java
+++ b/src/testcases/org/apache/poi/util/TestXMLHelper.java
@@ -41,7 +41,7 @@ import org.xml.sax.InputSource;
import org.xml.sax.SAXNotRecognizedException;
import org.xml.sax.XMLReader;
-public class TestXMLHelper {
+class TestXMLHelper {
@Test
void testDocumentBuilder() throws Exception {
DocumentBuilder documentBuilder = XMLHelper.newDocumentBuilder();