[camel] branch master updated: Remove deprecated method

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[camel] branch master updated: Remove deprecated method

davsclaus-2
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new de113e2  Remove deprecated method
de113e2 is described below

commit de113e2b4050bd9b454bb4740ca0bbcf8a7c4c9a
Author: Claus Ibsen <[hidden email]>
AuthorDate: Sat Jan 12 12:56:34 2019 +0100

    Remove deprecated method
---
 .../java/org/apache/camel/catalog/CamelCatalogTest.java    | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/platforms/camel-catalog/src/test/java/org/apache/camel/catalog/CamelCatalogTest.java b/platforms/camel-catalog/src/test/java/org/apache/camel/catalog/CamelCatalogTest.java
index fca73c9..fc84b56 100644
--- a/platforms/camel-catalog/src/test/java/org/apache/camel/catalog/CamelCatalogTest.java
+++ b/platforms/camel-catalog/src/test/java/org/apache/camel/catalog/CamelCatalogTest.java
@@ -308,20 +308,6 @@ public class CamelCatalogTest {
     }
 
     @Test
-    public void testAsEndpointUriJson() throws Exception {
-        String json = loadText(CamelCatalogTest.class.getClassLoader().getResourceAsStream("sample.json"));
-        String uri = catalog.asEndpointUri("ftp", json, true);
-        assertEquals("ftp:someserver:21/foo?connectTimeout=5000", uri);
-    }
-
-    @Test
-    public void testAsEndpointUriJsonPrettyJson() throws Exception {
-        String json = loadText(CamelCatalogTest.class.getClassLoader().getResourceAsStream("sample-pretty.json"));
-        String uri = catalog.asEndpointUri("ftp", json, true);
-        assertEquals("ftp:someserver:21/foo?connectTimeout=5000", uri);
-    }
-
-    @Test
     public void testEndpointProperties() throws Exception {
         Map<String, String> map = catalog.endpointProperties("ftp:someserver:21/foo?connectTimeout=5000");
         assertNotNull(map);