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
UnsupportedEncodingException
public void testGetBytesUsAscii() throws UnsupportedEncodingException
UnsupportedEncodingException
public void testGetBytesUtf16() throws UnsupportedEncodingException
UnsupportedEncodingException
public void testGetBytesUtf16Be() throws UnsupportedEncodingException
UnsupportedEncodingException
public void testGetBytesUtf16Le() throws UnsupportedEncodingException
UnsupportedEncodingException
public void testGetBytesUtf8() throws UnsupportedEncodingException
UnsupportedEncodingException
public void testGetBytesUncheckedBadName()
public void testGetBytesUncheckedNullInput()
public void testNewStringBadEnc()
public void testNewStringNullInput()
public void testNewStringIso8859_1() throws UnsupportedEncodingException
UnsupportedEncodingException
public void testNewStringUsAscii() throws UnsupportedEncodingException
UnsupportedEncodingException
public void testNewStringUtf16() throws UnsupportedEncodingException
UnsupportedEncodingException
public void testNewStringUtf16Be() throws UnsupportedEncodingException
UnsupportedEncodingException
public void testNewStringUtf16Le() throws UnsupportedEncodingException
UnsupportedEncodingException
public void testNewStringUtf8() throws UnsupportedEncodingException
UnsupportedEncodingException
Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.