Repository: camel Updated Branches: refs/heads/master cdee7809b -> 995416809
Changed the json schema slightly to alwyas include the javaType as well. Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/5995390e Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/5995390e Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/5995390e Branch: refs/heads/master Commit: 5995390e9a93bd249e901bc079bce26e946c2eb3 Parents: cdee780 Author: Claus Ibsen <davscl...@apache.org> Authored: Fri Nov 7 19:18:06 2014 +0100 Committer: Claus Ibsen <davscl...@apache.org> Committed: Fri Nov 7 19:18:06 2014 +0100 ---------------------------------------------------------------------- .../WebsocketComponentConfigurationAndDocumentationTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/5995390e/components/camel-atmosphere-websocket/src/test/java/org/apache/camel/component/atmosphere/websocket/WebsocketComponentConfigurationAndDocumentationTest.java ---------------------------------------------------------------------- diff --git a/components/camel-atmosphere-websocket/src/test/java/org/apache/camel/component/atmosphere/websocket/WebsocketComponentConfigurationAndDocumentationTest.java b/components/camel-atmosphere-websocket/src/test/java/org/apache/camel/component/atmosphere/websocket/WebsocketComponentConfigurationAndDocumentationTest.java index 68081d6..52613a8 100644 --- a/components/camel-atmosphere-websocket/src/test/java/org/apache/camel/component/atmosphere/websocket/WebsocketComponentConfigurationAndDocumentationTest.java +++ b/components/camel-atmosphere-websocket/src/test/java/org/apache/camel/component/atmosphere/websocket/WebsocketComponentConfigurationAndDocumentationTest.java @@ -41,8 +41,8 @@ public class WebsocketComponentConfigurationAndDocumentationTest extends CamelTe ComponentConfiguration compConf = comp.createComponentConfiguration(); String json = compConf.createParameterJsonSchema(); - assertTrue(json.contains("\"useStreaming\": { \"type\": \"boolean\" }")); - assertTrue(json.contains("\"sendToAll\": { \"type\": \"boolean\" }")); + assertTrue(json.contains("\"useStreaming\": { \"type\": \"boolean\"")); + assertTrue(json.contains("\"sendToAll\": { \"type\": \"boolean\"")); } @Test