james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r670031 - in /james/server/trunk/phoenix-deployment/src/test/org/apache/james/transport/matchers: HasMailAttributeWithValueRegexTest.java RecipientIsRegexTest.java
Date Fri, 20 Jun 2008 18:51:41 GMT
Author: bago
Date: Fri Jun 20 11:51:40 2008
New Revision: 670031

URL: http://svn.apache.org/viewvc?rev=670031&view=rev
Log:
They are failing in my java 6 environment (I changed build environment to check geronimo java
5 only stuff).
I don't change them now, but I add this comment so it will be immediate to understand why
they fails if we'll upgrade our requirements sooner or later.

Modified:
    james/server/trunk/phoenix-deployment/src/test/org/apache/james/transport/matchers/HasMailAttributeWithValueRegexTest.java
    james/server/trunk/phoenix-deployment/src/test/org/apache/james/transport/matchers/RecipientIsRegexTest.java

Modified: james/server/trunk/phoenix-deployment/src/test/org/apache/james/transport/matchers/HasMailAttributeWithValueRegexTest.java
URL: http://svn.apache.org/viewvc/james/server/trunk/phoenix-deployment/src/test/org/apache/james/transport/matchers/HasMailAttributeWithValueRegexTest.java?rev=670031&r1=670030&r2=670031&view=diff
==============================================================================
--- james/server/trunk/phoenix-deployment/src/test/org/apache/james/transport/matchers/HasMailAttributeWithValueRegexTest.java
(original)
+++ james/server/trunk/phoenix-deployment/src/test/org/apache/james/transport/matchers/HasMailAttributeWithValueRegexTest.java
Fri Jun 20 11:51:40 2008
@@ -74,6 +74,8 @@
 
         String invalidRegex = "(!(";
         String regexException = null;
+        // NOTE the expected exception changes when the project is built/run
+        // against non java 1.4 jvm. 
         String exception = "Malformed pattern: " + invalidRegex;
 
         setRegex(invalidRegex);

Modified: james/server/trunk/phoenix-deployment/src/test/org/apache/james/transport/matchers/RecipientIsRegexTest.java
URL: http://svn.apache.org/viewvc/james/server/trunk/phoenix-deployment/src/test/org/apache/james/transport/matchers/RecipientIsRegexTest.java?rev=670031&r1=670030&r2=670031&view=diff
==============================================================================
--- james/server/trunk/phoenix-deployment/src/test/org/apache/james/transport/matchers/RecipientIsRegexTest.java
(original)
+++ james/server/trunk/phoenix-deployment/src/test/org/apache/james/transport/matchers/RecipientIsRegexTest.java
Fri Jun 20 11:51:40 2008
@@ -90,6 +90,8 @@
         Collection matchedRecipients = null;
         String invalidRegex = "(!(";
         String regexException = null;
+        // NOTE the expected exception changes when the project is built/run
+        // against non java 1.4 jvm. 
         String exception = "Malformed pattern: " + invalidRegex;
 
         setRecipients(new MailAddress[] {



---------------------------------------------------------------------
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