org.apache.commons.codec
Class StringEncoderAbstractTest
java.lang.Object
org.apache.commons.codec.StringEncoderAbstractTest
- Direct Known Subclasses:
- BeiderMorseEncoderTest, Caverphone1Test, Caverphone2Test, ColognePhoneticTest, DoubleMetaphone2Test, DoubleMetaphoneTest, MetaphoneTest, NysiisTest, RefinedSoundexTest, SoundexTest
public abstract class StringEncoderAbstractTest
- extends Object
- Version:
- $Id: StringEncoderAbstractTest.html 889935 2013-12-11 05:05:13Z ggregory $
Field Summary |
protected org.apache.commons.codec.StringEncoder |
stringEncoder
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stringEncoder
protected org.apache.commons.codec.StringEncoder stringEncoder
StringEncoderAbstractTest
public StringEncoderAbstractTest()
checkEncoding
public void checkEncoding(String expected,
String source)
throws org.apache.commons.codec.EncoderException
- Throws:
org.apache.commons.codec.EncoderException
checkEncodings
protected void checkEncodings(String[][] data)
throws org.apache.commons.codec.EncoderException
- Throws:
org.apache.commons.codec.EncoderException
checkEncodingVariations
protected void checkEncodingVariations(String expected,
String[] data)
throws org.apache.commons.codec.EncoderException
- Throws:
org.apache.commons.codec.EncoderException
createStringEncoder
protected abstract org.apache.commons.codec.StringEncoder createStringEncoder()
getStringEncoder
public org.apache.commons.codec.StringEncoder 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.