| |
|
| org.apache.commons.codec.binary.BinaryCodecTest
BinaryCodecTest | public class BinaryCodecTest extends TestCase (Code) | | TestCase for BinaryCodec class.
author: Apache Software Foundation version: $Id: BinaryCodecTest.java,v 1.1 2004/03/29 23:04:41 ggregory Exp $ |
BinaryCodecTest | public BinaryCodecTest(String arg0)(Code) | | Constructor for BinaryTest.
Parameters: arg0 - |
assertDecodeObject | void assertDecodeObject(byte[] bits, String encodeMe) throws DecoderException(Code) | | Utility used to assert the encoded and decoded values.
Parameters: bits - the pre-encoded data Parameters: encodeMe - data to encode and compare |
testDecodeObject | public void testDecodeObject() throws Exception(Code) | | Tests for Object decode(Object)
|
testDecodeObjectException | public void testDecodeObjectException()(Code) | | Tests for Object decode(Object)
|
testDecodebyteArray | public void testDecodebyteArray()(Code) | | |
testEncodeObjectException | public void testEncodeObjectException()(Code) | | |
testEncodeObjectNull | public void testEncodeObjectNull() throws Exception(Code) | | |
testEncodebyteArray | public void testEncodebyteArray()(Code) | | |
testFromAsciibyteArray | public void testFromAsciibyteArray()(Code) | | |
testFromAsciicharArray | public void testFromAsciicharArray()(Code) | | |
testToAsciiBytes | public void testToAsciiBytes()(Code) | | |
testToAsciiChars | public void testToAsciiChars()(Code) | | |
testToAsciiString | public void testToAsciiString()(Code) | | Tests the toAsciiString(byte[]) method
|
testToByteArrayFromString | public void testToByteArrayFromString()(Code) | | |
|
|
|