camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r961273 - /camel/trunk/camel-core/src/test/java/org/apache/camel/processor/CustomProcessorFactoryTest.java
Date Wed, 07 Jul 2010 07:40:36 GMT
Author: davsclaus
Date: Wed Jul  7 07:40:36 2010
New Revision: 961273

URL: http://svn.apache.org/viewvc?rev=961273&view=rev
Log:
Polished

Modified:
    camel/trunk/camel-core/src/test/java/org/apache/camel/processor/CustomProcessorFactoryTest.java

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/processor/CustomProcessorFactoryTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/CustomProcessorFactoryTest.java?rev=961273&r1=961272&r2=961273&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/processor/CustomProcessorFactoryTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/processor/CustomProcessorFactoryTest.java
Wed Jul  7 07:40:36 2010
@@ -41,8 +41,9 @@ public class CustomProcessorFactoryTest 
         context.setProcessorFactory(new MyFactory());
         return context;
     }
-    // START SNIPPET: e2
+    // START SNIPPET: e1
 
+    // START SNIPPET: e2
     public void testAlterDefinitionUsingProcessorFactory() throws Exception {
         getMockEndpoint("mock:foo").expectedBodiesReceived("body was altered");
 
@@ -65,7 +66,6 @@ public class CustomProcessorFactoryTest 
     protected RouteBuilder createRouteBuilder() throws Exception {
         return new RouteBuilder() {
             @Override
-            // START SNIPPET: e2
             public void configure() throws Exception {
                 from("direct:start")
                     .setBody().constant("body not altered").to("mock:foo");
@@ -76,9 +76,9 @@ public class CustomProcessorFactoryTest 
                     .end()
                     .to("mock:result");
             }
-            // END SNIPPET: e2
         };
     }
+    // END SNIPPET: e2
 
     // START SNIPPET: e3
     public static class MyFactory implements ProcessorFactory {



Mime
View raw message