Skip to content

Commit f8bb72c

Browse files
committed
Use JUnit 5 convention for class visibility
1 parent 6cb7d15 commit f8bb72c

File tree

68 files changed

+68
-68
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+68
-68
lines changed

src/test/java/org/apache/commons/codec/CharEncodingTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
/**
2727
* Sanity checks for {@link CharEncoding}.
2828
*/
29-
public class CharEncodingTest {
29+
class CharEncodingTest {
3030

3131
/**
3232
* We could make the constructor private in the future, it's a matter a style.

src/test/java/org/apache/commons/codec/CharsetsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
/**
3232
* Sanity checks for {@link Charsets}.
3333
*/
34-
public class CharsetsTest {
34+
class CharsetsTest {
3535

3636
private static final TreeSet<String> AVAILABLE_CHARSET_NAMES = new TreeSet<>(Charset.availableCharsets().keySet());
3737

src/test/java/org/apache/commons/codec/DecoderExceptionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
/**
2626
* Tests {@link DecoderException}.
2727
*/
28-
public class DecoderExceptionTest {
28+
class DecoderExceptionTest {
2929

3030
private static final String MSG = "TEST";
3131

src/test/java/org/apache/commons/codec/EncoderExceptionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
/**
2626
* Tests {@link EncoderException}.
2727
*/
28-
public class EncoderExceptionTest {
28+
class EncoderExceptionTest {
2929

3030
private static final String MSG = "TEST";
3131

src/test/java/org/apache/commons/codec/ResourcesTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
/**
2929
* Tests {@link Resources}.
3030
*/
31-
public class ResourcesTest {
31+
class ResourcesTest {
3232

3333
static List<String> getResourceNames() {
3434
return Arrays.asList("/org/apache/commons/codec/language/dmrules.txt", "/org/apache/commons/codec/language/bm/lang.txt");

src/test/java/org/apache/commons/codec/StringEncoderComparatorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
/**
3131
* Test cases for the StingEncoderComparator.
3232
*/
33-
public class StringEncoderComparatorTest {
33+
class StringEncoderComparatorTest {
3434

3535
@SuppressWarnings("unchecked") // cannot easily avoid this warning
3636
@Test

src/test/java/org/apache/commons/codec/binary/AllocateDirectHexTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
import java.nio.ByteBuffer;
2121

22-
public class AllocateDirectHexTest extends HexTest {
22+
class AllocateDirectHexTest extends HexTest {
2323

2424
@Override
2525
protected ByteBuffer allocate(final int capacity) {

src/test/java/org/apache/commons/codec/binary/Base16InputStreamTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
/**
3232
* Tests {@link Base16InputStream}.
3333
*/
34-
public class Base16InputStreamTest {
34+
class Base16InputStreamTest {
3535

3636
/**
3737
* Decodes to {202, 254, 186, 190, 255, 255}

src/test/java/org/apache/commons/codec/binary/Base16OutputStreamTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/**
3030
* Tests {@link Base16OutputStream}.
3131
*/
32-
public class Base16OutputStreamTest {
32+
class Base16OutputStreamTest {
3333

3434
private static final String STRING_FIXTURE = "Hello World";
3535

src/test/java/org/apache/commons/codec/binary/Base16Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
/**
3838
* Tests {@link Base16}.
3939
*/
40-
public class Base16Test {
40+
class Base16Test {
4141

4242
private static final Charset CHARSET_UTF8 = StandardCharsets.UTF_8;
4343

0 commit comments

Comments
 (0)