Author: bago
Date: Wed Feb 22 11:41:23 2012
New Revision: 1292244
URL: http://svn.apache.org/viewvc?rev=1292244&view=rev
Log:
Fix EOL chars in test file. I believe \r\f is not a valid EOL and is strange
that javamail did support this.
Modified:
james/jsieve/trunk/core/src/test/java/org/apache/jsieve/MultipleToTest.java
Modified:
james/jsieve/trunk/core/src/test/java/org/apache/jsieve/MultipleToTest.java
URL:
http://svn.apache.org/viewvc/james/jsieve/trunk/core/src/test/java/org/apache/jsieve/MultipleToTest.java?rev=1292244&r1=1292243&r2=1292244&view=diff
==============================================================================
--- james/jsieve/trunk/core/src/test/java/org/apache/jsieve/MultipleToTest.java
(original)
+++ james/jsieve/trunk/core/src/test/java/org/apache/jsieve/MultipleToTest.java
Wed Feb 22 11:41:23 2012
@@ -29,26 +29,26 @@ import org.apache.jsieve.util.check.Scri
public class MultipleToTest extends TestCase {
- private static final String SOLO_TO_EMAIL = "Date: Sun, 1 Apr 2007
1100:00:00 +0100 (BST)\r\f"
- + "From: [email protected]\r\f"
- + "To: [email protected]\r\f"
- + "Subject: Who's The Fool?\r\f" + "\r\f" + "Beep-Beep\r\f";
+ private static final String SOLO_TO_EMAIL = "Date: Sun, 1 Apr 2007
1100:00:00 +0100 (BST)\r\n"
+ + "From: [email protected]\r\n"
+ + "To: [email protected]\r\n"
+ + "Subject: Who's The Fool?\r\n" + "\r\n" + "Beep-Beep\r\n";
- private static final String MULTIPLE_TO_EMAIL = "Date: Sun, 1 Apr 2007
1100:00:00 +0100 (BST)\r\f"
- + "From: [email protected]\r\f"
+ private static final String MULTIPLE_TO_EMAIL = "Date: Sun, 1 Apr 2007
1100:00:00 +0100 (BST)\r\n"
+ + "From: [email protected]\r\n"
+ "To: [email protected], [email protected], "
- + " [email protected],\r\f"
- + "Subject: Who's The Fool?\r\f" + "\r\f" + "Beep-Beep\r\f";
+ + " [email protected],\r\n"
+ + "Subject: Who's The Fool?\r\n" + "\r\n" + "Beep-Beep\r\n";
- private static final String FILTER_SCRIPT = "require \"fileinto\";\r\f"
- + "if address :is :all \"to\" \"[email protected]\" {\r\f"
- + " fileinto \"coyote\";\r\f}\r\f"
- + "if address :is :all \"to\" \"[email protected]\" {\r\f"
- + " fileinto \"bugs\";\r\f}\r\f"
- + "if address :is :all \"to\" \"[email protected]\"
{\r\f"
- + " fileinto \"rr\";\r\f}\r\f"
- + "if address :is :all \"to\" \"[email protected]\" {\r\f"
- + " fileinto \"elmer\";\r\f}\r\f";
+ private static final String FILTER_SCRIPT = "require \"fileinto\";\r\n"
+ + "if address :is :all \"to\" \"[email protected]\" {\r\n"
+ + " fileinto \"coyote\";\r\n}\r\n"
+ + "if address :is :all \"to\" \"[email protected]\" {\r\n"
+ + " fileinto \"bugs\";\r\n}\r\n"
+ + "if address :is :all \"to\" \"[email protected]\"
{\r\n"
+ + " fileinto \"rr\";\r\n}\r\n"
+ + "if address :is :all \"to\" \"[email protected]\" {\r\n"
+ + " fileinto \"elmer\";\r\n}\r\n";
public void testSingleTo() throws Exception {
ScriptChecker checker = new ScriptChecker();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]