commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1438145 - /commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/language/NysiisTest.java
Date Thu, 24 Jan 2013 19:49:47 GMT
Author: sebb
Date: Thu Jan 24 19:49:46 2013
New Revision: 1438145

URL: http://svn.apache.org/viewvc?rev=1438145&view=rev
Log:
Exception not thrown

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

Modified: commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/language/NysiisTest.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/language/NysiisTest.java?rev=1438145&r1=1438144&r2=1438145&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/language/NysiisTest.java
(original)
+++ commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/language/NysiisTest.java
Thu Jan 24 19:49:46 2013
@@ -52,31 +52,31 @@ public class NysiisTest extends StringEn
         return new Nysiis();
     }
 
-    private void encodeAll(final String[] strings, final String expectedEncoding) throws
EncoderException {
+    private void encodeAll(final String[] strings, final String expectedEncoding) {
         for (final String string : strings) {
             Assert.assertEquals("Problem with " + string, expectedEncoding, getStringEncoder().encode(string));
         }
     }
 
     @Test
-    public void testBran() throws EncoderException {
+    public void testBran() {
         encodeAll(new String[] { "Brian", "Brown", "Brun" }, "BRAN");
     }
 
     @Test
-    public void testCap() throws EncoderException {
+    public void testCap() {
         this.encodeAll(new String[] { "Capp", "Cope", "Copp", "Kipp" }, "CAP");
     }
 
     @Test
-    public void testDad() throws EncoderException {
+    public void testDad() {
         // Data Quality and Record Linkage Techniques P.121 claims this is DAN,
         // but it should be DAD, verified also with dropby.com
         this.encodeAll(new String[] { "Dent" }, "DAD");
     }
 
     @Test
-    public void testDan() throws EncoderException {
+    public void testDan() {
         this.encodeAll(new String[] { "Dane", "Dean", "Dionne" }, "DAN");
     }
 
@@ -145,7 +145,7 @@ public class NysiisTest extends StringEn
     }
 
     @Test
-    public void testFal() throws EncoderException {
+    public void testFal() {
         this.encodeAll(new String[] { "Phil" }, "FAL");
     }
 
@@ -264,19 +264,19 @@ public class NysiisTest extends StringEn
                 new String[] { "XAS", "X" }); // Rules 5, 7
     }
     @Test
-    public void testSnad() throws EncoderException {
+    public void testSnad() {
         // Data Quality and Record Linkage Techniques P.121 claims this is SNAT,
         // but it should be SNAD
         this.encodeAll(new String[] { "Schmidt" }, "SNAD");
     }
 
     @Test
-    public void testSnat() throws EncoderException {
+    public void testSnat() {
         this.encodeAll(new String[] { "Smith", "Schmit" }, "SNAT");
     }
 
     @Test
-    public void testSpecialBranches() throws EncoderException {
+    public void testSpecialBranches() {
         this.encodeAll(new String[] { "Kobwick" }, "CABWAC");
         this.encodeAll(new String[] { "Kocher" }, "CACAR");
         this.encodeAll(new String[] { "Fesca" }, "FASC");
@@ -287,7 +287,7 @@ public class NysiisTest extends StringEn
     }
 
     @Test
-    public void testTranan() throws EncoderException {
+    public void testTranan() {
         this.encodeAll(new String[] { "Trueman", "Truman" }, "TRANAN");
     }
 



Mime
View raw message