Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2010-09-14 18:06:53 +0000
committerRyan D. Brooks2010-09-14 18:06:53 +0000
commitc02339f4f85c4288b6604be2c47d73694b13777b (patch)
treedcb82609ec62e56200b9b7752979debee5832e08 /plugins
parent10673accf4f116ce9071e40bd47680538867fd48 (diff)
downloadorg.eclipse.osee-c02339f4f85c4288b6604be2c47d73694b13777b.tar.gz
org.eclipse.osee-c02339f4f85c4288b6604be2c47d73694b13777b.tar.xz
org.eclipse.osee-c02339f4f85c4288b6604be2c47d73694b13777b.zip
refactor: Remove boiler plate test.xml for server test suite
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.framework.server.tests/build.properties3
-rw-r--r--plugins/org.eclipse.osee.framework.server.tests/test.xml67
2 files changed, 1 insertions, 69 deletions
diff --git a/plugins/org.eclipse.osee.framework.server.tests/build.properties b/plugins/org.eclipse.osee.framework.server.tests/build.properties
index d1444fea4ed..34d2e4d2dad 100644
--- a/plugins/org.eclipse.osee.framework.server.tests/build.properties
+++ b/plugins/org.eclipse.osee.framework.server.tests/build.properties
@@ -1,5 +1,4 @@
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
- .,\
- test.xml
+ .
diff --git a/plugins/org.eclipse.osee.framework.server.tests/test.xml b/plugins/org.eclipse.osee.framework.server.tests/test.xml
deleted file mode 100644
index 9b65b0994a8..00000000000
--- a/plugins/org.eclipse.osee.framework.server.tests/test.xml
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
- This is a boilerplate template for running UI and Core tests.
- You are welcome to create your own org.foo.tests/test.xml script if you want to do something different.
- Make sure that you add your custom test.xml list of files included in that plugin's build.properties file
- so it will be packaged into the *-junit-tests-*.zip file inside the *-Automated-Tests-*.zip file.
- -->
-
-<project name="testsuite" default="run" basedir=".">
-
- <!-- Plugin and Suite class to run -->
- <property name="classname" value="org.eclipse.osee.framework.server.tests.AllServerTestsSuite" />
- <property name="plugin-name" value="org.eclipse.osee.framework.server.tests" />
-
- <!-- The property ${eclipse-home} should be passed into this script -->
- <!-- Set a meaningful default value for when it is not. -->
- <property name="eclipse-home" value="${basedir}\..\.." />
-
- <!-- Default library-file from org.eclipse.test -->
- <property name="library-file" value="${eclipse-home}/dropins/eclipse/plugins/org.eclipse.test/library.xml" />
-
- <!-- This target holds all initialization code that needs to be done for -->
- <!-- all tests that are to be run. Initialization for individual tests -->
- <!-- should be done within the body of the suite target. -->
- <target name="init">
- <tstamp />
- <delete>
- <fileset dir="${eclipse-home}" includes="org.eclipse.osee.framework.server.tests*.xml, org.eclipse.osee.framework.server.tests.AllServerTestsSuite*.xml" />
- </delete>
- </target>
-
- <!-- This target defines the tests that need to be run. -->
- <target name="suite">
- <property name="testWorkspace" value="${eclipse-home}/testWorkspace" />
- <delete dir="${testWorkspace}" quiet="true" />
- <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${testWorkspace}" />
- <property name="plugin-name" value="${plugin-name}" />
- <property name="vmargs" value="${Dflags}" />
- <property name="classname" value="${classname}" />
- </ant>
- </target>
-
- <!-- This target holds code to cleanup the testing environment after -->
- <!-- after all of the tests have been run. You can use this target to -->
- <!-- delete temporary files that have been created. -->
- <target name="cleanup">
- <mkdir dir="${results}/consolelogs" />
- <copy failonerror="false"
- file="${eclipse-home}/results/${classname}.txt"
- tofile="${results}/consolelogs/${classname}_${platform}.metadata.log.txt"
- />
- </target>
-
- <!-- This target runs the test suite. Any actions that need to happen -->
- <!-- after all the tests have been run should go here. -->
- <target name="run" depends="init,suite,cleanup">
- <!-- <echo>Collect ${eclipse-home}/**/org.eclipse.osee.framework.server.tests.AllServerTestsSuite.xml
-into ${eclipse-home}/${plugin-name}.xml</echo> -->
- <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
- <property name="includes" value="org.eclipse.osee.framework.server.tests.AllServerTestsSuite.xml" />
- <property name="output-file" value="${plugin-name}.xml" />
- </ant>
- </target>
-
-</project> \ No newline at end of file

Back to the top