commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1073218 - /commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/ColognePhoneticTest.java
Date Tue, 22 Feb 2011 04:01:26 GMT
Author: ggregory
Date: Tue Feb 22 04:01:26 2011
New Revision: 1073218

URL: http://svn.apache.org/viewvc?rev=1073218&view=rev
Log:
Sort members.

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=1073218&r1=1073217&r2=1073218&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 04:01:26 2011
@@ -30,16 +30,6 @@ public class ColognePhoneticTest extends
         return new ColognePhonetic();
     }
 
-    public void testExamples() {
-        ColognePhonetic koellePhon = new ColognePhonetic();
-        String[][] data = { { "Müller-Lüdenscheidt", "65752682" },
-                { "Breschnew", "17863" }, { "Wikipedia", "3412" } };
-
-        for (int i = 0; i < data.length; i++) {
-            assertEquals(data[i][1], koellePhon.colognePhonetic(data[i][0]));
-        }
-    }
-
     public void testBorderCases() {
         ColognePhonetic koellePhon = new ColognePhonetic();
 
@@ -58,6 +48,16 @@ public class ColognePhoneticTest extends
         }
     }
 
+    public void testExamples() {
+        ColognePhonetic koellePhon = new ColognePhonetic();
+        String[][] data = { { "Müller-Lüdenscheidt", "65752682" },
+                { "Breschnew", "17863" }, { "Wikipedia", "3412" } };
+
+        for (int i = 0; i < data.length; i++) {
+            assertEquals(data[i][1], koellePhon.colognePhonetic(data[i][0]));
+        }
+    }
+
     public void testIsCologneEquals() {
         ColognePhonetic koellePhon = new ColognePhonetic();
         assertFalse("Cologne-phonetic encodings should not be equal",



Mime
View raw message