public class BeiderMorseEncoderTest extends StringEncoderAbstractTest<StringEncoder>
stringEncoder| Constructor and Description |
|---|
BeiderMorseEncoderTest() |
| Modifier and Type | Method and Description |
|---|---|
protected StringEncoder |
createStringEncoder() |
void |
testAllChars()
Tests we do not blow up.
|
void |
testAsciiEncodeNotEmpty1Letter() |
void |
testAsciiEncodeNotEmpty2Letters() |
void |
testEncodeAtzNotEmpty() |
void |
testEncodeGna()
Tests https://issues.apache.org/jira/browse/CODEC-125?focusedCommentId=13071566&page=com.atlassian.jira.plugin.system.issuetabpanels:
comment-tabpanel#comment-13071566
|
void |
testInvalidLangIllegalArgumentException() |
void |
testInvalidLangIllegalStateException() |
void |
testInvalidLanguageIllegalArgumentException() |
void |
testLongestEnglishSurname() |
void |
testNegativeIndexForRuleMatchIndexOutOfBoundsException() |
void |
testOOM() |
void |
testSetConcat() |
void |
testSetNameTypeAsh() |
void |
testSetRuleTypeExact() |
void |
testSetRuleTypeToRulesIllegalArgumentException() |
void |
testSpeedCheck()
(Un)luckily, the worse performing test because of the data in
TEST_CHARS |
void |
testSpeedCheck2() |
void |
testSpeedCheck3() |
checkEncoding, checkEncodings, checkEncodingVariations, getStringEncoder, testEncodeEmpty, testEncodeNull, testEncodeWithInvalidObject, testLocaleIndependencepublic BeiderMorseEncoderTest()
protected StringEncoder createStringEncoder()
createStringEncoder in class StringEncoderAbstractTest<StringEncoder>public void testAllChars() throws EncoderException
EncoderExceptionpublic void testAsciiEncodeNotEmpty1Letter() throws EncoderException
EncoderExceptionpublic void testAsciiEncodeNotEmpty2Letters() throws EncoderException
EncoderExceptionpublic void testEncodeAtzNotEmpty() throws EncoderException
EncoderExceptionpublic void testEncodeGna() throws EncoderException
EncoderExceptionpublic void testInvalidLangIllegalArgumentException()
public void testInvalidLangIllegalStateException()
public void testInvalidLanguageIllegalArgumentException()
public void testLongestEnglishSurname() throws EncoderException
EncoderExceptionpublic void testNegativeIndexForRuleMatchIndexOutOfBoundsException()
public void testOOM() throws EncoderException
EncoderExceptionpublic void testSetConcat()
public void testSetNameTypeAsh()
public void testSetRuleTypeExact()
public void testSetRuleTypeToRulesIllegalArgumentException()
public void testSpeedCheck() throws EncoderException
TEST_CHARSEncoderExceptionpublic void testSpeedCheck2() throws EncoderException
EncoderExceptionpublic void testSpeedCheck3() throws EncoderException
EncoderExceptionCopyright © 2002–2013 The Apache Software Foundation. All rights reserved.