Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2002-08-15 18:21:25 +0000
committerMichael Valenta2002-08-15 18:21:25 +0000
commit7de92a435a6af7bb464067f4d170380a1bbb1586 (patch)
tree32c32c4a5e8a27d33c7069763222b1694fa50709
parent1374869bdeeb0b2736be90717f0d6aaba7db57bc (diff)
downloadeclipse.platform.team-7de92a435a6af7bb464067f4d170380a1bbb1586.tar.gz
eclipse.platform.team-7de92a435a6af7bb464067f4d170380a1bbb1586.tar.xz
eclipse.platform.team-7de92a435a6af7bb464067f4d170380a1bbb1586.zip
Added ant targets for FTP and DAV
-rw-r--r--tests/org.eclipse.team.tests.core/test.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/org.eclipse.team.tests.core/test.xml b/tests/org.eclipse.team.tests.core/test.xml
index 571b67f29..e8fc26b06 100644
--- a/tests/org.eclipse.team.tests.core/test.xml
+++ b/tests/org.eclipse.team.tests.core/test.xml
@@ -7,6 +7,7 @@
<!-- sets the properties eclipse-home, and library-file -->
<property name="eclipse-home" value="${basedir}/../../"/>
<property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test/library.xml"/>
+ <property name="team-home" value="${eclipse-home}/plugins/org.eclipse.team.tests.core_2.0.0"/>
<!-- This target holds all initialization code that needs to be done for -->
<!-- all tests that are to be run. Initialization for individual tests -->
@@ -29,6 +30,34 @@
</target>
+ <!-- This target defines the FTP tests that need to be run. -->
+ <target name="ftpsuite">
+ <property name="location" value="${eclipse-home}/team_test_workspace"/>
+ <delete dir="${location}" quiet="true"/>
+
+ <!-- Session Test ** FTP ** -->
+ <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
+ <property name="data-dir" value="${location}"/>
+ <property name="plugin-name" value="org.eclipse.team.tests.core"/>
+ <property name="classname" value="org.eclipse.team.tests.core.TargetProviderTests"/>
+ <property name="vmargs" value="-Declipse.target.properties=${team-home}/ftp.properties"/>
+ </ant>
+ </target>
+
+ <!-- This target defines the WebDAV tests that need to be run. -->
+ <target name="webdavsuite">
+ <property name="location" value="${eclipse-home}/team_test_workspace"/>
+ <delete dir="${location}" quiet="true"/>
+
+ <!-- Session Test ** WebDAV ** -->
+ <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
+ <property name="data-dir" value="${location}"/>
+ <property name="plugin-name" value="org.eclipse.team.tests.core"/>
+ <property name="classname" value="org.eclipse.team.tests.core.TargetProviderTests"/>
+ <property name="vmargs" value="-Declipse.target.properties=${team-home}/webdav.properties"/>
+ </ant>
+ </target>
+
<!-- This target holds code to cleanup the testing environment after the tests -->
<!-- have been run. You can use this to delete temporary files that are created. -->
<target name="cleanup">

Back to the top