org.apache.commons.codec
Class StringEncoderAbstractTest<T extends StringEncoder>
java.lang.Object
org.apache.commons.codec.StringEncoderAbstractTest<T>
- Direct Known Subclasses:
- BeiderMorseEncoderTest, Caverphone1Test, Caverphone2Test, ColognePhoneticTest, DoubleMetaphone2Test, DoubleMetaphoneTest, MatchRatingApproachEncoderTest, MetaphoneTest, NysiisTest, RefinedSoundexTest, SoundexTest
public abstract class StringEncoderAbstractTest<T extends StringEncoder>
- extends Object
- Version:
- $Id: StringEncoderAbstractTest.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 |
stringEncoder
protected T extends StringEncoder stringEncoder
StringEncoderAbstractTest
public StringEncoderAbstractTest()
checkEncoding
public void checkEncoding(String expected,
String source)
throws EncoderException
- Throws:
EncoderException
checkEncodings
protected void checkEncodings(String[][] data)
throws EncoderException
- Throws:
EncoderException
checkEncodingVariations
protected void checkEncodingVariations(String expected,
String[] data)
throws EncoderException
- Throws:
EncoderException
createStringEncoder
protected abstract T createStringEncoder()
getStringEncoder
public T getStringEncoder()
testEncodeEmpty
public void testEncodeEmpty()
throws Exception
- Throws:
Exception
testEncodeNull
public void testEncodeNull()
throws Exception
- Throws:
Exception
testEncodeWithInvalidObject
public void testEncodeWithInvalidObject()
throws Exception
- Throws:
Exception
testLocaleIndependence
public void testLocaleIndependence()
throws Exception
- Throws:
Exception
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.