org.eclipse.core.tests.resources/test.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (download) (as text) (annotate)
Wed Jan 11 18:27:52 2006 UTC (3 years, 10 months ago) by johna
Branch: MAIN
CVS Tags: e4merge_v20090907-1000, v20080324-1725, v20060925, v20080508, v20080509, v20090505, v20090504, R34x_v20080902, v20070510, v20060802, R35x_v20090821-0505, R3_3_1_1, v20070202, v20060808, v20061127, v20060220, v20060227, v20061120, v20080430-0005, v20060130, v20090105, R3_2_2, v20091109, v20070131, v20091102, v20080528-1613, e4merge_v20090923, v20080201, v20070226, v20090629, v20060601a, v20080324-0036, v20090512, v20060724, v20090213, v20080128, v20061030, v20090119, v20071001, v20061229, v20071008, v20060123, v20060306, v20060411, v20090817, v20060731, v20090520, R35x_v20091105-0835, v20081201, v20060717, R35x_v20091123-0645, v20091013-0600, R3_3, v20071015, v20090320, v20060328, v20060327, v20090123, R3_4, R3_5, R3_2, v20091123, v20080908, R34x_v20091112-1205, v20081117, v20080414, v20071026, v20080317, v20070316, v20060317, v20090302, R34x_v20091112-1245, pre_R3_3, v20070430, v20060626, v20090427, v20090425, v20090727a, v20090824-1017, R34x_v20080826, v20070129, v20080303, v20090306, R35x_v20090826-0451, v20070409, v20070717, v20060116, R3_5_1, I20060605-1430, v20081215, v20090413, v20060603, v20071207, v20081103, v20070130, v20071204, R3_2_1, v20090316, v20070330, v20071126, v20060619, v20070723, R35x_v20090925-1200, v20060510, v20060512, v20091022-0835, perf_34x_v20090421, v20080324-0057, v20080324-0055, v20060612, R34x_v20090126, v20090911, v20071210, v20090824-1030, v20071119, v20080326, v20071112, v20090303-0725, v20061218, v20070423, R3_3_1, R3_3_2, v20061106, v20060206, v20060821, R34x_v20091113-0430, v20070916, v20080825, R3_4_2, R3_4_1, v20070709, v20090925, v20060426, v20090921, v20080224, v20090928, v20070219, v20091005-1055, v20091026-1217, v20090820, v20090727, v20061113, v20060216, v20060214, v20061204, HEAD
Branch point for: v20090820_e4merge, perf_34x, perf_31x, R3_4_maintenance, R3_5_maintenance
Bug 123111 Request to create test.xml for each of osgi, runtime and resources test plug-ins
<?xml version="1.0"?>
<project name="Core Resources Automated Tests" default="run" basedir=".">

  <!-- The property ${eclipse-home} should be passed into this script -->
  <!-- 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="resources_location" value="${eclipse-home}/core_resources_sniff_folder"/>
  <property name="plugin-name" value="org.eclipse.core.tests.resources"/>

  <!-- 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/>
  </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">
    <delete dir="${resources_location}" quiet="true"/>
  </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">
    <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
      <property name="includes" value="org*.xml"/>
      <property name="output-file" value="${plugin-name}.xml"/>
    </ant>
  </target>
  
  <!-- This target runs the performance test suites. Any actions that need to happen after all -->
  <!-- the tests have been run should go here. -->
  <target name="performance" depends="init,performance-suite,cleanup">
    <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
      <property name="includes" value="org*.xml"/>
      <property name="output-file" value="${plugin-name}.xml"/>
    </ant>  
  </target>  

  <target name="ResourcesPerformanceTests" depends="init,cleanup">
    <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
      <property name="data-dir" value="${resources_location}"/>
      <property name="plugin-name" value="org.eclipse.core.tests.resources"/>
      <property name="classname" value="org.eclipse.core.tests.resources.perf.AllTests"/>
    </ant>
  </target>  	
  
  <target name="ResourcesTests" depends="init,cleanup">
    <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
      <property name="data-dir" value="${resources_location}"/>
      <property name="plugin-name" value="org.eclipse.core.tests.resources"/>
      <property name="classname" value="org.eclipse.core.tests.resources.AutomatedTests"/>
    </ant>
  </target>
    
  <!-- This target defines the tests that need to be run. -->
  <target name="suite" depends="ResourcesTests"/>  
  
  <!-- This target defines the performance tests that need to be run. -->
  <target name="performance-suite" depends="ResourcesPerformanceTests"/>  
	
 </project>