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, testLocaleIndependence
public BeiderMorseEncoderTest()
protected StringEncoder createStringEncoder()
createStringEncoder
in class StringEncoderAbstractTest<StringEncoder>
public void testAllChars() throws EncoderException
EncoderException
public void testAsciiEncodeNotEmpty1Letter() throws EncoderException
EncoderException
public void testAsciiEncodeNotEmpty2Letters() throws EncoderException
EncoderException
public void testEncodeAtzNotEmpty() throws EncoderException
EncoderException
public void testEncodeGna() throws EncoderException
EncoderException
public void testInvalidLangIllegalArgumentException()
public void testInvalidLangIllegalStateException()
public void testInvalidLanguageIllegalArgumentException()
public void testLongestEnglishSurname() throws EncoderException
EncoderException
public void testNegativeIndexForRuleMatchIndexOutOfBoundsException()
public void testOOM() throws EncoderException
EncoderException
public void testSetConcat()
public void testSetNameTypeAsh()
public void testSetRuleTypeExact()
public void testSetRuleTypeToRulesIllegalArgumentException()
public void testSpeedCheck() throws EncoderException
TEST_CHARS
EncoderException
public void testSpeedCheck2() throws EncoderException
EncoderException
public void testSpeedCheck3() throws EncoderException
EncoderException
Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.