Skip to content

Commit ccafe29

Browse files
committed
Add missing (successful) test
Fix up Javadoc references git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@928137 13f79535-47bb-0310-9956-ffa450edef68
1 parent f63e8e9 commit ccafe29

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ public void testRfc1421Section6Dot8ChunkSizeDefinition() {
529529
* <li>BASE64("foobar") = "Zm9vYmFy"</li>
530530
* </ul>
531531
*
532-
* @see http://tools.ietf.org/html/rfc4648
532+
* @see <a href="http://tools.ietf.org/html/rfc4648">http://tools.ietf.org/html/rfc4648</a>
533533
*/
534534
public void testRfc4648Section10Decode() {
535535
assertEquals("", StringUtils.newStringUsAscii(Base64.decodeBase64("")));
@@ -563,9 +563,10 @@ public void testRfc4648Section10DecodeWithCrLf() {
563563
* <li>BASE64("foobar") = "Zm9vYmFy"</li>
564564
* </ul>
565565
*
566-
* @see http://tools.ietf.org/html/rfc4648
566+
* @see <a href="http://tools.ietf.org/html/rfc4648">http://tools.ietf.org/html/rfc4648</a>
567567
*/
568568
public void testRfc4648Section10Encode() {
569+
assertEquals("", Base64.encodeBase64String(StringUtils.getBytesUtf8("")));
569570
//assertEquals("Zg==", Base64.encodeBase64String(StringUtils.getBytesUtf8("f")));
570571
//assertEquals("Zm8=", Base64.encodeBase64String(StringUtils.getBytesUtf8("fo")));
571572
//assertEquals("Zm9v", Base64.encodeBase64String(StringUtils.getBytesUtf8("foo")));

0 commit comments

Comments
 (0)