public class StringUtilsTest extends Object
StringUtils| Constructor and Description |
|---|
StringUtilsTest() |
| Modifier and Type | Method and Description |
|---|---|
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() |
public StringUtilsTest()
public void testConstructor()
public void testGetBytesIso8859_1() throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void testGetBytesUsAscii() throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void testGetBytesUtf16() throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void testGetBytesUtf16Be() throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void testGetBytesUtf16Le() throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void testGetBytesUtf8() throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void testGetBytesUncheckedBadName()
public void testGetBytesUncheckedNullInput()
public void testNewStringBadEnc()
public void testNewStringNullInput()
public void testNewStringIso8859_1() throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void testNewStringUsAscii() throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void testNewStringUtf16() throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void testNewStringUtf16Be() throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void testNewStringUtf16Le() throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void testNewStringUtf8() throws UnsupportedEncodingException
UnsupportedEncodingExceptionCopyright © 2002–2013 The Apache Software Foundation. All rights reserved.