org.apache.commons.codec.binary
Class Base32OutputStreamTest

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

public class Base32OutputStreamTest
extends Object


Constructor Summary
Base32OutputStreamTest()
           
 
Method Summary
 void testBase32EmptyOutputStreamMimeChunkSize()
          Test the Base32OutputStream implementation against empty input.
 void testBase32EmptyOutputStreamPemChunkSize()
          Test the Base32OutputStream implementation against empty input.
 void testBase32OutputStreamByChunk()
          Test the Base32OutputStream implementation
 void testBase32OutputStreamByteByByte()
          Test the Base32OutputStream implementation
 void testWriteOutOfBounds()
          Tests Base32OutputStream.write for expected IndexOutOfBoundsException conditions.
 void testWriteToNullCoverage()
          Tests Base32OutputStream.write(null).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base32OutputStreamTest

public Base32OutputStreamTest()
Method Detail

testBase32EmptyOutputStreamMimeChunkSize

public void testBase32EmptyOutputStreamMimeChunkSize()
                                              throws Exception
Test the Base32OutputStream implementation against empty input.

Throws:
Exception - for some failure scenarios.

testBase32EmptyOutputStreamPemChunkSize

public void testBase32EmptyOutputStreamPemChunkSize()
                                             throws Exception
Test the Base32OutputStream implementation against empty input.

Throws:
Exception - for some failure scenarios.

testBase32OutputStreamByChunk

public void testBase32OutputStreamByChunk()
                                   throws Exception
Test the Base32OutputStream implementation

Throws:
Exception - for some failure scenarios.

testBase32OutputStreamByteByByte

public void testBase32OutputStreamByteByByte()
                                      throws Exception
Test the Base32OutputStream implementation

Throws:
Exception - for some failure scenarios.

testWriteOutOfBounds

public void testWriteOutOfBounds()
                          throws Exception
Tests Base32OutputStream.write for expected IndexOutOfBoundsException conditions.

Throws:
Exception - for some failure scenarios.

testWriteToNullCoverage

public void testWriteToNullCoverage()
                             throws Exception
Tests Base32OutputStream.write(null).

Throws:
Exception - for some failure scenarios.


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