|
||||||||||
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.DoubleMetaphoneTest
public class DoubleMetaphoneTest
Tests DoubleMetaphone
.
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 | |
---|---|
DoubleMetaphoneTest()
|
Method Summary | |
---|---|
void |
assertDoubleMetaphoneAlt(String expected,
String source)
Tests encoding APIs in one place. |
protected org.apache.commons.codec.StringEncoder |
createStringEncoder()
|
void |
doubleMetaphoneEqualTest(String[][] pairs,
boolean useAlternate)
|
void |
doubleMetaphoneNotEqualTest(boolean alternate)
|
void |
testCCedilla()
|
void |
testDoubleMetaphone()
|
void |
testEmpty()
|
void |
testIsDoubleMetaphoneEqualBasic()
|
void |
testIsDoubleMetaphoneEqualExtended1()
Example in the original article but failures in this Java impl: |
void |
testIsDoubleMetaphoneEqualExtended2()
|
void |
testIsDoubleMetaphoneEqualExtended3()
Used to generate the MATCHES array and test possible matches from the FIXTURE array. |
void |
testIsDoubleMetaphoneEqualWithMATCHES()
|
void |
testIsDoubleMetaphoneNotEqual()
|
void |
testNTilde()
|
void |
testSetMaxCodeLength()
Test setting maximum length |
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 DoubleMetaphoneTest()
Method Detail |
---|
public void assertDoubleMetaphoneAlt(String expected, String source)
public void doubleMetaphoneEqualTest(String[][] pairs, boolean useAlternate)
public void doubleMetaphoneNotEqualTest(boolean alternate)
protected org.apache.commons.codec.StringEncoder createStringEncoder()
createStringEncoder
in class StringEncoderAbstractTest
public void testDoubleMetaphone()
public void testEmpty()
public void testSetMaxCodeLength()
public void testIsDoubleMetaphoneEqualBasic()
public void testIsDoubleMetaphoneEqualExtended1()
public void testIsDoubleMetaphoneEqualExtended2()
public void testIsDoubleMetaphoneEqualExtended3()
public void testIsDoubleMetaphoneEqualWithMATCHES()
public void testIsDoubleMetaphoneNotEqual()
public void testCCedilla()
public void testNTilde()
public void validateFixture(String[][] pairs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |