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 ba...@apache.org on 2012/02/22 12:41:23 UTC

svn commit: r1292244 - /james/jsieve/trunk/core/src/test/java/org/apache/jsieve/MultipleToTest.java

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: roadrunner@acme.example.com\r\f"
-            + "To: coyote@desert.example.org\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: roadrunner@acme.example.com\r\n"
+            + "To: coyote@desert.example.org\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: roadrunner@acme.example.com\r\f"
+    private static final String MULTIPLE_TO_EMAIL = "Date: Sun, 1 Apr 2007 1100:00:00 +0100 (BST)\r\n"
+            + "From: roadrunner@acme.example.com\r\n"
             + "To: coyote@desert.example.org, bugs@example.org, "
-            + "    elmer@hunters.example.org,\r\f"
-            + "Subject: Who's The Fool?\r\f" + "\r\f" + "Beep-Beep\r\f";
+            + "    elmer@hunters.example.org,\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\" \"coyote@desert.example.org\" {\r\f"
-            + "  fileinto \"coyote\";\r\f}\r\f"
-            + "if address :is :all \"to\" \"bugs@example.org\" {\r\f"
-            + "  fileinto \"bugs\";\r\f}\r\f"
-            + "if address :is :all \"to\" \"roadrunneracme.@example.org\" {\r\f"
-            + "  fileinto \"rr\";\r\f}\r\f"
-            + "if address :is :all \"to\" \"elmer@hunters.example.org\" {\r\f"
-            + "  fileinto \"elmer\";\r\f}\r\f";
+    private static final String FILTER_SCRIPT = "require \"fileinto\";\r\n"
+            + "if address :is :all \"to\" \"coyote@desert.example.org\" {\r\n"
+            + "  fileinto \"coyote\";\r\n}\r\n"
+            + "if address :is :all \"to\" \"bugs@example.org\" {\r\n"
+            + "  fileinto \"bugs\";\r\n}\r\n"
+            + "if address :is :all \"to\" \"roadrunneracme.@example.org\" {\r\n"
+            + "  fileinto \"rr\";\r\n}\r\n"
+            + "if address :is :all \"to\" \"elmer@hunters.example.org\" {\r\n"
+            + "  fileinto \"elmer\";\r\n}\r\n";
 
     public void testSingleTo() throws Exception {
         ScriptChecker checker = new ScriptChecker();



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