You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2015/03/02 08:17:12 UTC
[5/9] camel git commit: Fixed test
Fixed test
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/101554b1
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/101554b1
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/101554b1
Branch: refs/heads/master
Commit: 101554b1e28bc6e0b60f766a4fd9ad57f9a208ef
Parents: fe86d22
Author: Claus Ibsen <da...@apache.org>
Authored: Sun Mar 1 14:49:04 2015 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Mon Mar 2 08:18:03 2015 +0100
----------------------------------------------------------------------
...rvletComponentConfigurationAndDocumentationTest.java | 12 ------------
1 file changed, 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/101554b1/components/camel-servlet/src/test/java/org/apache/camel/component/servlet/ServletComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-servlet/src/test/java/org/apache/camel/component/servlet/ServletComponentConfigurationAndDocumentationTest.java b/components/camel-servlet/src/test/java/org/apache/camel/component/servlet/ServletComponentConfigurationAndDocumentationTest.java
index 22c25f2..4843c9f 100644
--- a/components/camel-servlet/src/test/java/org/apache/camel/component/servlet/ServletComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-servlet/src/test/java/org/apache/camel/component/servlet/ServletComponentConfigurationAndDocumentationTest.java
@@ -16,10 +16,8 @@
*/
package org.apache.camel.component.servlet;
-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 ServletComponentConfigurationAndDocumentationTest extends CamelTest
ComponentConfiguration compConf = comp.createComponentConfiguration();
String json = compConf.createParameterJsonSchema();
assertNotNull(json);
-
- assertTrue(json.contains("\"servletName\": { \"kind\": \"property\", \"type\": \"string\""));
- assertTrue(json.contains("\"matchOnUriPrefix\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
- }
-
- @Test
- public void testComponentDocumentation() throws Exception {
- CamelContext context = new DefaultCamelContext();
- String html = context.getComponentDocumentation("servlet");
- assertNotNull("Should have found some auto-generated HTML", html);
}
}