camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: CAMEL-7999: Fixed tests.
Date Mon, 02 Mar 2015 12:21:43 GMT
Repository: camel
Updated Branches:
  refs/heads/master 5bd1f5af7 -> f29a2a05d


CAMEL-7999: Fixed tests.


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

Branch: refs/heads/master
Commit: f29a2a05d4ae8480314529243da4d3ac846aa7f7
Parents: 5bd1f5a
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Mar 2 13:22:54 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Mar 2 13:22:54 2015 +0100

----------------------------------------------------------------------
 ...ponentConfigurationAndDocumentationTest.java | 13 +-----------
 ...ponentConfigurationAndDocumentationTest.java | 12 -----------
 ...ponentConfigurationAndDocumentationTest.java | 11 ----------
 ...ponentConfigurationAndDocumentationTest.java | 14 -------------
 ...ponentConfigurationAndDocumentationTest.java | 14 -------------
 ...ponentConfigurationAndDocumentationTest.java | 12 -----------
 ...ponentConfigurationAndDocumentationTest.java | 12 -----------
 ...ponentConfigurationAndDocumentationTest.java | 12 -----------
 ...ponentConfigurationAndDocumentationTest.java | 13 ------------
 ...ponentConfigurationAndDocumentationTest.java | 13 ------------
 ...ponentConfigurationAndDocumentationTest.java | 12 -----------
 ...ponentConfigurationAndDocumentationTest.java | 12 -----------
 ...ponentConfigurationAndDocumentationTest.java | 12 -----------
 ...ponentConfigurationAndDocumentationTest.java | 12 -----------
 ...ponentConfigurationAndDocumentationTest.java | 12 -----------
 ...ponentConfigurationAndDocumentationTest.java | 13 ------------
 ...ponentConfigurationAndDocumentationTest.java | 13 ------------
 ...ponentConfigurationAndDocumentationTest.java | 13 ------------
 ...ponentConfigurationAndDocumentationTest.java | 13 ------------
 ...ponentConfigurationAndDocumentationTest.java | 12 -----------
 ...ponentConfigurationAndDocumentationTest.java | 13 ------------
 ...ponentConfigurationAndDocumentationTest.java | 21 --------------------
 ...ponentConfigurationAndDocumentationTest.java | 12 -----------
 ...ponentConfigurationAndDocumentationTest.java | 12 -----------
 ...ponentConfigurationAndDocumentationTest.java | 12 -----------
 ...ponentConfigurationAndDocumentationTest.java | 13 ------------
 ...ponentConfigurationAndDocumentationTest.java | 13 ------------
 ...ponentConfigurationAndDocumentationTest.java | 12 -----------
 ...ponentConfigurationAndDocumentationTest.java | 17 ++--------------
 ...ponentConfigurationAndDocumentationTest.java | 13 ------------
 ...ponentConfigurationAndDocumentationTest.java | 12 -----------
 ...ponentConfigurationAndDocumentationTest.java | 13 ------------
 ...ponentConfigurationAndDocumentationTest.java | 12 -----------
 33 files changed, 3 insertions(+), 422 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/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 7e0b2f9..1835774 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
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.atmosphere.websocket;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -40,16 +38,7 @@ public class WebsocketComponentConfigurationAndDocumentationTest extends CamelTe
 
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
-
-        assertTrue(json.contains("\"useStreaming\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-        assertTrue(json.contains("\"sendToAll\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("atmosphere-websocket");
-        assertNotNull("Should have found some auto-generated HTML", html);
+        assertNotNull(json);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfComponentConfigurationAndDocumentationTest.java b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfComponentConfigurationAndDocumentationTest.java
index 86bb0e5..0d23a60 100644
--- a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.cxf;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -41,16 +39,6 @@ public class CxfComponentConfigurationAndDocumentationTest extends CamelTestSupp
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"serviceNameString\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"isWrapped\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("cxf");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsComponentConfigurationAndDocumentationTest.java b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsComponentConfigurationAndDocumentationTest.java
index e370511..57edb00 100644
--- a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.cxf.jaxrs;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -41,15 +39,6 @@ public class CxfRsComponentConfigurationAndDocumentationTest extends CamelTestSu
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"address\": { \"kind\": \"path\", \"type\": \"string\""));
-        assertTrue(json.contains("\"maxClientCacheSize\": { \"kind\": \"parameter\", \"type\": \"integer\""));
     }
 
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("cxfrs");
-        assertNotNull("Should have found some auto-generated HTML", html);
-    }
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchComponentConfigurationAndDocumentationTest.java b/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchComponentConfigurationAndDocumentationTest.java
index e844c22..169a9fa 100644
--- a/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.elasticsearch;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -41,18 +39,6 @@ public class ElasticsearchComponentConfigurationAndDocumentationTest extends Cam
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"indexName\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"local\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("elasticsearch");
-        assertNotNull("Should have found some auto-generated HTML", html);
-        assertTrue("Expected entry for clusterName", html.contains("<td>clusterName</td>"));
-        assertTrue("Expected entry for protocolType", html.contains("<td>protocolType</td>"));
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpComponentConfigurationAndDocumentationTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpComponentConfigurationAndDocumentationTest.java
index de8945c..916541c 100644
--- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.file.remote;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -41,18 +39,6 @@ public class FtpComponentConfigurationAndDocumentationTest extends CamelTestSupp
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"host\": { \"kind\": \"path\", \"required\": \"true\", \"type\": \"string\""));
-        assertTrue(json.contains("\"port\": { \"kind\": \"path\", \"type\": \"integer\""));
-        assertTrue(json.contains("\"maximumReconnectAttempts\": { \"kind\": \"parameter\", \"type\": \"integer\""));
-        assertTrue(json.contains("\"dataTimeout\": { \"kind\": \"parameter\", \"type\": \"integer\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("ftp");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/SftpComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/SftpComponentConfigurationAndDocumentationTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/SftpComponentConfigurationAndDocumentationTest.java
index a3a0ec1..de175af 100644
--- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/SftpComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/SftpComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.file.remote;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -41,16 +39,6 @@ public class SftpComponentConfigurationAndDocumentationTest extends CamelTestSup
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"maximumReconnectAttempts\": { \"kind\": \"parameter\", \"type\": \"integer\""));
-        assertTrue(json.contains("\"download\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("sftp");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-gae/src/test/java/org/apache/camel/component/gae/auth/GAuthComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-gae/src/test/java/org/apache/camel/component/gae/auth/GAuthComponentConfigurationAndDocumentationTest.java b/components/camel-gae/src/test/java/org/apache/camel/component/gae/auth/GAuthComponentConfigurationAndDocumentationTest.java
index 6d2003c..f223729 100644
--- a/components/camel-gae/src/test/java/org/apache/camel/component/gae/auth/GAuthComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-gae/src/test/java/org/apache/camel/component/gae/auth/GAuthComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.gae.auth;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -41,16 +39,6 @@ public class GAuthComponentConfigurationAndDocumentationTest extends CamelTestSu
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"consumerKey\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"scope\": { \"kind\": \"parameter\", \"type\": \"string\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("gauth");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-gae/src/test/java/org/apache/camel/component/gae/http/GHttpComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-gae/src/test/java/org/apache/camel/component/gae/http/GHttpComponentConfigurationAndDocumentationTest.java b/components/camel-gae/src/test/java/org/apache/camel/component/gae/http/GHttpComponentConfigurationAndDocumentationTest.java
index 80e0b74..8a8020b 100644
--- a/components/camel-gae/src/test/java/org/apache/camel/component/gae/http/GHttpComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-gae/src/test/java/org/apache/camel/component/gae/http/GHttpComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.gae.http;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -42,16 +40,6 @@ public class GHttpComponentConfigurationAndDocumentationTest extends CamelTestSu
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"httpUri\": { \"kind\": \"path\", \"type\": \"string\""));
-        assertTrue(json.contains("\"bridgeEndpoint\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("ghttp");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-gae/src/test/java/org/apache/camel/component/gae/login/GLoginComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-gae/src/test/java/org/apache/camel/component/gae/login/GLoginComponentConfigurationAndDocumentationTest.java b/components/camel-gae/src/test/java/org/apache/camel/component/gae/login/GLoginComponentConfigurationAndDocumentationTest.java
index 2f1e33b..35f7c6c 100644
--- a/components/camel-gae/src/test/java/org/apache/camel/component/gae/login/GLoginComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-gae/src/test/java/org/apache/camel/component/gae/login/GLoginComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.gae.login;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -41,17 +39,6 @@ public class GLoginComponentConfigurationAndDocumentationTest extends CamelTestS
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"hostName\": { \"kind\": \"path\", \"type\": \"string\""));
-        assertTrue(json.contains("\"clientName\": { \"kind\": \"path\", \"type\": \"string\""));
-        assertTrue(json.contains("\"devMode\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("glogin");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-gae/src/test/java/org/apache/camel/component/gae/mail/GMailComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-gae/src/test/java/org/apache/camel/component/gae/mail/GMailComponentConfigurationAndDocumentationTest.java b/components/camel-gae/src/test/java/org/apache/camel/component/gae/mail/GMailComponentConfigurationAndDocumentationTest.java
index f238c38..8c1c109 100644
--- a/components/camel-gae/src/test/java/org/apache/camel/component/gae/mail/GMailComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-gae/src/test/java/org/apache/camel/component/gae/mail/GMailComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.gae.mail;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -41,17 +39,6 @@ public class GMailComponentConfigurationAndDocumentationTest extends CamelTestSu
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"sender\": { \"kind\": \"path\", \"type\": \"string\""));
-        assertTrue(json.contains("\"subject\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"bcc\": { \"kind\": \"parameter\", \"type\": \"string\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("gmail");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-gae/src/test/java/org/apache/camel/component/gae/task/GTaskComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-gae/src/test/java/org/apache/camel/component/gae/task/GTaskComponentConfigurationAndDocumentationTest.java b/components/camel-gae/src/test/java/org/apache/camel/component/gae/task/GTaskComponentConfigurationAndDocumentationTest.java
index fd32ffd..0c21fb8 100644
--- a/components/camel-gae/src/test/java/org/apache/camel/component/gae/task/GTaskComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-gae/src/test/java/org/apache/camel/component/gae/task/GTaskComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.gae.task;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -40,16 +38,6 @@ public class GTaskComponentConfigurationAndDocumentationTest extends CamelTestSu
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"workerRoot\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"disableStreamCache\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("gtask");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/HdfsComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/HdfsComponentConfigurationAndDocumentationTest.java b/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/HdfsComponentConfigurationAndDocumentationTest.java
index 30ab536..76d9601 100644
--- a/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/HdfsComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/HdfsComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.hdfs;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -43,16 +41,6 @@ public class HdfsComponentConfigurationAndDocumentationTest extends CamelTestSup
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"pattern\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"wantAppend\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("hdfs");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-hdfs2/src/test/java/org/apache/camel/component/hdfs2/HdfsComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-hdfs2/src/test/java/org/apache/camel/component/hdfs2/HdfsComponentConfigurationAndDocumentationTest.java b/components/camel-hdfs2/src/test/java/org/apache/camel/component/hdfs2/HdfsComponentConfigurationAndDocumentationTest.java
index 24c1baa..34b0f69 100644
--- a/components/camel-hdfs2/src/test/java/org/apache/camel/component/hdfs2/HdfsComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-hdfs2/src/test/java/org/apache/camel/component/hdfs2/HdfsComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.hdfs2;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -43,16 +41,6 @@ public class HdfsComponentConfigurationAndDocumentationTest extends CamelTestSup
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"initialDelay\": { \"kind\": \"parameter\", \"type\": \"integer\""));
-        assertTrue(json.contains("\"checkIdleInterval\": { \"kind\": \"parameter\", \"type\": \"integer\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("hdfs2");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-http/src/test/java/org/apache/camel/component/http/HttpComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-http/src/test/java/org/apache/camel/component/http/HttpComponentConfigurationAndDocumentationTest.java b/components/camel-http/src/test/java/org/apache/camel/component/http/HttpComponentConfigurationAndDocumentationTest.java
index eb02eec..bf985fa 100644
--- a/components/camel-http/src/test/java/org/apache/camel/component/http/HttpComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-http/src/test/java/org/apache/camel/component/http/HttpComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.http;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -41,16 +39,6 @@ public class HttpComponentConfigurationAndDocumentationTest extends CamelTestSup
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"httpMethodRestrict\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"matchOnUriPrefix\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("http");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpComponentConfigurationAndDocumentationTest.java b/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpComponentConfigurationAndDocumentationTest.java
index e8b8249..3832ac7 100644
--- a/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.http4;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -42,16 +40,6 @@ public class HttpComponentConfigurationAndDocumentationTest extends CamelTestSup
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"httpMethodRestrict\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"throwExceptionOnFailure\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("http4");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/InfinispanComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/InfinispanComponentConfigurationAndDocumentationTest.java b/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/InfinispanComponentConfigurationAndDocumentationTest.java
index 3528e05..b383158 100644
--- a/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/InfinispanComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/InfinispanComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.infinispan;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -42,17 +40,6 @@ public class InfinispanComponentConfigurationAndDocumentationTest extends CamelT
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"host\": { \"kind\": \"path\", \"type\": \"string\""));
-        assertTrue(json.contains("\"command\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"sync\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("infinispan");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-jcr/src/test/java/org/apache/camel/component/jcr/JcrComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jcr/src/test/java/org/apache/camel/component/jcr/JcrComponentConfigurationAndDocumentationTest.java b/components/camel-jcr/src/test/java/org/apache/camel/component/jcr/JcrComponentConfigurationAndDocumentationTest.java
index 56c7e57..1aaaf06 100755
--- a/components/camel-jcr/src/test/java/org/apache/camel/component/jcr/JcrComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-jcr/src/test/java/org/apache/camel/component/jcr/JcrComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.jcr;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -44,16 +42,5 @@ public class JcrComponentConfigurationAndDocumentationTest extends CamelTestSupp
         String json = componentConfiguration.createParameterJsonSchema();
 
         assertNotNull(json);
-        assertTrue(json.contains("\"deep\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-        assertTrue(json.contains("\"eventTypes\": { \"kind\": \"parameter\", \"type\": \"integer\""));
-        assertTrue(json.contains("\"noLocal\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
     }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("jcr");
-        assertNotNull("Should have found some auto-generated HTML", html);
-    }
-
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/JdbcComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/JdbcComponentConfigurationAndDocumentationTest.java b/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/JdbcComponentConfigurationAndDocumentationTest.java
index ab7effb..b66c1d6 100644
--- a/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/JdbcComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/JdbcComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.jdbc;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -41,17 +39,6 @@ public class JdbcComponentConfigurationAndDocumentationTest extends CamelTestSup
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"outputClass\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"allowNamedParameters\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-        assertTrue(json.contains("\"beanRowMapper\": { \"kind\": \"parameter\", \"type\": \"object\", \"javaType\": \"org.apache.camel.component.jdbc.BeanRowMapper\", \"deprecated\": \"false\" },"));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("jdbc");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-jgroups/src/test/java/org/apache/camel/component/jgroups/JGroupsComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jgroups/src/test/java/org/apache/camel/component/jgroups/JGroupsComponentConfigurationAndDocumentationTest.java b/components/camel-jgroups/src/test/java/org/apache/camel/component/jgroups/JGroupsComponentConfigurationAndDocumentationTest.java
index ec7df89..5b3ec51 100644
--- a/components/camel-jgroups/src/test/java/org/apache/camel/component/jgroups/JGroupsComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-jgroups/src/test/java/org/apache/camel/component/jgroups/JGroupsComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.jgroups;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -40,17 +38,6 @@ public class JGroupsComponentConfigurationAndDocumentationTest extends CamelTest
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"clusterName\": { \"kind\": \"path\", \"type\": \"string\""));
-        assertTrue(json.contains("\"channelProperties\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"resolvedEnableViewMessages\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("jgroups");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentConfigurationAndDocumentationTest.java b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentConfigurationAndDocumentationTest.java
index e046492..288c530 100644
--- a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.jms;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -40,16 +38,6 @@ public class JmsComponentConfigurationAndDocumentationTest extends CamelTestSupp
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"replyToDestination\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"transacted\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("jms");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaComponentConfigurationAndDocumentationTest.java b/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaComponentConfigurationAndDocumentationTest.java
index 1818307..e423453 100644
--- a/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.jpa;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -42,17 +40,6 @@ public class JpaComponentConfigurationAndDocumentationTest extends CamelTestSupp
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"entityType\": { \"kind\": \"path\", \"type\": \"string\""));
-        assertTrue(json.contains("\"persistenceUnit\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"usePassedInEntityManager\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("jpa");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailComponentConfigurationAndDocumentationTest.java b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailComponentConfigurationAndDocumentationTest.java
index 277bc28..7093c80 100644
--- a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.mail;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -41,24 +39,5 @@ public class MailComponentConfigurationAndDocumentationTest extends CamelTestSup
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"host\": { \"kind\": \"path\", \"type\": \"string\""));
-        assertTrue(json.contains("\"contentType\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"debugMode\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-
-        String html = context.getComponentDocumentation("smtp");
-        assertNotNull("Should have found some auto-generated HTML", html);
-
-        html = context.getComponentDocumentation("pop3");
-        assertNotNull("Should have found some auto-generated HTML", html);
-
-        html = context.getComponentDocumentation("imap");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
-
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisComponentConfigurationAndDocumentationTest.java b/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisComponentConfigurationAndDocumentationTest.java
index 359f926..a4a1b19 100644
--- a/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.mybatis;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -42,16 +40,6 @@ public class MyBatisComponentConfigurationAndDocumentationTest extends CamelTest
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"maxMessagesPerPoll\": { \"kind\": \"parameter\", \"type\": \"integer\""));
-        assertTrue(json.contains("\"statement\": { \"kind\": \"path\", \"type\": \"string\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation(COMPONENT_NAME);
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpComponentConfigurationAndDocumentationTest.java b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpComponentConfigurationAndDocumentationTest.java
index 712e179..8c01c89 100644
--- a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.netty.http;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -42,16 +40,6 @@ public class NettyHttpComponentConfigurationAndDocumentationTest extends CamelTe
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"httpMethodRestrict\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"traceEnabled\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("netty-http");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyHttpComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyHttpComponentConfigurationAndDocumentationTest.java b/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyHttpComponentConfigurationAndDocumentationTest.java
index 0551b86..60e7c31 100644
--- a/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyHttpComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyHttpComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.netty4.http;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -42,16 +40,6 @@ public class NettyHttpComponentConfigurationAndDocumentationTest extends CamelTe
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"httpMethodRestrict\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"traceEnabled\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("netty4-http");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/NettyComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/NettyComponentConfigurationAndDocumentationTest.java b/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/NettyComponentConfigurationAndDocumentationTest.java
index 035c25b..291e312 100644
--- a/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/NettyComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/NettyComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.netty4;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -42,17 +40,6 @@ public class NettyComponentConfigurationAndDocumentationTest extends CamelTestSu
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-        
-        assertTrue(json.contains("\"host\": { \"kind\": \"path\", \"required\": \"true\", \"type\": \"string\""));
-        assertTrue(json.contains("\"producerPoolMinEvictableIdle\": { \"kind\": \"parameter\", \"type\": \"integer\""));
-        assertTrue(json.contains("\"allowDefaultCodec\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("netty4");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-openshift/src/test/java/org/apache/camel/component/openshift/OpenShiftComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-openshift/src/test/java/org/apache/camel/component/openshift/OpenShiftComponentConfigurationAndDocumentationTest.java b/components/camel-openshift/src/test/java/org/apache/camel/component/openshift/OpenShiftComponentConfigurationAndDocumentationTest.java
index 069fce2..26447e7 100644
--- a/components/camel-openshift/src/test/java/org/apache/camel/component/openshift/OpenShiftComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-openshift/src/test/java/org/apache/camel/component/openshift/OpenShiftComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.openshift;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -41,17 +39,6 @@ public class OpenShiftComponentConfigurationAndDocumentationTest extends CamelTe
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"application\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"clientId\": { \"kind\": \"path\", \"type\": \"string\""));
-        assertTrue(json.contains("\"operation\": { \"kind\": \"parameter\", \"type\": \"string\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("openshift");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-optaplanner/src/test/java/org/apache/camel/component/optaplanner/OptaPlannerComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-optaplanner/src/test/java/org/apache/camel/component/optaplanner/OptaPlannerComponentConfigurationAndDocumentationTest.java b/components/camel-optaplanner/src/test/java/org/apache/camel/component/optaplanner/OptaPlannerComponentConfigurationAndDocumentationTest.java
index 0b38375..1e801d8 100644
--- a/components/camel-optaplanner/src/test/java/org/apache/camel/component/optaplanner/OptaPlannerComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-optaplanner/src/test/java/org/apache/camel/component/optaplanner/OptaPlannerComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.optaplanner;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -41,16 +39,6 @@ public class OptaPlannerComponentConfigurationAndDocumentationTest extends Camel
         ComponentConfiguration componentConfiguration = component.createComponentConfiguration();
         String json = componentConfiguration.createParameterJsonSchema();
         assertNotNull(json);
-        
-        assertTrue(json.contains("\"resourceUri\": { \"kind\": \"path\", \"type\": \"string\""));
-        assertTrue(json.contains("\"synchronous\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("optaplanner");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzComponentConfigurationAndDocumentationTest.java b/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzComponentConfigurationAndDocumentationTest.java
index 336578e..efc1413 100644
--- a/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.quartz;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -33,8 +31,8 @@ public class QuartzComponentConfigurationAndDocumentationTest extends CamelTestS
     @Test
     public void testComponentConfiguration() throws Exception {
         QuartzComponent comp = context.getComponent("quartz", QuartzComponent.class);
-        EndpointConfiguration conf = comp.createConfiguration("quartz://myGroup/myName?trigger.repeatCount=3" 
-            + "&stateful=true&deleteJob=false");
+        EndpointConfiguration conf = comp.createConfiguration("quartz://myGroup/myName?trigger.repeatCount=3"
+                + "&stateful=true&deleteJob=false");
 
         assertEquals("true", conf.getParameter("stateful"));
         assertEquals("false", conf.getParameter("deleteJob"));
@@ -42,17 +40,6 @@ public class QuartzComponentConfigurationAndDocumentationTest extends CamelTestS
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"groupName\": { \"kind\": \"path\", \"type\": \"string\""));
-        assertTrue(json.contains("\"stateful\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-        assertTrue(json.contains("\"deleteJob\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("quartz");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-quartz2/src/test/java/org/apache/camel/component/quartz2/Quartz2ComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz2/src/test/java/org/apache/camel/component/quartz2/Quartz2ComponentConfigurationAndDocumentationTest.java b/components/camel-quartz2/src/test/java/org/apache/camel/component/quartz2/Quartz2ComponentConfigurationAndDocumentationTest.java
index 442f53e..8d1a966 100644
--- a/components/camel-quartz2/src/test/java/org/apache/camel/component/quartz2/Quartz2ComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-quartz2/src/test/java/org/apache/camel/component/quartz2/Quartz2ComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.quartz2;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -40,17 +38,6 @@ public class Quartz2ComponentConfigurationAndDocumentationTest extends CamelTest
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"groupName\": { \"kind\": \"path\", \"type\": \"string\""));
-        assertTrue(json.contains("\"cron\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"fireNow\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("quartz2");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlComponentConfigurationAndDocumentationTest.java b/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlComponentConfigurationAndDocumentationTest.java
index 1ccb084..9340fb5 100644
--- a/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.sql;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -41,9 +39,6 @@ public class SqlComponentConfigurationAndDocumentationTest extends CamelTestSupp
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"onConsumeBatchComplete\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"parametersCount\": { \"kind\": \"parameter\", \"type\": \"integer\""));
     }
 
     @Test
@@ -56,11 +51,4 @@ public class SqlComponentConfigurationAndDocumentationTest extends CamelTestSupp
         assertTrue(json.contains("\"onConsume\": { \"kind\": \"parameter\", \"type\": \"string\", \"javaType\": \"java.lang.String\", \"deprecated\": \"false\", \"value\": \"foo\""));
     }
 
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("sql");
-        assertNotNull("Should have found some auto-generated HTML", html);
-    }
-
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-weather/src/test/java/org/apache/camel/component/weather/WeatherComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-weather/src/test/java/org/apache/camel/component/weather/WeatherComponentConfigurationAndDocumentationTest.java b/components/camel-weather/src/test/java/org/apache/camel/component/weather/WeatherComponentConfigurationAndDocumentationTest.java
index e9ec28c..1d1b401 100644
--- a/components/camel-weather/src/test/java/org/apache/camel/component/weather/WeatherComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-weather/src/test/java/org/apache/camel/component/weather/WeatherComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.weather;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -40,17 +38,6 @@ public class WeatherComponentConfigurationAndDocumentationTest extends CamelTest
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"location\": { \"kind\": \"parameter\", \"type\": \"string\", \"javaType\": \"java.lang.String\""));
-        assertTrue(json.contains("\"mode\": { \"kind\": \"parameter\", \"type\": \"string\", \"javaType\": \"org.apache.camel.component.weather.WeatherMode\""
-                + ", \"enum\": [ \"HTML\", \"JSON\", \"XML\" ]"));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("weather");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f29a2a05/components/camel-zookeeper/src/test/java/org/apache/camel/component/zookeeper/ZookeeperComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-zookeeper/src/test/java/org/apache/camel/component/zookeeper/ZookeeperComponentConfigurationAndDocumentationTest.java b/components/camel-zookeeper/src/test/java/org/apache/camel/component/zookeeper/ZookeeperComponentConfigurationAndDocumentationTest.java
index 0387b73..21f0c51 100644
--- a/components/camel-zookeeper/src/test/java/org/apache/camel/component/zookeeper/ZookeeperComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-zookeeper/src/test/java/org/apache/camel/component/zookeeper/ZookeeperComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.zookeeper;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ComponentConfiguration;
 import org.apache.camel.EndpointConfiguration;
-import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -41,16 +39,6 @@ public class ZookeeperComponentConfigurationAndDocumentationTest extends CamelTe
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"createMode\": { \"kind\": \"parameter\", \"type\": \"string\""));
-        assertTrue(json.contains("\"backoff\": { \"kind\": \"parameter\", \"type\": \"integer\""));
-    }
-
-    @Test
-    public void testComponentDocumentation() throws Exception {
-        CamelContext context = new DefaultCamelContext();
-        String html = context.getComponentDocumentation("zookeeper");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }


Mime
View raw message