Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2008-02-21 02:45:56 +0000
committerslewis2008-02-21 02:45:56 +0000
commitc836e28ce275ed68fda5ea1f8f88bfb6453474dd (patch)
treee96a811efe6276fc81fc25d18f61e39ad42859aa /tests/bundles/org.eclipse.ecf.tests.provider.filetransfer.scp/src
parent16e79be1c27d2accd48ee639b28b3a6448a30942 (diff)
downloadorg.eclipse.ecf-c836e28ce275ed68fda5ea1f8f88bfb6453474dd.tar.gz
org.eclipse.ecf-c836e28ce275ed68fda5ea1f8f88bfb6453474dd.tar.xz
org.eclipse.ecf-c836e28ce275ed68fda5ea1f8f88bfb6453474dd.zip
Made test case consistent with outgoing test case (use of url, username, password parameters)
Diffstat (limited to 'tests/bundles/org.eclipse.ecf.tests.provider.filetransfer.scp/src')
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.provider.filetransfer.scp/src/org/eclipse/ecf/tests/provider/filetransfer/scp/SCPRetrieveTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests.provider.filetransfer.scp/src/org/eclipse/ecf/tests/provider/filetransfer/scp/SCPRetrieveTest.java b/tests/bundles/org.eclipse.ecf.tests.provider.filetransfer.scp/src/org/eclipse/ecf/tests/provider/filetransfer/scp/SCPRetrieveTest.java
index 2de86bf25..6f9639450 100755
--- a/tests/bundles/org.eclipse.ecf.tests.provider.filetransfer.scp/src/org/eclipse/ecf/tests/provider/filetransfer/scp/SCPRetrieveTest.java
+++ b/tests/bundles/org.eclipse.ecf.tests.provider.filetransfer.scp/src/org/eclipse/ecf/tests/provider/filetransfer/scp/SCPRetrieveTest.java
@@ -25,7 +25,7 @@ import org.eclipse.ecf.tests.ContainerAbstractTestCase;
public class SCPRetrieveTest extends ContainerAbstractTestCase {
- private static final String SCP_RETRIEVE = "scp://ecf1.osuosl.org/test.txt"; //$NON-NLS-1$
+ private static final String TESTTARGETURL = System.getProperty("url"); //$NON-NLS-1$
IRetrieveFileTransferContainerAdapter adapter = null;
@@ -80,7 +80,7 @@ public class SCPRetrieveTest extends ContainerAbstractTestCase {
};
adapter.setConnectContextForAuthentication(ConnectContextFactory.createUsernamePasswordConnectContext(System.getProperty("username"), System.getProperty("password"))); //$NON-NLS-1$ //$NON-NLS-2$
- adapter.sendRetrieveRequest(FileIDFactory.getDefault().createFileID(adapter.getRetrieveNamespace(), SCP_RETRIEVE), listener, null);
+ adapter.sendRetrieveRequest(FileIDFactory.getDefault().createFileID(adapter.getRetrieveNamespace(), TESTTARGETURL), listener, null);
// Wait for 5 seconds
sleep(5000, "Starting 5 second wait", "Ending 5 second wait"); //$NON-NLS-1$ //$NON-NLS-2$

Back to the top