8
8
9
9
import static org .junit .jupiter .api .Assertions .*;
10
10
11
- public class Base64BinaryParsingTest
12
- extends JUnit5TestBase
11
+ class Base64BinaryParsingTest
12
+ extends JUnit5TestBase
13
13
{
14
14
private final JsonFactory JSON_F = newStreamFactory ();
15
15
16
16
@ Test
17
- public void testBase64UsingInputStream () throws Exception
17
+ void base64UsingInputStream () throws Exception
18
18
{
19
19
_testBase64Text (MODE_INPUT_STREAM );
20
20
_testBase64Text (MODE_INPUT_STREAM_THROTTLED );
21
21
_testBase64Text (MODE_DATA_INPUT );
22
22
}
23
23
24
24
@ Test
25
- public void testBase64UsingReader () throws Exception
25
+ void base64UsingReader () throws Exception
26
26
{
27
27
_testBase64Text (MODE_READER );
28
28
}
29
29
30
30
@ Test
31
- public void testStreaming () throws IOException
31
+ void streaming () throws IOException
32
32
{
33
33
_testStreaming (MODE_INPUT_STREAM );
34
34
_testStreaming (MODE_INPUT_STREAM_THROTTLED );
@@ -37,7 +37,7 @@ public void testStreaming() throws IOException
37
37
}
38
38
39
39
@ Test
40
- public void testSimple () throws IOException
40
+ void simple () throws IOException
41
41
{
42
42
for (int mode : ALL_MODES ) {
43
43
// [core#414]: Allow leading/trailign white-space, ensure it is accepted
@@ -49,29 +49,29 @@ public void testSimple() throws IOException
49
49
}
50
50
51
51
@ Test
52
- public void testInArray () throws IOException
52
+ void inArray () throws IOException
53
53
{
54
54
for (int mode : ALL_MODES ) {
55
55
_testInArray (mode );
56
56
}
57
57
}
58
58
59
59
@ Test
60
- public void testWithEscaped () throws IOException {
60
+ void withEscaped () throws IOException {
61
61
for (int mode : ALL_MODES ) {
62
62
_testEscaped (mode );
63
63
}
64
64
}
65
65
66
66
@ Test
67
- public void testWithEscapedPadding () throws IOException {
67
+ void withEscapedPadding () throws IOException {
68
68
for (int mode : ALL_MODES ) {
69
69
_testEscapedPadding (mode );
70
70
}
71
71
}
72
72
73
73
@ Test
74
- public void testInvalidTokenForBase64 () throws IOException
74
+ void invalidTokenForBase64 () throws IOException
75
75
{
76
76
for (int mode : ALL_MODES ) {
77
77
@@ -90,7 +90,7 @@ public void testInvalidTokenForBase64() throws IOException
90
90
}
91
91
92
92
@ Test
93
- public void testInvalidChar () throws IOException
93
+ void invalidChar () throws IOException
94
94
{
95
95
for (int mode : ALL_MODES ) {
96
96
@@ -130,7 +130,7 @@ public void testInvalidChar() throws IOException
130
130
}
131
131
132
132
@ Test
133
- public void testOkMissingPadding () throws IOException {
133
+ void okMissingPadding () throws IOException {
134
134
final byte [] DOC1 = new byte [] { (byte ) 0xAD };
135
135
_testOkMissingPadding (DOC1 , MODE_INPUT_STREAM );
136
136
_testOkMissingPadding (DOC1 , MODE_INPUT_STREAM_THROTTLED );
@@ -158,7 +158,7 @@ private void _testOkMissingPadding(byte[] input, int mode) throws IOException
158
158
}
159
159
160
160
@ Test
161
- public void testFailDueToMissingPadding () throws IOException {
161
+ void failDueToMissingPadding () throws IOException {
162
162
final String DOC1 = q ("fQ" ); // 1 bytes, no padding
163
163
_testFailDueToMissingPadding (DOC1 , MODE_INPUT_STREAM );
164
164
_testFailDueToMissingPadding (DOC1 , MODE_INPUT_STREAM_THROTTLED );
0 commit comments