Author: ggregory Date: Sun Jul 31 21:28:01 2011 New Revision: 1152645 URL: http://svn.apache.org/viewvc?rev=1152645&view=rev Log: Add tests for https://issues.apache.org/jira/browse/CODEC-125?focusedCommentId=13073380&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13073380
Modified: commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/bm/BeiderMorseEncoderTest.java Modified: commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/bm/BeiderMorseEncoderTest.java URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/bm/BeiderMorseEncoderTest.java?rev=1152645&r1=1152644&r2=1152645&view=diff ============================================================================== --- commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/bm/BeiderMorseEncoderTest.java (original) +++ commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/bm/BeiderMorseEncoderTest.java Sun Jul 31 21:28:01 2011 @@ -40,11 +40,11 @@ public class BeiderMorseEncoderTest exte } @Test - public void testEncodeAtz() throws EncoderException { + public void testEncodeAtzNotEmpty() throws EncoderException { BeiderMorseEncoder bmpm = new BeiderMorseEncoder(); bmpm.setNameType(NameType.GENERIC); bmpm.setRuleType(RuleType.APPROX); - String[] names = { "ácz", "átz" }; + String[] names = { "ácz", "átz", "Ignácz", "Ignátz", "Ignác" }; for (String name : names) { Assert.assertFalse(bmpm.encode(name).equals(""));