camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [11/11] camel git commit: CAMEL-10559: route parser for java and xml to parse source code. Donated from fabric8 project.
Date Mon, 05 Dec 2016 11:29:54 GMT
CAMEL-10559: route parser for java and xml to parse source code. Donated from fabric8 project.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/d3cb89dd
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/d3cb89dd
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/d3cb89dd

Branch: refs/heads/parser
Commit: d3cb89dd1da43891d46f62d8d5a9586cd0331742
Parents: 4b4d1df
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Dec 5 12:27:55 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Dec 5 12:27:55 2016 +0100

----------------------------------------------------------------------
 .../apache/camel/parser/java/RoasterEndpointInjectTest.java    | 6 +++---
 .../parser/java/RoasterSimpleRouteBuilderConfigureTest.java    | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/d3cb89dd/tooling/route-parser/src/test/java/org/apache/camel/parser/java/RoasterEndpointInjectTest.java
----------------------------------------------------------------------
diff --git a/tooling/route-parser/src/test/java/org/apache/camel/parser/java/RoasterEndpointInjectTest.java
b/tooling/route-parser/src/test/java/org/apache/camel/parser/java/RoasterEndpointInjectTest.java
index 121605a..a239789 100644
--- a/tooling/route-parser/src/test/java/org/apache/camel/parser/java/RoasterEndpointInjectTest.java
+++ b/tooling/route-parser/src/test/java/org/apache/camel/parser/java/RoasterEndpointInjectTest.java
@@ -46,13 +46,13 @@ public class RoasterEndpointInjectTest {
         LOG.info("{}", details);
 
         Assert.assertEquals("timer:foo?period=4999", details.get(0).getEndpointUri());
-        Assert.assertEquals("27", details.get(0).getLineNumber());
+        Assert.assertEquals("28", details.get(0).getLineNumber());
 
         Assert.assertEquals("log:a", details.get(1).getEndpointUri());
-        Assert.assertEquals("31", details.get(1).getLineNumber());
+        Assert.assertEquals("32", details.get(1).getLineNumber());
 
         Assert.assertEquals("netty4-http:http:someserver:80/hello", details.get(2).getEndpointUri());
-        Assert.assertEquals("35", details.get(2).getLineNumber());
+        Assert.assertEquals("36", details.get(2).getLineNumber());
 
         List<ParserResult> list = CamelJavaParserHelper.parseCamelConsumerUris(method,
true, true);
         for (ParserResult result : list) {

http://git-wip-us.apache.org/repos/asf/camel/blob/d3cb89dd/tooling/route-parser/src/test/java/org/apache/camel/parser/java/RoasterSimpleRouteBuilderConfigureTest.java
----------------------------------------------------------------------
diff --git a/tooling/route-parser/src/test/java/org/apache/camel/parser/java/RoasterSimpleRouteBuilderConfigureTest.java
b/tooling/route-parser/src/test/java/org/apache/camel/parser/java/RoasterSimpleRouteBuilderConfigureTest.java
index 313cef5..5ea3a0a 100644
--- a/tooling/route-parser/src/test/java/org/apache/camel/parser/java/RoasterSimpleRouteBuilderConfigureTest.java
+++ b/tooling/route-parser/src/test/java/org/apache/camel/parser/java/RoasterSimpleRouteBuilderConfigureTest.java
@@ -46,9 +46,9 @@ public class RoasterSimpleRouteBuilderConfigureTest {
             LOG.info("  Line: " + findLineNumber(simple.getPosition()));
         }
         Assert.assertEquals("${body} > 100", list.get(0).getElement());
-        Assert.assertEquals(26, findLineNumber(list.get(0).getPosition()));
+        Assert.assertEquals(27, findLineNumber(list.get(0).getPosition()));
         Assert.assertEquals("${body} > 200", list.get(1).getElement());
-        Assert.assertEquals(29, findLineNumber(list.get(1).getPosition()));
+        Assert.assertEquals(30, findLineNumber(list.get(1).getPosition()));
     }
 
     public static int findLineNumber(int pos) throws Exception {


Mime
View raw message