org.apache.commons.codec.binary
Class BinaryCodecTest

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

public class BinaryCodecTest
extends Object

TestCase for BinaryCodec class.

Version:
$Id: BinaryCodecTest.html 889935 2013-12-11 05:05:13Z ggregory $

Constructor Summary
BinaryCodecTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testDecodeByteArray()
           
 void testDecodeObject()
          Tests for Object decode(Object)
 void testDecodeObjectException()
          Tests for Object decode(Object)
 void testEncodeByteArray()
           
 void testEncodeObject()
           
 void testEncodeObjectException()
           
 void testEncodeObjectNull()
           
 void testFromAsciiByteArray()
           
 void testFromAsciiCharArray()
           
 void testToAsciiBytes()
           
 void testToAsciiChars()
           
 void testToAsciiString()
          Tests the toAsciiString(byte[]) method
 void testToByteArrayFromString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryCodecTest

public BinaryCodecTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

testDecodeObjectException

public void testDecodeObjectException()
Tests for Object decode(Object)


testDecodeObject

public void testDecodeObject()
                      throws Exception
Tests for Object decode(Object)

Throws:
Exception

testDecodeByteArray

public void testDecodeByteArray()

testToByteArrayFromString

public void testToByteArrayFromString()

testFromAsciiCharArray

public void testFromAsciiCharArray()

testFromAsciiByteArray

public void testFromAsciiByteArray()

testEncodeByteArray

public void testEncodeByteArray()

testToAsciiBytes

public void testToAsciiBytes()

testToAsciiChars

public void testToAsciiChars()

testToAsciiString

public void testToAsciiString()
Tests the toAsciiString(byte[]) method


testEncodeObjectNull

public void testEncodeObjectNull()
                          throws Exception
Throws:
Exception

testEncodeObjectException

public void testEncodeObjectException()

testEncodeObject

public void testEncodeObject()
                      throws Exception
Throws:
Exception


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