Skip to content

Commit 758111e

Browse files
committed
Fix disable test cases
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1064434 13f79535-47bb-0310-9956-ffa450edef68
1 parent 56730f9 commit 758111e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ public void testBase32InputStreamByChunk() throws Exception {
157157
testByChunk(encoded, decoded, Base32.MIME_CHUNK_SIZE, CRLF);
158158

159159
// Single Byte test.
160-
encoded = StringUtils.getBytesUtf8("AA==\r\n");
160+
encoded = StringUtils.getBytesUtf8("AA======\r\n");
161161
decoded = new byte[]{(byte) 0};
162-
// testByChunk(encoded, decoded, Base32.MIME_CHUNK_SIZE, CRLF);
162+
testByChunk(encoded, decoded, Base32.MIME_CHUNK_SIZE, CRLF);
163163

164164
// // OpenSSL interop test.
165165
// encoded = StringUtils.getBytesUtf8(Base32TestData.ENCODED_32_CHARS_PER_LINE);
@@ -195,9 +195,9 @@ public void testBase32InputStreamByteByByte() throws Exception {
195195
testByteByByte(encoded, decoded, Base32.MIME_CHUNK_SIZE, CRLF);
196196

197197
// Single Byte test.
198-
encoded = StringUtils.getBytesUtf8("AA==\r\n");
198+
encoded = StringUtils.getBytesUtf8("AA======\r\n");
199199
decoded = new byte[]{(byte) 0};
200-
// testByteByByte(encoded, decoded, Base32.MIME_CHUNK_SIZE, CRLF);
200+
testByteByByte(encoded, decoded, Base32.MIME_CHUNK_SIZE, CRLF);
201201

202202
// // Single Line test.
203203
// String singleLine = Base32TestData.ENCODED_32_CHARS_PER_LINE.replaceAll("\n", "");

0 commit comments

Comments
 (0)