camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/4] camel git commit: Polished test
Date Tue, 04 Jul 2017 08:52:48 GMT
Polished test


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

Branch: refs/heads/master
Commit: 756e56c81fa8e1bcf426b201a788a5243087e518
Parents: 5c08aef
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Tue Jul 4 10:43:55 2017 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Jul 4 10:52:19 2017 +0200

----------------------------------------------------------------------
 .../camel/catalog/maven/MavenVersionManagerTest.java      | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/756e56c8/platforms/camel-catalog-maven/src/test/java/org/apache/camel/catalog/maven/MavenVersionManagerTest.java
----------------------------------------------------------------------
diff --git a/platforms/camel-catalog-maven/src/test/java/org/apache/camel/catalog/maven/MavenVersionManagerTest.java
b/platforms/camel-catalog-maven/src/test/java/org/apache/camel/catalog/maven/MavenVersionManagerTest.java
index e9cdcb0..bf5fe2f 100644
--- a/platforms/camel-catalog-maven/src/test/java/org/apache/camel/catalog/maven/MavenVersionManagerTest.java
+++ b/platforms/camel-catalog-maven/src/test/java/org/apache/camel/catalog/maven/MavenVersionManagerTest.java
@@ -156,13 +156,13 @@ public class MavenVersionManagerTest extends TestCase {
         System.out.println("2.18.1 has " + components + " components");
         assertFalse("Should not have ejb component", catalog.findComponentNames().contains("ejb"));
 
-        loaded = catalog.loadVersion("2.19.0-SNAPSHOT");
-        assertTrue("Unable to switch to Camel Catalog 2.19.0-SNAPSHOT", loaded);
-        loaded = catalog.loadRuntimeProviderVersion("org.apache.camel", "camel-catalog-provider-karaf",
"2.19.0-SNAPSHOT");
-        assertTrue("Unable to load Karaf Provider Camel Catalog 2.19.0-SNAPSHOT", loaded);
+        loaded = catalog.loadVersion("2.19.1");
+        assertTrue("Unable to switch to Camel Catalog 2.19.1", loaded);
+        loaded = catalog.loadRuntimeProviderVersion("org.apache.camel", "camel-catalog-provider-karaf",
"2.19.1");
+        assertTrue("Unable to load Karaf Provider Camel Catalog 2.19.1", loaded);
         int componentsNewer = catalog.findComponentNames().size();
         assertTrue("Both catalog versions shouldn't have the same count of components.",
components != componentsNewer);
-        System.out.println("2.19.0-SNAPSHOT has " + componentsNewer + " components");
+        System.out.println("2.19.1 has " + componentsNewer + " components");
         assertFalse("Should not have ejb component", catalog.findComponentNames().contains("ejb"));
 
         loaded = catalog.loadVersion("2.18.1");


Mime
View raw message