You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ay...@apache.org on 2015/11/19 15:17:06 UTC

camel git commit: adjust camel-twitter's test for 2.17/2.16.1+ component info

Repository: camel
Updated Branches:
  refs/heads/camel-2.16.x 9d7e25052 -> f81f7d8d4


adjust camel-twitter's test for 2.17/2.16.1+ component info


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

Branch: refs/heads/camel-2.16.x
Commit: f81f7d8d4505d600af4e3af4966fcada8670d0ce
Parents: 9d7e250
Author: Akitoshi Yoshida <ay...@apache.org>
Authored: Fri Nov 13 14:35:05 2015 +0100
Committer: Akitoshi Yoshida <ay...@apache.org>
Committed: Thu Nov 19 15:16:09 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/f81f7d8d/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