Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMat Booth2017-03-22 16:58:45 -0400
committerMat Booth2017-03-22 16:58:45 -0400
commit1bdad3ebcbaecec517f41114d5cca96acf556166 (patch)
tree68be2397dd0fe7a97de6f17549b260933608c958 /tests
parentc1affdda393b37273e8fa7e9705bbb5efce73d5f (diff)
downloadorg.eclipse.ecf-1bdad3ebcbaecec517f41114d5cca96acf556166.tar.gz
org.eclipse.ecf-1bdad3ebcbaecec517f41114d5cca96acf556166.tar.xz
org.eclipse.ecf-1bdad3ebcbaecec517f41114d5cca96acf556166.zip
Remove o.e.ecf.tests.filetransfer.httpclient
Continuation of commit 5d32f6b, this change deletes the test bundle associated with the filetransfer provider that was deleted in that commit. These tests cannot be built and have a dep on the obsolete and unmaintained jakarta-commons-httpclient lib. Change-Id: Ic29f2383fbfd58bb55be8bbff3939a7abd046c48 Signed-off-by: Mat Booth <mat.booth@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.classpath7
-rw-r--r--tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.gitignore1
-rw-r--r--tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.project28
-rw-r--r--tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.settings/org.eclipse.pde.core.prefs3
-rw-r--r--tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/META-INF/MANIFEST.MF13
-rw-r--r--tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/build.properties4
-rw-r--r--tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/src/org/eclipse/ecf/tests/filetransfer/httpclient/HttpClientGetPortFromURLTest.java77
8 files changed, 0 insertions, 140 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.classpath b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.classpath
deleted file mode 100644
index 64c5e31b7..000000000
--- a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.gitignore b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.gitignore
deleted file mode 100644
index 5e56e040e..000000000
--- a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/bin
diff --git a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.project b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.project
deleted file mode 100644
index 2dc0ee885..000000000
--- a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.ecf.tests.filetransfer.httpclient</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.settings/org.eclipse.jdt.core.prefs b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index af0f20f97..000000000
--- a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.settings/org.eclipse.pde.core.prefs b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.settings/org.eclipse.pde.core.prefs
deleted file mode 100644
index f29e940a0..000000000
--- a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/.settings/org.eclipse.pde.core.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-eclipse.preferences.version=1
-pluginProject.extensions=false
-resolve.requirebundle=false
diff --git a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/META-INF/MANIFEST.MF b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/META-INF/MANIFEST.MF
deleted file mode 100644
index 8a6ab8d08..000000000
--- a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,13 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: ECF Httpclient Provider Tests
-Bundle-SymbolicName: org.eclipse.ecf.tests.filetransfer.httpclient
-Bundle-Version: 1.0.0.qualifier
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Require-Bundle: org.junit;bundle-version="4.10.0",
- org.eclipse.ecf.provider.filetransfer.httpclient;bundle-version="4.0.200",
- org.apache.commons.httpclient;bundle-version="3.1.0",
- org.eclipse.ecf.filetransfer;bundle-version="5.0.0",
- org.eclipse.ecf.provider.filetransfer;bundle-version="3.2.0",
- org.eclipse.ecf;bundle-version="3.1.300",
- org.eclipse.equinox.common;bundle-version="3.6.100"
diff --git a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/build.properties b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/build.properties
deleted file mode 100644
index 34d2e4d2d..000000000
--- a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/build.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .
diff --git a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/src/org/eclipse/ecf/tests/filetransfer/httpclient/HttpClientGetPortFromURLTest.java b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/src/org/eclipse/ecf/tests/filetransfer/httpclient/HttpClientGetPortFromURLTest.java
deleted file mode 100644
index 55c2f6a95..000000000
--- a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpclient/src/org/eclipse/ecf/tests/filetransfer/httpclient/HttpClientGetPortFromURLTest.java
+++ /dev/null
@@ -1,77 +0,0 @@
-package org.eclipse.ecf.tests.filetransfer.httpclient;
-
-import org.apache.commons.httpclient.HttpClient;
-import org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer;
-
-import junit.framework.TestCase;
-
-public class HttpClientGetPortFromURLTest extends TestCase {
-
- public static class HttpClientRetrieveTest extends HttpClientRetrieveFileTransfer {
-
- public HttpClientRetrieveTest(HttpClient client) {
- super(client);
- }
-
- public static int getPortFromURLTest(String url) {
- return getPortFromURL(url);
- }
- }
-
- public void testHttp() {
- int port;
- String url = "http://www.test.com";
- port = HttpClientRetrieveTest.getPortFromURLTest(url);
- assertEquals(80, port);
- }
-
- public void testHttpWithPort() {
- int port;
- String url = "http://www.test.com:80/";
- port = HttpClientRetrieveTest.getPortFromURLTest(url);
- assertEquals(80, port);
- }
-
- public void testHttps() {
- int port;
- String url = "https://www.test.com/";
- port = HttpClientRetrieveTest.getPortFromURLTest(url);
- assertEquals(443, port);
- }
-
- public void testHttpsPortNOK() {
- int port;
- String url = "https://www.test.com:440/";
- port = HttpClientRetrieveTest.getPortFromURLTest(url);
- assertFalse(443 == port);
- }
-
- public void testHttpWithSearchpart() {
- int port;
- String url = "https://www.test.com/test?value=yes";
- port = HttpClientRetrieveTest.getPortFromURLTest(url);
- assertEquals(443, port);
- }
-
- public void testHttpWithCredentialsAndSearchpart() {
- int port;
- String url = "https://testuser:testpasswd@www.test.com/test?value=yes";
- port = HttpClientRetrieveTest.getPortFromURLTest(url);
- assertEquals(443, port);
- }
-
- public void testHttpWithCredentialsPortSearchpart() {
- int port;
- String url = "http://testuser:testpasswd@www.test.com:8080/test?value=yes";
- port = HttpClientRetrieveTest.getPortFromURLTest(url);
- assertEquals(8080, port);
- }
-
- public void testHttpWithCredentialsPortLongPath() {
- int port;
- String url = "https://testuser:testpasswd@host.domain.eu:443/pu/fisgui/svn/repository/fisgui/source-internal/trunk/target-platform/fisgui-5.8.1/content.xml";
- port = HttpClientRetrieveTest.getPortFromURLTest(url);
- assertEquals(443, port);
- }
-
-}

Back to the top