org.apache.commons.codec.binary
Class HexTest

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

public class HexTest
extends Object

Tests Hex.

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

Constructor Summary
HexTest()
           
 
Method Summary
 void testCustomCharset()
           
 void testCustomCharsetBadName()
           
 void testCustomCharsetToString()
           
 void testDecodeArrayOddCharacters()
           
 void testDecodeBadCharacterPos0()
           
 void testDecodeBadCharacterPos1()
           
 void testDecodeClassCastException()
           
 void testDecodeHexOddCharacters1()
           
 void testDecodeHexOddCharacters3()
           
 void testDecodeHexOddCharacters5()
           
 void testDecodeStringOddCharacters()
           
 void testDencodeEmpty()
           
 void testEncodeClassCastException()
           
 void testEncodeDecodeRandom()
           
 void testEncodeEmpty()
           
 void testEncodeZeroes()
           
 void testHelloWorldLowerCaseHex()
           
 void testHelloWorldUpperCaseHex()
           
 void testRequiredCharset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HexTest

public HexTest()
Method Detail

testCustomCharset

public void testCustomCharset()
                       throws UnsupportedEncodingException,
                              org.apache.commons.codec.DecoderException
Throws:
UnsupportedEncodingException
org.apache.commons.codec.DecoderException

testCustomCharsetBadName

public void testCustomCharsetBadName()

testCustomCharsetToString

public void testCustomCharsetToString()

testDecodeArrayOddCharacters

public void testDecodeArrayOddCharacters()

testDecodeBadCharacterPos0

public void testDecodeBadCharacterPos0()

testDecodeBadCharacterPos1

public void testDecodeBadCharacterPos1()

testDecodeClassCastException

public void testDecodeClassCastException()

testDecodeHexOddCharacters1

public void testDecodeHexOddCharacters1()

testDecodeHexOddCharacters3

public void testDecodeHexOddCharacters3()

testDecodeHexOddCharacters5

public void testDecodeHexOddCharacters5()

testDecodeStringOddCharacters

public void testDecodeStringOddCharacters()

testDencodeEmpty

public void testDencodeEmpty()
                      throws org.apache.commons.codec.DecoderException
Throws:
org.apache.commons.codec.DecoderException

testEncodeClassCastException

public void testEncodeClassCastException()

testEncodeDecodeRandom

public void testEncodeDecodeRandom()
                            throws org.apache.commons.codec.DecoderException,
                                   org.apache.commons.codec.EncoderException
Throws:
org.apache.commons.codec.DecoderException
org.apache.commons.codec.EncoderException

testEncodeEmpty

public void testEncodeEmpty()
                     throws org.apache.commons.codec.EncoderException
Throws:
org.apache.commons.codec.EncoderException

testEncodeZeroes

public void testEncodeZeroes()

testHelloWorldLowerCaseHex

public void testHelloWorldLowerCaseHex()

testHelloWorldUpperCaseHex

public void testHelloWorldUpperCaseHex()

testRequiredCharset

public void testRequiredCharset()
                         throws UnsupportedEncodingException,
                                org.apache.commons.codec.DecoderException
Throws:
UnsupportedEncodingException
org.apache.commons.codec.DecoderException


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