commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1063789 - in /commons/proper/codec/trunk/src/test/org/apache/commons/codec: ./ language/
Date Wed, 26 Jan 2011 16:51:28 GMT
Author: ggregory
Date: Wed Jan 26 16:51:27 2011
New Revision: 1063789

URL: http://svn.apache.org/viewvc?rev=1063789&view=rev
Log:
Better method name.

Modified:
    commons/proper/codec/trunk/src/test/org/apache/commons/codec/StringEncoderAbstractTest.java
    commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/CaverphoneTest.java
    commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/ColognePhoneticTest.java
    commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
    commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/MetaphoneTest.java
    commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/RefinedSoundexTest.java
    commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/SoundexTest.java

Modified: commons/proper/codec/trunk/src/test/org/apache/commons/codec/StringEncoderAbstractTest.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/org/apache/commons/codec/StringEncoderAbstractTest.java?rev=1063789&r1=1063788&r2=1063789&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/org/apache/commons/codec/StringEncoderAbstractTest.java
(original)
+++ commons/proper/codec/trunk/src/test/org/apache/commons/codec/StringEncoderAbstractTest.java
Wed Jan 26 16:51:27 2011
@@ -31,19 +31,19 @@ public abstract class StringEncoderAbstr
         super(name);
     }
 
-    protected abstract StringEncoder makeEncoder();
+    protected abstract StringEncoder createEncoder();
 
     // ------------------------------------------------------------------------
 
     public void testEncodeEmpty() throws Exception {
-        Encoder encoder = makeEncoder();
+        Encoder encoder = createEncoder();
         encoder.encode("");
         encoder.encode(" ");
         encoder.encode("\t");
     }        
 
     public void testEncodeNull() throws Exception {
-        StringEncoder encoder = makeEncoder();
+        StringEncoder encoder = createEncoder();
         
         try {
             encoder.encode(null);
@@ -56,7 +56,7 @@ public abstract class StringEncoderAbstr
 
         boolean exceptionThrown = false;
         try {
-            StringEncoder encoder = makeEncoder();
+            StringEncoder encoder = createEncoder();
             encoder.encode( new Float( 3.4 ) );
         } catch (Exception e) {
             exceptionThrown = true;
@@ -67,7 +67,7 @@ public abstract class StringEncoderAbstr
     }
 
     public void testLocaleIndependence() throws Exception {
-        StringEncoder encoder = makeEncoder();
+        StringEncoder encoder = createEncoder();
 
         String[] data = { "I", "i", };
 

Modified: commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/CaverphoneTest.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/CaverphoneTest.java?rev=1063789&r1=1063788&r2=1063789&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/CaverphoneTest.java
(original)
+++ commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/CaverphoneTest.java
Wed Jan 26 16:51:27 2011
@@ -30,7 +30,7 @@ public class CaverphoneTest extends Stri
         super(name);
     }
 
-    protected StringEncoder makeEncoder() {
+    protected StringEncoder createEncoder() {
         return new Caverphone();
     }
 

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=1063789&r1=1063788&r2=1063789&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
Wed Jan 26 16:51:27 2011
@@ -26,7 +26,7 @@ public class ColognePhoneticTest extends
         super(name);
     }
 
-    protected StringEncoder makeEncoder() {
+    protected StringEncoder createEncoder() {
         return new ColognePhonetic();
     }
 

Modified: commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java?rev=1063789&r1=1063788&r2=1063789&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
(original)
+++ commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
Wed Jan 26 16:51:27 2011
@@ -1054,7 +1054,7 @@ public class DoubleMetaphoneTest extends
         return this.doubleMetaphone;
     }
 
-    protected StringEncoder makeEncoder() {
+    protected StringEncoder createEncoder() {
         return new Metaphone();
     }
 

Modified: commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/MetaphoneTest.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/MetaphoneTest.java?rev=1063789&r1=1063788&r2=1063789&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/MetaphoneTest.java
(original)
+++ commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/MetaphoneTest.java
Wed Jan 26 16:51:27 2011
@@ -63,7 +63,7 @@ public class MetaphoneTest extends Strin
         return this.metaphone;
     }
 
-    protected StringEncoder makeEncoder() {
+    protected StringEncoder createEncoder() {
         return new Metaphone();
     }
 

Modified: commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/RefinedSoundexTest.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/RefinedSoundexTest.java?rev=1063789&r1=1063788&r2=1063789&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/RefinedSoundexTest.java
(original)
+++ commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/RefinedSoundexTest.java
Wed Jan 26 16:51:27 2011
@@ -42,7 +42,7 @@ public class RefinedSoundexTest extends 
         return this.encoder;
     }
 
-    protected StringEncoder makeEncoder() {
+    protected StringEncoder createEncoder() {
         return new RefinedSoundex();
     }
 

Modified: commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/SoundexTest.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/SoundexTest.java?rev=1063789&r1=1063788&r2=1063789&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/SoundexTest.java
(original)
+++ commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/SoundexTest.java
Wed Jan 26 16:51:27 2011
@@ -49,7 +49,7 @@ public class SoundexTest extends StringE
         return this.encoder;
     }
 
-    protected StringEncoder makeEncoder() {
+    protected StringEncoder createEncoder() {
         return new Soundex();
     }
 



Mime
View raw message