org.apache.commons.codec.binary
Class StringUtilsTest
java.lang.Object
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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringUtilsTest
public StringUtilsTest()
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.