This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new aa59e79  CAMEL-17450: camel-yaml-dsl - Source location for 
KameletBinding
aa59e79 is described below

commit aa59e79629a4ee8b4e20c554d42993b98383ee25
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Jan 7 12:54:31 2022 +0100

    CAMEL-17450: camel-yaml-dsl - Source location for KameletBinding
---
 .../org/apache/camel/dsl/yaml/KameletIntegrationLoaderTest.groovy       | 2 ++
 .../src/test/groovy/org/apache/camel/dsl/yaml/KameletLoaderTest.groovy  | 2 ++
 2 files changed, 4 insertions(+)

diff --git 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/KameletIntegrationLoaderTest.groovy
 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/KameletIntegrationLoaderTest.groovy
index 289b9f4..ea7cee7 100644
--- 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/KameletIntegrationLoaderTest.groovy
+++ 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/KameletIntegrationLoaderTest.groovy
@@ -51,9 +51,11 @@ class KameletIntegrationLoaderTest extends YamlTestSupport {
 
             with (context.routeDefinitions[0]) {
                 input.endpointUri == 'kamelet:timer-source?message=Hello Camel 
K&period=1234'
+                input.lineNumber == 8;
                 outputs.size() == 1
                 with (outputs[0], KameletDefinition) {
                     name == 'log-sink?showStreams=false&showHeaders=false'
+                    lineNumber == 11;
                 }
             }
     }
diff --git 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/KameletLoaderTest.groovy
 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/KameletLoaderTest.groovy
index ff9903a..27dda53 100644
--- 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/KameletLoaderTest.groovy
+++ 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/KameletLoaderTest.groovy
@@ -93,9 +93,11 @@ class KameletLoaderTest extends YamlTestSupport {
 
                 with(route) {
                     input.endpointUri == 'kamelet:source'
+                    input.lineNumber == 35
                     outputs.size() == 1
                     with (outputs[0], ToDefinition) {
                         endpointUri ==~ /aws2-s3:.*/
+                        lineNumber == 38
                     }
                 }
             }

Reply via email to