camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r774192 - in /camel/trunk/components/camel-stringtemplate/src/test: java/org/apache/camel/component/stringtemplate/StringTemplateLetterTest.java resources/org/apache/camel/component/stringtemplate/letter.tm
Date Wed, 13 May 2009 04:34:33 GMT
Author: ningjiang
Date: Wed May 13 04:34:29 2009
New Revision: 774192

URL: http://svn.apache.org/viewvc?rev=774192&view=rev
Log:
Fixed the test error of camel-stringtemplate on Windows

Modified:
    camel/trunk/components/camel-stringtemplate/src/test/java/org/apache/camel/component/stringtemplate/StringTemplateLetterTest.java
    camel/trunk/components/camel-stringtemplate/src/test/resources/org/apache/camel/component/stringtemplate/letter.tm

Modified: camel/trunk/components/camel-stringtemplate/src/test/java/org/apache/camel/component/stringtemplate/StringTemplateLetterTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-stringtemplate/src/test/java/org/apache/camel/component/stringtemplate/StringTemplateLetterTest.java?rev=774192&r1=774191&r2=774192&view=diff
==============================================================================
--- camel/trunk/components/camel-stringtemplate/src/test/java/org/apache/camel/component/stringtemplate/StringTemplateLetterTest.java
(original)
+++ camel/trunk/components/camel-stringtemplate/src/test/java/org/apache/camel/component/stringtemplate/StringTemplateLetterTest.java
Wed May 13 04:34:29 2009
@@ -41,7 +41,7 @@
     public void testVelocityLetter() throws Exception {
         MockEndpoint mock = getMockEndpoint("mock:result");
         mock.expectedMessageCount(1);
-        mock.expectedBodiesReceived("Dear Ibsen, Claus\n\nThanks for the order of Camel in
Action.\n\nRegards Camel Riders Bookstore\nPS: Next beer is on me, James");
+        mock.expectedBodiesReceived("Dear Ibsen, Claus! Thanks for the order of Camel in
Action. Regards Camel Riders Bookstore PS: Next beer is on me, James");
 
         template.send("direct:a", createLetter());
 

Modified: camel/trunk/components/camel-stringtemplate/src/test/resources/org/apache/camel/component/stringtemplate/letter.tm
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-stringtemplate/src/test/resources/org/apache/camel/component/stringtemplate/letter.tm?rev=774192&r1=774191&r2=774192&view=diff
==============================================================================
--- camel/trunk/components/camel-stringtemplate/src/test/resources/org/apache/camel/component/stringtemplate/letter.tm
(original)
+++ camel/trunk/components/camel-stringtemplate/src/test/resources/org/apache/camel/component/stringtemplate/letter.tm
Wed May 13 04:34:29 2009
@@ -14,9 +14,4 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ------------------------------------------------------------------------ !$
-Dear $headers.lastName$, $headers.firstName$
-
-Thanks for the order of $headers.item$.
-
-Regards Camel Riders Bookstore
-$body$
\ No newline at end of file
+Dear $headers.lastName$, $headers.firstName$! Thanks for the order of $headers.item$. Regards
Camel Riders Bookstore $body$
\ No newline at end of file



Mime
View raw message