camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject camel git commit: adjust camel-twitter's test for 2.17 component info
Date Fri, 13 Nov 2015 13:35:43 GMT
Repository: camel
Updated Branches:
  refs/heads/master 5aef07542 -> 741d0dadb


adjust camel-twitter's test for 2.17 component info


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

Branch: refs/heads/master
Commit: 741d0dadb235a31d9175beeb4630ce836f9e60c6
Parents: 5aef075
Author: Akitoshi Yoshida <ay@apache.org>
Authored: Fri Nov 13 14:35:05 2015 +0100
Committer: Akitoshi Yoshida <ay@apache.org>
Committed: Fri Nov 13 14:35:05 2015 +0100

----------------------------------------------------------------------
 .../apache/camel/component/twitter/UriConfigurationTest.java    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/741d0dad/components/camel-twitter/src/test/java/org/apache/camel/component/twitter/UriConfigurationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-twitter/src/test/java/org/apache/camel/component/twitter/UriConfigurationTest.java
b/components/camel-twitter/src/test/java/org/apache/camel/component/twitter/UriConfigurationTest.java
index d0d64f4..840796e 100644
--- a/components/camel-twitter/src/test/java/org/apache/camel/component/twitter/UriConfigurationTest.java
+++ b/components/camel-twitter/src/test/java/org/apache/camel/component/twitter/UriConfigurationTest.java
@@ -74,8 +74,9 @@ public class UriConfigurationTest extends Assert {
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"accessToken\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"consumerKey\": { \"kind\": \"parameter\", \"type\": \"string\""));
+        // REVIST this comparison test may be sensitive to some changes.
+        assertTrue(json.contains("\"accessToken\": { \"kind\": \"parameter\", \"group\":
\"common\", \"type\": \"string\""));
+        assertTrue(json.contains("\"consumerKey\": { \"kind\": \"parameter\", \"group\":
\"common\", \"type\": \"string\""));
     }
 
     @Test


Mime
View raw message