Skip to content

Commit 722c33d

Browse files
committed
Use JUnit 5 convention for class visibility
1 parent 8cc5244 commit 722c33d

File tree

89 files changed

+89
-89
lines changed

Some content is hidden

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

89 files changed

+89
-89
lines changed

src/test/java/org/apache/commons/text/AlphabetConverterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
/**
3535
* Tests {@link AlphabetConverter}.
3636
*/
37-
public class AlphabetConverterTest {
37+
class AlphabetConverterTest {
3838

3939
private static final Character[] LOWER_CASE_ENGLISH = { ' ', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's',
4040
't', 'u', 'v', 'w', 'x', 'y', 'z' };

src/test/java/org/apache/commons/text/CaseUtilsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
/**
3131
* Tests {@link CaseUtils} class.
3232
*/
33-
public class CaseUtilsTest {
33+
class CaseUtilsTest {
3434

3535
@Test
3636
void testConstructor() {

src/test/java/org/apache/commons/text/CharacterPredicatesTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
/**
2525
* Tests for {@link CharacterPredicates}.
2626
*/
27-
public class CharacterPredicatesTest {
27+
class CharacterPredicatesTest {
2828

2929
@Test
3030
void testArabicNumerals() {

src/test/java/org/apache/commons/text/CompositeFormatTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
/**
3131
* Tests {@link CompositeFormat}.
3232
*/
33-
public class CompositeFormatTest {
33+
class CompositeFormatTest {
3434

3535
/**
3636
* Ensures that the parse/format separation is correctly maintained.

src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
/**
4141
* Test case for {@link ExtendedMessageFormat}.
4242
*/
43-
public class ExtendedMessageFormatTest {
43+
class ExtendedMessageFormatTest {
4444

4545
/**
4646
* {@link Format} implementation which converts to lower case.

src/test/java/org/apache/commons/text/FormattableUtilsTest.java

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

3333
static class SimplestFormattable implements Formattable {
3434
private final String text;

src/test/java/org/apache/commons/text/RandomStringGeneratorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
/**
3131
* Tests for {@link RandomStringGenerator}
3232
*/
33-
public class RandomStringGeneratorTest {
33+
class RandomStringGeneratorTest {
3434

3535
private static final CharacterPredicate A_FILTER = codePoint -> codePoint == 'a';
3636

src/test/java/org/apache/commons/text/StrBuilderAppendInsertTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* @deprecated This class will be removed in 2.0.
3737
*/
3838
@Deprecated
39-
public class StrBuilderAppendInsertTest {
39+
class StrBuilderAppendInsertTest {
4040

4141
/** The system line separator. */
4242
private static final String SEP = System.lineSeparator();

src/test/java/org/apache/commons/text/StrBuilderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
* @deprecated This class will be removed in 2.0.
4747
*/
4848
@Deprecated
49-
public class StrBuilderTest {
49+
class StrBuilderTest {
5050

5151
private static final class MockReadable implements Readable {
5252

src/test/java/org/apache/commons/text/StrLookupTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* @deprecated This class will be removed in 2.0.
3434
*/
3535
@Deprecated
36-
public class StrLookupTest {
36+
class StrLookupTest {
3737

3838
@Test
3939
void testMapLookup() {

0 commit comments

Comments
 (0)