Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2002-09-11 20:45:34 +0000
committerMichael Valenta2002-09-11 20:45:34 +0000
commit70bd9e31e516d3109cfc0a7b0b34017ec965a2a8 (patch)
tree0b1f1843fa5dca902e0b049d140c927a64f92617 /tests/org.eclipse.team.tests.core
parent2a4aefb15d9296589d0aa2f72580cfa7c2e458ec (diff)
downloadeclipse.platform.team-70bd9e31e516d3109cfc0a7b0b34017ec965a2a8.tar.gz
eclipse.platform.team-70bd9e31e516d3109cfc0a7b0b34017ec965a2a8.tar.xz
eclipse.platform.team-70bd9e31e516d3109cfc0a7b0b34017ec965a2a8.zip
Changes to allow releng to run automated tests
Diffstat (limited to 'tests/org.eclipse.team.tests.core')
-rw-r--r--tests/org.eclipse.team.tests.core/build.properties2
-rw-r--r--tests/org.eclipse.team.tests.core/test.xml9
-rw-r--r--tests/org.eclipse.team.tests.core/webdav.properties1
3 files changed, 9 insertions, 3 deletions
diff --git a/tests/org.eclipse.team.tests.core/build.properties b/tests/org.eclipse.team.tests.core/build.properties
index ca2eedbd3..f297abfd1 100644
--- a/tests/org.eclipse.team.tests.core/build.properties
+++ b/tests/org.eclipse.team.tests.core/build.properties
@@ -1,2 +1,2 @@
source.teamtests.jar=src/
-bin.includes=about.html,plugin.xml,*.jar,test.xml \ No newline at end of file
+bin.includes=about.html,plugin.xml,*.jar,test.xml, ftp.properties, webdav.properties \ No newline at end of file
diff --git a/tests/org.eclipse.team.tests.core/test.xml b/tests/org.eclipse.team.tests.core/test.xml
index 700ead3a6..bc792fd2a 100644
--- a/tests/org.eclipse.team.tests.core/test.xml
+++ b/tests/org.eclipse.team.tests.core/test.xml
@@ -7,7 +7,8 @@
<!-- 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.1.0"/>
+ <property name="org.eclipse.team.tests.core" value="org.eclipse.team.tests.core"/>
+ <property name="team-home" value="${eclipse-home}/plugins/${org.eclipse.team.tests.core}"/>
<!-- This target holds all initialization code that needs to be done for -->
<!-- all tests that are to be run. Initialization for individual tests -->
@@ -36,12 +37,14 @@
<delete dir="${location}" quiet="true"/>
<!-- Session Test ** FTP ** -->
+ <property name="classname" value="org.eclipse.team.tests.core.TargetProviderTests"/>
<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>
+ <move file="${eclipse-home}/${classname}.xml" tofile="${eclipse-home}/${classname}-ftp.xml"/>
</target>
<!-- This target defines the WebDAV tests that need to be run. -->
@@ -50,12 +53,14 @@
<delete dir="${location}" quiet="true"/>
<!-- Session Test ** WebDAV ** -->
+ <property name="classname" value="org.eclipse.team.tests.core.TargetProviderTests"/>
<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="classname" value="${classname}"/>
<property name="vmargs" value="-Declipse.target.properties=${team-home}/webdav.properties"/>
</ant>
+ <move file="${eclipse-home}/${classname}.xml" tofile="${eclipse-home}/${classname}-webdav.xml"/>
</target>
<!-- This target holds code to cleanup the testing environment after the tests -->
diff --git a/tests/org.eclipse.team.tests.core/webdav.properties b/tests/org.eclipse.team.tests.core/webdav.properties
index b0987e09f..85f827828 100644
--- a/tests/org.eclipse.team.tests.core/webdav.properties
+++ b/tests/org.eclipse.team.tests.core/webdav.properties
@@ -3,4 +3,5 @@ test_dir=target
location=http://@host@/path
httpClient.username=@user@
httpClient.password=@password@
+httpClient.proxyURL=
httpClient.connectionTimeout=6000 \ No newline at end of file

Back to the top