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