|
||||||||||
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.MetaphoneTest
public class MetaphoneTest
Field Summary |
---|
Fields inherited from class org.apache.commons.codec.StringEncoderAbstractTest |
---|
stringEncoder |
Constructor Summary | |
---|---|
MetaphoneTest()
|
Method Summary | |
---|---|
void |
assertIsMetaphoneEqual(String source,
String[] matches)
|
void |
assertMetaphoneEqual(String[][] pairs)
|
protected org.apache.commons.codec.StringEncoder |
createStringEncoder()
|
void |
testDiscardOfSCEOrSCIOrSCY()
|
void |
testDiscardOfSilentGN()
|
void |
testDiscardOfSilentHAfterG()
|
void |
testExceedLength()
|
void |
testIsMetaphoneEqual1()
|
void |
testIsMetaphoneEqual2()
Matches computed from http://www.lanw.com/java/phonetic/default.htm |
void |
testIsMetaphoneEqualAero()
Initial AE case. |
void |
testIsMetaphoneEqualAlbert()
Initial A, not followed by an E case. |
void |
testIsMetaphoneEqualGary()
Match data computed from http://www.lanw.com/java/phonetic/default.htm |
void |
testIsMetaphoneEqualJohn()
Match data computed from http://www.lanw.com/java/phonetic/default.htm |
void |
testIsMetaphoneEqualKnight()
Initial KN case. |
void |
testIsMetaphoneEqualMary()
Match data computed from http://www.lanw.com/java/phonetic/default.htm |
void |
testIsMetaphoneEqualParis()
Match data computed from http://www.lanw.com/java/phonetic/default.htm |
void |
testIsMetaphoneEqualPeter()
Match data computed from http://www.lanw.com/java/phonetic/default.htm |
void |
testIsMetaphoneEqualRay()
Match data computed from http://www.lanw.com/java/phonetic/default.htm |
void |
testIsMetaphoneEqualSusan()
Match data computed from http://www.lanw.com/java/phonetic/default.htm |
void |
testIsMetaphoneEqualWhite()
Initial WH case. |
void |
testIsMetaphoneEqualWright()
Initial WR case. |
void |
testIsMetaphoneEqualXalan()
Match data computed from http://www.lanw.com/java/phonetic/default.htm |
void |
testMetaphone()
|
void |
testPHTOF()
|
void |
testSetMaxLengthWithTruncation()
|
void |
testSHAndSIOAndSIAToX()
|
void |
testTCH()
|
void |
testTIOAndTIAToX()
|
void |
testTranslateOfSCHAndCH()
|
void |
testTranslateToJOfDGEOrDGIOrDGY()
|
void |
testWhy()
Tests (CODEC-57) Metaphone.metaphone(String) returns an empty string when passed the word "why" |
void |
testWordEndingInMB()
|
void |
testWordsWithCIA()
|
void |
validateFixture(String[][] pairs)
|
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 MetaphoneTest()
Method Detail |
---|
public void assertIsMetaphoneEqual(String source, String[] matches)
public void assertMetaphoneEqual(String[][] pairs)
protected org.apache.commons.codec.StringEncoder createStringEncoder()
createStringEncoder
in class StringEncoderAbstractTest
public void testIsMetaphoneEqual1()
public void testIsMetaphoneEqual2()
public void testIsMetaphoneEqualAero()
public void testIsMetaphoneEqualWhite()
public void testIsMetaphoneEqualAlbert()
public void testIsMetaphoneEqualGary()
public void testIsMetaphoneEqualJohn()
public void testIsMetaphoneEqualKnight()
public void testIsMetaphoneEqualMary()
public void testIsMetaphoneEqualParis()
public void testIsMetaphoneEqualPeter()
public void testIsMetaphoneEqualRay()
public void testIsMetaphoneEqualSusan()
public void testIsMetaphoneEqualWright()
public void testIsMetaphoneEqualXalan()
public void testMetaphone()
public void testWordEndingInMB()
public void testDiscardOfSCEOrSCIOrSCY()
public void testWhy()
public void testWordsWithCIA()
public void testTranslateOfSCHAndCH()
public void testTranslateToJOfDGEOrDGIOrDGY()
public void testDiscardOfSilentHAfterG()
public void testDiscardOfSilentGN()
public void testPHTOF()
public void testSHAndSIOAndSIAToX()
public void testTIOAndTIAToX()
public void testTCH()
public void testExceedLength()
public void testSetMaxLengthWithTruncation()
public void validateFixture(String[][] pairs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |