File tree Expand file tree Collapse file tree
src/test/org/apache/commons/codec/language/bm Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424import org .apache .commons .codec .EncoderException ;
2525import org .apache .commons .codec .StringEncoder ;
2626import org .apache .commons .codec .StringEncoderAbstractTest ;
27+ import org .junit .Assert ;
28+ import org .junit .Ignore ;
2729import org .junit .Test ;
2830
2931/**
@@ -38,6 +40,16 @@ protected StringEncoder createStringEncoder() {
3840 return new BeiderMorseEncoder ();
3941 }
4042
43+ @ Ignore
44+ @ Test
45+ public void testEncodeAtz () throws EncoderException {
46+ BeiderMorseEncoder bmpm = new BeiderMorseEncoder ();
47+ bmpm .setNameType (NameType .GENERIC );
48+ bmpm .setRuleType (RuleType .APPROX );
49+ Assert .assertFalse (bmpm .encode ("ácz" ).equals ("" ));
50+ Assert .assertFalse (bmpm .encode ("átz" ).equals ("" ));
51+ }
52+
4153 /**
4254 * Tests https://issues.apache.org/jira/browse/CODEC-125?focusedCommentId=13071566&page=com.atlassian.jira.plugin.system.issuetabpanels:
4355 * comment-tabpanel#comment-13071566
You can’t perform that action at this time.
0 commit comments