org.apache.commons.codec.binary
Class Base64Codec13Test

java.lang.Object
  extended by org.apache.commons.codec.binary.Base64Codec13Test

public class Base64Codec13Test
extends Object

Tests to make sure future versions of commons-codec.jar have identical Base64 behavior as commons-codec-1.3.jar.

Since:
Mar 25, 2010

Constructor Summary
Base64Codec13Test()
           
 
Method Summary
 void testBinaryDecoder()
          Tests to make sure Base64's implementation of the org.apache.commons.codec.BinaryDecoder interface is behaving identical to commons-codec-1.3.jar.
 void testBinaryEncoder()
          Tests to make sure Base64's implementation of the org.apache.commons.codec.BinaryEncoder interface is behaving identical to commons-codec-1.3.jar.
 void testDecoder()
          Tests to make sure Base64's implementation of the org.apache.commons.codec.Decoder interface is behaving identical to commons-codec-1.3.jar.
 void testEncoder()
          Tests to make sure Base64's implementation of the org.apache.commons.codec.Encoder interface is behaving identical to commons-codec-1.3.jar.
 void testStaticDecode()
          Tests to make sure Base64's implementation of Base64.decodeBase64() static method is behaving identical to commons-codec-1.3.jar.
 void testStaticDecodeChunked()
          Tests to make sure Base64's implementation of Base64.decodeBase64() static method is behaving identical to commons-codec-1.3.jar when supplied with chunked input.
 void testStaticEncode()
          Tests to make sure Base64's implementation of Base64.encodeBase64() static method is behaving identical to commons-codec-1.3.jar.
 void testStaticEncodeChunked()
          Tests to make sure Base64's implementation of Base64.encodeBase64Chunked() static method is behaving identical to commons-codec-1.3.jar.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64Codec13Test

public Base64Codec13Test()
Method Detail

testEncoder

public void testEncoder()
                 throws org.apache.commons.codec.EncoderException
Tests to make sure Base64's implementation of the org.apache.commons.codec.Encoder interface is behaving identical to commons-codec-1.3.jar.

Throws:
org.apache.commons.codec.EncoderException - problem

testDecoder

public void testDecoder()
                 throws org.apache.commons.codec.DecoderException
Tests to make sure Base64's implementation of the org.apache.commons.codec.Decoder interface is behaving identical to commons-codec-1.3.jar.

Throws:
org.apache.commons.codec.DecoderException - problem

testBinaryEncoder

public void testBinaryEncoder()
                       throws org.apache.commons.codec.EncoderException
Tests to make sure Base64's implementation of the org.apache.commons.codec.BinaryEncoder interface is behaving identical to commons-codec-1.3.jar.

Throws:
org.apache.commons.codec.EncoderException - problem

testBinaryDecoder

public void testBinaryDecoder()
                       throws org.apache.commons.codec.DecoderException
Tests to make sure Base64's implementation of the org.apache.commons.codec.BinaryDecoder interface is behaving identical to commons-codec-1.3.jar.

Throws:
org.apache.commons.codec.DecoderException - problem

testStaticEncode

public void testStaticEncode()
                      throws org.apache.commons.codec.EncoderException
Tests to make sure Base64's implementation of Base64.encodeBase64() static method is behaving identical to commons-codec-1.3.jar.

Throws:
org.apache.commons.codec.EncoderException - problem

testStaticDecode

public void testStaticDecode()
                      throws org.apache.commons.codec.DecoderException
Tests to make sure Base64's implementation of Base64.decodeBase64() static method is behaving identical to commons-codec-1.3.jar.

Throws:
org.apache.commons.codec.DecoderException - problem

testStaticEncodeChunked

public void testStaticEncodeChunked()
                             throws org.apache.commons.codec.EncoderException
Tests to make sure Base64's implementation of Base64.encodeBase64Chunked() static method is behaving identical to commons-codec-1.3.jar.

Throws:
org.apache.commons.codec.EncoderException - problem

testStaticDecodeChunked

public void testStaticDecodeChunked()
                             throws org.apache.commons.codec.DecoderException
Tests to make sure Base64's implementation of Base64.decodeBase64() static method is behaving identical to commons-codec-1.3.jar when supplied with chunked input.

Throws:
org.apache.commons.codec.DecoderException - problem


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.