org.apache.commons.codec.binary
Class StringUtilsTest

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

public class StringUtilsTest
extends Object

Tests StringUtils

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

Constructor Summary
StringUtilsTest()
           
 
Method Summary
 void testConstructor()
          We could make the constructor private but there does not seem to be a point to jumping through extra code hoops to restrict instantiation right now.
 void testGetBytesIso8859_1()
           
 void testGetBytesUncheckedBadName()
           
 void testGetBytesUncheckedNullInput()
           
 void testGetBytesUsAscii()
           
 void testGetBytesUtf16()
           
 void testGetBytesUtf16Be()
           
 void testGetBytesUtf16Le()
           
 void testGetBytesUtf8()
           
 void testNewStringBadEnc()
           
 void testNewStringIso8859_1()
           
 void testNewStringNullInput()
           
 void testNewStringUsAscii()
           
 void testNewStringUtf16()
           
 void testNewStringUtf16Be()
           
 void testNewStringUtf16Le()
           
 void testNewStringUtf8()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtilsTest

public StringUtilsTest()
Method Detail

testConstructor

public void testConstructor()
We could make the constructor private but there does not seem to be a point to jumping through extra code hoops to restrict instantiation right now.


testGetBytesIso8859_1

public void testGetBytesIso8859_1()
                           throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

testGetBytesUsAscii

public void testGetBytesUsAscii()
                         throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

testGetBytesUtf16

public void testGetBytesUtf16()
                       throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

testGetBytesUtf16Be

public void testGetBytesUtf16Be()
                         throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

testGetBytesUtf16Le

public void testGetBytesUtf16Le()
                         throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

testGetBytesUtf8

public void testGetBytesUtf8()
                      throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

testGetBytesUncheckedBadName

public void testGetBytesUncheckedBadName()

testGetBytesUncheckedNullInput

public void testGetBytesUncheckedNullInput()

testNewStringBadEnc

public void testNewStringBadEnc()

testNewStringNullInput

public void testNewStringNullInput()

testNewStringIso8859_1

public void testNewStringIso8859_1()
                            throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

testNewStringUsAscii

public void testNewStringUsAscii()
                          throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

testNewStringUtf16

public void testNewStringUtf16()
                        throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

testNewStringUtf16Be

public void testNewStringUtf16Be()
                          throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

testNewStringUtf16Le

public void testNewStringUtf16Le()
                          throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

testNewStringUtf8

public void testNewStringUtf8()
                       throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException


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