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 test
Date Mon, 02 Mar 2015 13:38:25 GMT
Repository: camel
Updated Branches:
  refs/heads/master 1c1f5504b -> 552fe3d1b


CAMEL-7999: Fixed test


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

Branch: refs/heads/master
Commit: 552fe3d1bd6d954509c15520659157126c350a48
Parents: 1c1f550
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Mar 2 14:38:19 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Mar 2 14:38:19 2015 +0100

----------------------------------------------------------------------
 ...ettyComponentConfigurationAndDocumentationTest.java | 13 -------------
 1 file changed, 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/552fe3d1/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyComponentConfigurationAndDocumentationTest.java
b/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyComponentConfigurationAndDocumentationTest.java
index d55360a..4e7e5a9 100644
--- a/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.netty;
 
-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\", \"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("netty");
-        assertNotNull("Should have found some auto-generated HTML", html);
     }
 
 }


Mime
View raw message