camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel-k] 01/01: test(builder): more assertions on deps
Date Sun, 03 Mar 2019 12:00:52 GMT
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch test-runtime
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit cfebfe573340f81ef356c6058e5f8b48e56586eb
Author: Andrea Cosentino <ancosen@gmail.com>
AuthorDate: Sun Mar 3 12:59:23 2019 +0100

    test(builder): more assertions on deps
---
 pkg/builder/builder_steps_test.go | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/pkg/builder/builder_steps_test.go b/pkg/builder/builder_steps_test.go
index 8260fb9..19dcd65 100644
--- a/pkg/builder/builder_steps_test.go
+++ b/pkg/builder/builder_steps_test.go
@@ -71,6 +71,10 @@ func TestGenerateJvmProject(t *testing.T) {
 		GroupID:    "org.apache.camel",
 		ArtifactID: "camel-core",
 	})
+	assert.Contains(t, ctx.Project.Dependencies, maven.Dependency{
+		GroupID:    "org.apache.camel.k",
+		ArtifactID: "camel-k-adapter-camel-2",
+	})
 }
 
 func TestGenerateGroovyProject(t *testing.T) {
@@ -124,6 +128,10 @@ func TestGenerateGroovyProject(t *testing.T) {
 		ArtifactID: "camel-core",
 	})
 	assert.Contains(t, ctx.Project.Dependencies, maven.Dependency{
+		GroupID:    "org.apache.camel.k",
+		ArtifactID: "camel-k-adapter-camel-2",
+	})
+	assert.Contains(t, ctx.Project.Dependencies, maven.Dependency{
 		GroupID:    "org.apache.camel",
 		ArtifactID: "camel-groovy",
 	})


Mime
View raw message