You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2006/11/13 13:38:52 UTC

svn commit: r474283 - /james/server/trunk/src/test/org/apache/james/util/junkscore/JunkScoreConfigUtilTest.java

Author: norman
Date: Mon Nov 13 04:38:51 2006
New Revision: 474283

URL: http://svn.apache.org/viewvc?view=rev&rev=474283
Log:
Fix tests(Sorry forgot it)

Modified:
    james/server/trunk/src/test/org/apache/james/util/junkscore/JunkScoreConfigUtilTest.java

Modified: james/server/trunk/src/test/org/apache/james/util/junkscore/JunkScoreConfigUtilTest.java
URL: http://svn.apache.org/viewvc/james/server/trunk/src/test/org/apache/james/util/junkscore/JunkScoreConfigUtilTest.java?view=diff&rev=474283&r1=474282&r2=474283
==============================================================================
--- james/server/trunk/src/test/org/apache/james/util/junkscore/JunkScoreConfigUtilTest.java (original)
+++ james/server/trunk/src/test/org/apache/james/util/junkscore/JunkScoreConfigUtilTest.java Mon Nov 13 04:38:51 2006
@@ -35,7 +35,7 @@
         boolean exception2 = false;
     
         try {
-            JunkScoreConfigUtil.getJunkScoreConfig(INVALID_CONFIG1);
+            JunkScoreConfigUtil.getJunkScore(INVALID_CONFIG1);
         } catch (IllegalArgumentException e) {
             exception1 = true;
         }
@@ -43,14 +43,14 @@
         assertTrue("Exception thrown", exception1);
     
         try {
-            JunkScoreConfigUtil.getJunkScoreConfig(INVALID_CONFIG2);
+            JunkScoreConfigUtil.getJunkScore(INVALID_CONFIG2);
         } catch (IllegalArgumentException e) {
             exception2 = true;
         }
     
         assertTrue("Exception thrown", exception2);
         
-        assertEquals("JunkScore extracted", JunkScoreConfigUtil.getJunkScoreConfig(VALID_CONFIG),21.0);
+        assertEquals("JunkScore extracted", JunkScoreConfigUtil.getJunkScore(VALID_CONFIG),21.0);
     
     }
     



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org