aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/poifs
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcases/org/apache/poi/poifs')
-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
11 files changed, 11 insertions, 11 deletions
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