org.apache.commons.codec.binary
Class BinaryCodecTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.codec.binary.BinaryCodecTest
All Implemented Interfaces:
junit.framework.Test

public class BinaryCodecTest
extends junit.framework.TestCase

TestCase for BinaryCodec class.

Version:
$Id: BinaryCodecTest.java 480406 2006-11-29 04:56:58Z bayard $
Author:
Apache Software Foundation

Constructor Summary
BinaryCodecTest(java.lang.String arg0)
          Constructor for BinaryTest.
 
Method Summary
protected  void setUp()
           
protected  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 junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinaryCodecTest

public BinaryCodecTest(java.lang.String arg0)
Constructor for BinaryTest.

Parameters:
arg0 -
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testDecodeObjectException

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


testDecodeObject

public void testDecodeObject()
                      throws java.lang.Exception
Tests for Object decode(Object)

Throws:
java.lang.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 java.lang.Exception
Throws:
java.lang.Exception

testEncodeObjectException

public void testEncodeObjectException()

testEncodeObject

public void testEncodeObject()
                      throws java.lang.Exception
Throws:
java.lang.Exception


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