james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r416425 - in /james/server/trunk/src/test/org/apache/james/transport/matchers: AbstractHasMailAttributeTest.java HasMailAttributeTest.java HasMailAttributeWithValueRegexTest.java HasMailAttributeWithValueTest.java
Date Thu, 22 Jun 2006 17:34:59 GMT
Author: norman
Date: Thu Jun 22 10:34:59 2006
New Revision: 416425

URL: http://svn.apache.org/viewvc?rev=416425&view=rev
Log:
Add junit test for SMTPAuthSuccessful matcher

Modified:
    james/server/trunk/src/test/org/apache/james/transport/matchers/AbstractHasMailAttributeTest.java
    james/server/trunk/src/test/org/apache/james/transport/matchers/HasMailAttributeTest.java
    james/server/trunk/src/test/org/apache/james/transport/matchers/HasMailAttributeWithValueRegexTest.java
    james/server/trunk/src/test/org/apache/james/transport/matchers/HasMailAttributeWithValueTest.java

Modified: james/server/trunk/src/test/org/apache/james/transport/matchers/AbstractHasMailAttributeTest.java
URL: http://svn.apache.org/viewvc/james/server/trunk/src/test/org/apache/james/transport/matchers/AbstractHasMailAttributeTest.java?rev=416425&r1=416424&r2=416425&view=diff
==============================================================================
--- james/server/trunk/src/test/org/apache/james/transport/matchers/AbstractHasMailAttributeTest.java
(original)
+++ james/server/trunk/src/test/org/apache/james/transport/matchers/AbstractHasMailAttributeTest.java
Thu Jun 22 10:34:59 2006
@@ -30,6 +30,7 @@
 import org.apache.james.test.mock.mailet.MockMail;
 import org.apache.james.test.mock.mailet.MockMailContext;
 import org.apache.james.test.mock.mailet.MockMatcherConfig;
+import org.apache.mailet.GenericMatcher;
 import org.apache.mailet.MailAddress;
 import org.apache.mailet.Matcher;
 
@@ -112,7 +113,7 @@
 
     protected abstract String getHasMailAttribute();
 
-    protected abstract Matcher createMatcher();
+    protected abstract GenericMatcher createMatcher();
 
     protected abstract String getConfigOption();
 }

Modified: james/server/trunk/src/test/org/apache/james/transport/matchers/HasMailAttributeTest.java
URL: http://svn.apache.org/viewvc/james/server/trunk/src/test/org/apache/james/transport/matchers/HasMailAttributeTest.java?rev=416425&r1=416424&r2=416425&view=diff
==============================================================================
--- james/server/trunk/src/test/org/apache/james/transport/matchers/HasMailAttributeTest.java
(original)
+++ james/server/trunk/src/test/org/apache/james/transport/matchers/HasMailAttributeTest.java
Thu Jun 22 10:34:59 2006
@@ -17,7 +17,7 @@
 
 package org.apache.james.transport.matchers;
 
-import org.apache.mailet.Matcher;
+import org.apache.mailet.GenericMatcher;
 
 public class HasMailAttributeTest extends AbstractHasMailAttributeTest {
 
@@ -25,7 +25,7 @@
         super();
     }
 
-    protected Matcher createMatcher() {
+    protected GenericMatcher createMatcher() {
         return new HasMailAttribute();
     }
 

Modified: james/server/trunk/src/test/org/apache/james/transport/matchers/HasMailAttributeWithValueRegexTest.java
URL: http://svn.apache.org/viewvc/james/server/trunk/src/test/org/apache/james/transport/matchers/HasMailAttributeWithValueRegexTest.java?rev=416425&r1=416424&r2=416425&view=diff
==============================================================================
--- james/server/trunk/src/test/org/apache/james/transport/matchers/HasMailAttributeWithValueRegexTest.java
(original)
+++ james/server/trunk/src/test/org/apache/james/transport/matchers/HasMailAttributeWithValueRegexTest.java
Thu Jun 22 10:34:59 2006
@@ -17,7 +17,7 @@
 
 package org.apache.james.transport.matchers;
 
-import org.apache.mailet.Matcher;
+import org.apache.mailet.GenericMatcher;
 
 import javax.mail.MessagingException;
 import java.util.Collection;
@@ -39,7 +39,7 @@
         return MAIL_ATTRIBUTE_NAME + ", " + regex;
     }
 
-    protected Matcher createMatcher() {
+    protected GenericMatcher createMatcher() {
         return new HasMailAttributeWithValueRegex();
     }
 

Modified: james/server/trunk/src/test/org/apache/james/transport/matchers/HasMailAttributeWithValueTest.java
URL: http://svn.apache.org/viewvc/james/server/trunk/src/test/org/apache/james/transport/matchers/HasMailAttributeWithValueTest.java?rev=416425&r1=416424&r2=416425&view=diff
==============================================================================
--- james/server/trunk/src/test/org/apache/james/transport/matchers/HasMailAttributeWithValueTest.java
(original)
+++ james/server/trunk/src/test/org/apache/james/transport/matchers/HasMailAttributeWithValueTest.java
Thu Jun 22 10:34:59 2006
@@ -17,7 +17,7 @@
 
 package org.apache.james.transport.matchers;
 
-import org.apache.mailet.Matcher;
+import org.apache.mailet.GenericMatcher;
 
 import javax.mail.MessagingException;
 import java.util.Collection;
@@ -32,7 +32,7 @@
         return MAIL_ATTRIBUTE_NAME + ", " + MAIL_ATTRIBUTE_VALUE;
     }
 
-    protected Matcher createMatcher() {
+    protected GenericMatcher createMatcher() {
         return new HasMailAttributeWithValue();
     }
 



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


Mime
View raw message