|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.codec.StringEncoderAbstractTest org.apache.commons.codec.language.SoundexTest
public class SoundexTest
Tests Soundex
.
Keep this file in UTF-8 encoding for proper Javadoc processing.
Field Summary |
---|
Fields inherited from class org.apache.commons.codec.StringEncoderAbstractTest |
---|
stringEncoder |
Constructor Summary | |
---|---|
SoundexTest()
|
Method Summary | |
---|---|
protected org.apache.commons.codec.StringEncoder |
createStringEncoder()
|
org.apache.commons.codec.language.Soundex |
getSoundexEncoder()
|
void |
testB650()
|
void |
testBadCharacters()
|
void |
testDifference()
|
void |
testEncodeBasic()
|
void |
testEncodeBatch2()
Examples from http://www.bradandkathy.com/genealogy/overviewofsoundex.html |
void |
testEncodeBatch3()
Examples from http://www.archives.gov/research_room/genealogy/census/soundex.html |
void |
testEncodeBatch4()
Examples from: http://www.myatt.demon.co.uk/sxalg.htm |
void |
testEncodeIgnoreApostrophes()
|
void |
testEncodeIgnoreHyphens()
Test data from http://www.myatt.demon.co.uk/sxalg.htm |
void |
testEncodeIgnoreTrimmable()
|
void |
testHWRuleEx1()
Consonants from the same code group separated by W or H are treated as one. |
void |
testHWRuleEx2()
Consonants from the same code group separated by W or H are treated as one. |
void |
testHWRuleEx3()
Consonants from the same code group separated by W or H are treated as one. |
void |
testMsSqlServer1()
Examples for MS SQLServer from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_setu-sus_3o6w.asp |
void |
testMsSqlServer2()
Examples for MS SQLServer from http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support /kb/articles/Q100/3/65.asp&NoWebContent=1 |
void |
testMsSqlServer3()
Examples for MS SQLServer from http://databases.about.com/library/weekly/aa042901a.htm |
void |
testNewInstance()
https://issues.apache.org/jira/browse/CODEC-54 https://issues.apache.org/jira/browse/CODEC-56 |
void |
testNewInstance2()
|
void |
testNewInstance3()
|
void |
testSoundexUtilsConstructable()
|
void |
testSoundexUtilsNullBehaviour()
|
void |
testUsEnglishStatic()
https://issues.apache.org/jira/browse/CODEC-54 https://issues.apache.org/jira/browse/CODEC-56 |
void |
testUsMappingEWithAcute()
Fancy characters are not mapped by the default US mapping. |
void |
testUsMappingOWithDiaeresis()
Fancy characters are not mapped by the default US mapping. |
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 |
---|
public SoundexTest()
Method Detail |
---|
protected org.apache.commons.codec.StringEncoder createStringEncoder()
createStringEncoder
in class StringEncoderAbstractTest
public org.apache.commons.codec.language.Soundex getSoundexEncoder()
public void testB650() throws org.apache.commons.codec.EncoderException
org.apache.commons.codec.EncoderException
public void testBadCharacters()
public void testDifference() throws org.apache.commons.codec.EncoderException
org.apache.commons.codec.EncoderException
public void testEncodeBasic()
public void testEncodeBatch2()
public void testEncodeBatch3()
public void testEncodeBatch4()
public void testEncodeIgnoreApostrophes() throws org.apache.commons.codec.EncoderException
org.apache.commons.codec.EncoderException
public void testEncodeIgnoreHyphens() throws org.apache.commons.codec.EncoderException
org.apache.commons.codec.EncoderException
public void testEncodeIgnoreTrimmable()
public void testHWRuleEx1()
public void testHWRuleEx2()
public void testHWRuleEx3() throws org.apache.commons.codec.EncoderException
org.apache.commons.codec.EncoderException
public void testMsSqlServer1()
public void testMsSqlServer2() throws org.apache.commons.codec.EncoderException
org.apache.commons.codec.EncoderException
public void testMsSqlServer3()
public void testNewInstance()
public void testNewInstance2()
public void testNewInstance3()
public void testSoundexUtilsConstructable()
public void testSoundexUtilsNullBehaviour()
public void testUsEnglishStatic()
public void testUsMappingEWithAcute()
public void testUsMappingOWithDiaeresis()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |