public abstract class StringEncoderAbstractTest<T extends StringEncoder> extends Object
Modifier and Type | Field and Description |
---|---|
protected T |
stringEncoder |
Constructor and Description |
---|
StringEncoderAbstractTest() |
Modifier and Type | Method and Description |
---|---|
void |
checkEncoding(String expected,
String source) |
protected void |
checkEncodings(String[][] data) |
protected void |
checkEncodingVariations(String expected,
String[] data) |
protected abstract T |
createStringEncoder() |
T |
getStringEncoder() |
void |
testEncodeEmpty() |
void |
testEncodeNull() |
void |
testEncodeWithInvalidObject() |
void |
testLocaleIndependence() |
protected T extends StringEncoder stringEncoder
public StringEncoderAbstractTest()
public void checkEncoding(String expected, String source) throws EncoderException
EncoderException
protected void checkEncodings(String[][] data) throws EncoderException
EncoderException
protected void checkEncodingVariations(String expected, String[] data) throws EncoderException
EncoderException
protected abstract T createStringEncoder()
public T getStringEncoder()
public void testEncodeEmpty() throws Exception
Exception
public void testEncodeNull() throws Exception
Exception
public void testEncodeWithInvalidObject() throws Exception
Exception
public void testLocaleIndependence() throws Exception
Exception
Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.