commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1155183 - /commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/bm/RuleTest.java
Date Tue, 09 Aug 2011 01:17:27 GMT
Author: ggregory
Date: Tue Aug  9 01:17:26 2011
New Revision: 1155183

URL: http://svn.apache.org/viewvc?rev=1155183&view=rev
Log:
Prefix @Test method names with "test".

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

Modified: commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/bm/RuleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/bm/RuleTest.java?rev=1155183&r1=1155182&r2=1155183&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/bm/RuleTest.java
(original)
+++ commons/proper/codec/trunk/src/test/org/apache/commons/codec/language/bm/RuleTest.java
Tue Aug  9 01:17:26 2011
@@ -59,7 +59,7 @@ public class RuleTest {
     }
 
     @Test
-    public void phonemeComparedToLaterIsNegative() {
+    public void testPhonemeComparedToLaterIsNegative() {
         for (Rule.Phoneme[] phs : makePhonemes()) {
             for (int i = 0; i < phs.length; i++) {
                 for (int j = i + 1; j < phs.length; j++) {
@@ -73,7 +73,7 @@ public class RuleTest {
     }
 
     @Test
-    public void phonemeComparedToSelfIsZero() {
+    public void testPhonemeComparedToSelfIsZero() {
         for (Rule.Phoneme[] phs : makePhonemes()) {
             for (Rule.Phoneme ph : phs) {
                 assertEquals("Phoneme compared to itself should be zero: " + ph.getPhonemeText(),
0,
@@ -83,7 +83,7 @@ public class RuleTest {
     }
 
     @Test
-    public void subSequenceWorks() {
+    public void testSubSequenceWorks() {
         // AppendableCharSequence is private to Rule. We can only make it through a Phoneme.
 
         Rule.Phoneme a = new Rule.Phoneme("a", null);



Mime
View raw message