org.apache.commons.codec.language
Class DoubleMetaphone2Test

java.lang.Object
  extended by org.apache.commons.codec.StringEncoderAbstractTest
      extended by org.apache.commons.codec.language.DoubleMetaphone2Test

public class DoubleMetaphone2Test
extends StringEncoderAbstractTest

Tests DoubleMetaphone.

The test data was extracted from Stephen Woodbridge's PHP test program.

Version:
$Id: DoubleMetaphone2Test.html 889935 2013-12-11 05:05:13Z ggregory $
See Also:
PHP test program

Field Summary
 
Fields inherited from class org.apache.commons.codec.StringEncoderAbstractTest
stringEncoder
 
Constructor Summary
DoubleMetaphone2Test()
           
 
Method Summary
protected  org.apache.commons.codec.StringEncoder createStringEncoder()
           
 void testDoubleMetaphoneAlternate()
          Test alternative encoding.
 void testDoubleMetaphonePrimary()
          Test primary encoding.
 
Methods inherited from class org.apache.commons.codec.StringEncoderAbstractTest
checkEncoding, checkEncodings, checkEncodingVariations, getStringEncoder, testEncodeEmpty, testEncodeNull, testEncodeWithInvalidObject, testLocaleIndependence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleMetaphone2Test

public DoubleMetaphone2Test()
Method Detail

createStringEncoder

protected org.apache.commons.codec.StringEncoder createStringEncoder()
Specified by:
createStringEncoder in class StringEncoderAbstractTest

testDoubleMetaphoneAlternate

public void testDoubleMetaphoneAlternate()
Test alternative encoding.


testDoubleMetaphonePrimary

public void testDoubleMetaphonePrimary()
Test primary encoding.



Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.