commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1073478 - /commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/ColognePhoneticTest.java
Date Tue, 22 Feb 2011 19:57:55 GMT
Author: ggregory
Date: Tue Feb 22 19:57:54 2011
New Revision: 1073478

URL: http://svn.apache.org/viewvc?rev=1073478&view=rev
Log:
FIx test fixture: missing leading "0". PHP implementation used to generate test data is buggy.

Modified:
    commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/ColognePhoneticTest.java

Modified: commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/ColognePhoneticTest.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/ColognePhoneticTest.java?rev=1073478&r1=1073477&r2=1073478&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/ColognePhoneticTest.java
(original)
+++ commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/ColognePhoneticTest.java
Tue Feb 22 19:57:54 2011
@@ -132,18 +132,18 @@ public class ColognePhoneticTest extends
             {"mönchengladbach", "664645214"},
             {"deutsch", "28"},
             {"deutz", "28"},
-            // {"hamburg", "6174"},
-            // {"hannover", "637"},
+            {"hamburg", "06174"},
+            {"hannover", "0637"},
             {"christstollen", "478256"},
             {"Xanthippe", "48621"},
             {"Zacharias", "8478"},
-            // {"Holzbau", "581"},
+            {"Holzbau", "0581"},
             {"matsch", "68"},
             {"matz", "68"},
             {"Arbeitsamt", "071862"},
-            {"Eberhard", "01772"},
-            {"Eberhardt", "01772"},
-            // {"heithabu", "21"},
+           // {"Eberhard", "01772"}, BUG: 77 should be 7
+           // {"Eberhardt", "01772"}, BUG: 77 should be 7
+            {"heithabu", "021"},
             {"Müller-Lüdenscheidt", "65752682"},};
         this.checkEncodings(data);
     }



Mime
View raw message