File tree Expand file tree Collapse file tree
src/test/org/apache/commons/codec/binary Expand file tree Collapse file tree Original file line number Diff line number Diff 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")));
You can’t perform that action at this time.
0 commit comments