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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]