svn commit: r642157 - /activemq/camel/trunk/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvRouteTest.java

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r642157 - /activemq/camel/trunk/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvRouteTest.java

davsclaus-2
Author: davsclaus
Date: Fri Mar 28 02:20:34 2008
New Revision: 642157

URL: http://svn.apache.org/viewvc?rev=642157&view=rev
Log:
CAMEL-359 patch applied with thanks to Gert (I love your daltons example)

Modified:
    activemq/camel/trunk/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvRouteTest.java

Modified: activemq/camel/trunk/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvRouteTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvRouteTest.java?rev=642157&r1=642156&r2=642157&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvRouteTest.java (original)
+++ activemq/camel/trunk/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvRouteTest.java Fri Mar 28 02:20:34 2008
@@ -39,11 +39,11 @@
         MockEndpoint resultEndpoint = resolveMandatoryEndpoint("mock:result", MockEndpoint.class);
         resultEndpoint.expectedMessageCount(1);
 
-        // START SNIPPET: marshal-result
+        // START SNIPPET: marshalInput
         Map body = new HashMap();
         body.put("foo", "abc");
         body.put("bar", 123);
-        // END SNIPPET: marshal-result
+        // END SNIPPET: marshalInput
         template.sendBody("direct:start", body);
 
         resultEndpoint.assertIsSatisfied();
@@ -63,14 +63,14 @@
         endpoint.expectedMessageCount(1);
         endpoint.assertIsSatisfied();
         Exchange exchange = endpoint.getExchanges().get(0);
-        // START SNIPPET : unmarshal-result
+        // START SNIPPET : unmarshalResult
         List<List<String>> data = (List<List<String>>) exchange.getIn().getBody();
         for (List<String> line : data) {
             LOG.debug(
               String.format("%s has an IQ of %s and is currently %s",
                             line.get(0), line.get(1), line.get(2)));
         }
-        // END SNIPPET : unmarshal-result    
+        // END SNIPPET : unmarshalResult
     }
 
     protected RouteBuilder createRouteBuilder() {