org.apache.commons.codec.language.bm
Class BeiderMorseEncoderTest
java.lang.Object
org.apache.commons.codec.StringEncoderAbstractTest<StringEncoder>
org.apache.commons.codec.language.bm.BeiderMorseEncoderTest
public class BeiderMorseEncoderTest
- extends StringEncoderAbstractTest<StringEncoder>
Tests BeiderMorseEncoder.
- Since:
- 1.6
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeiderMorseEncoderTest
public BeiderMorseEncoderTest()
createStringEncoder
protected StringEncoder createStringEncoder()
- Specified by:
createStringEncoder
in class StringEncoderAbstractTest<StringEncoder>
testAllChars
public void testAllChars()
throws EncoderException
- Tests we do not blow up.
- Throws:
EncoderException
testAsciiEncodeNotEmpty1Letter
public void testAsciiEncodeNotEmpty1Letter()
throws EncoderException
- Throws:
EncoderException
testAsciiEncodeNotEmpty2Letters
public void testAsciiEncodeNotEmpty2Letters()
throws EncoderException
- Throws:
EncoderException
testEncodeAtzNotEmpty
public void testEncodeAtzNotEmpty()
throws EncoderException
- Throws:
EncoderException
testEncodeGna
public void testEncodeGna()
throws EncoderException
- Tests https://issues.apache.org/jira/browse/CODEC-125?focusedCommentId=13071566&page=com.atlassian.jira.plugin.system.issuetabpanels:
comment-tabpanel#comment-13071566
- Throws:
EncoderException
testInvalidLangIllegalArgumentException
public void testInvalidLangIllegalArgumentException()
testInvalidLangIllegalStateException
public void testInvalidLangIllegalStateException()
testInvalidLanguageIllegalArgumentException
public void testInvalidLanguageIllegalArgumentException()
testLongestEnglishSurname
public void testLongestEnglishSurname()
throws EncoderException
- Throws:
EncoderException
testNegativeIndexForRuleMatchIndexOutOfBoundsException
public void testNegativeIndexForRuleMatchIndexOutOfBoundsException()
testOOM
public void testOOM()
throws EncoderException
- Throws:
EncoderException
testSetConcat
public void testSetConcat()
testSetNameTypeAsh
public void testSetNameTypeAsh()
testSetRuleTypeExact
public void testSetRuleTypeExact()
testSetRuleTypeToRulesIllegalArgumentException
public void testSetRuleTypeToRulesIllegalArgumentException()
testSpeedCheck
public void testSpeedCheck()
throws EncoderException
- (Un)luckily, the worse performing test because of the data in
TEST_CHARS
- Throws:
EncoderException
testSpeedCheck2
public void testSpeedCheck2()
throws EncoderException
- Throws:
EncoderException
testSpeedCheck3
public void testSpeedCheck3()
throws EncoderException
- Throws:
EncoderException
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.