pde/ui/org.eclipse.pde.ui.tests/test.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (download) (as text) (annotate)
Mon Oct 25 18:24:33 2004 UTC (5 years, 1 month ago) by kkolosow
Branch: MAIN
CVS Tags: v20050301, v20081201-1500, Root_R3_6_p2_api_cleanup, v20041104, v20090506, v20060511-0800, v20050420, v20070130-0800, R3_3_1_1, v20050830, v200904281800, v20070326_perf32x, v20060220, v20061121-0800, I20060605-1430, v200803170406, v20060228, v20090105, R3_2_2, v20061010-0010, v20050414_perf30, v20091023, v20041111_perf213, v20090824, v20090512, v20060725, v20050413, v20080412-0900, v20060504-0800, v20060412-1600, v20080428-1100, v20070413_perf32x, v2006329-0800, v20081111-1840, v20070330_perf32x, v20090216-0900, v20090521, v20090527, v20060511-2000, v20060719, v20090810, v200904140800, v20050405, v200909221400, v20070403-0800, v20081215-1700, v20050111, v20050428_perf213, v20050616, v20090325, v20070306, v20090824a, v20090428-1200, v20090127-0800, v20060320, v20050414a_perf30, R3_4, R3_5, v20071106-0800, R3_1, R3_2, R3_3, v20090124-1600, v20090120-0800, v20050322, v20050329, v20060412-0800, v20070501-0010, v20050609, v20050802, v20070405_perf32x, v20041025, v20050413a, v20050509, v20081028-1200, v20050402_perf301, pre_R3_3, v20070322-1600, v20090824-1305, v20050428_perf301, v20090223-1000, v20070322-0800, v20080502-0900, v20091012, v20050805, v20080430-1500, v20061211-0010, v20060627, v20070323_perf32x, v20090428, v20070115-0800, v20090424, v20090420, v20050503, v20090308, v20090223-1600, v20050420a, v20090306, v20060307, v20090310-1500, v20050224, v20080331-2030, R3_5_1, v20080206-0010, v20060519-0010, v20080204-0800, v200802112131, v20090907, v20060605, v20050308, v20050402_perf30, v200802182004, R3_2_1, v20070417-0800, v20070814-0800, v20080401-0850, v20081210-1800, v20060228a, v20060228b, v20060718, v20050315, v20060512-0010, p2_api_changes_v20091124, v2006329-1600, v20070608-1300, v20090914, v20090915, v20060613, v20080325-1300, v20041111_perf301, R3_1_2, v20050526, v200903022000, v20080108-1300, v20090127-0600, v20050331c, v20090106-1000, v20050913, v20090323-1600, R3_3_1, R3_3_2, v20060207, v20050412, R3_4_1, R3_1_1, v20080325-1400, v20080304-0010, v20081024-1200, v20090209-1600, v20080429-1000, v20090113-0800, v20060620, v20090729, v20071029-0010, v20080414-1300, v20050920, v20041103, Root_perf_32x, v20081204-0900, v20041111_perf30, v20090429-1200, v20090429-1201, v20081124-1800, v20081110-2200, v20060427-0800, v20070109-0800, HEAD
Branch point for: perf_32x, JUnit4_incubator_bug153429, perf_30, perf_213, R3_6_p2_api_cleanup, R3_2_maintenance, perf_301, R3_5_maintenance
Changes since 1.1: +1 -1 lines
*** empty log message ***
<?xml version="1.0"?>

<project name="testsuite" 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="plugin-name" value="org.eclipse.pde.ui.tests"/>
  <property name="library-file" value="${eclipse-home}/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*.xml"/>
    </delete>
  </target>

  <!-- This target defines the tests that need to be run. -->
  <target name="suite">

    <property name="location1" value="${eclipse-home}/pde_sniff_folder"/>
    <delete dir="${location1}" quiet="true"/>
    <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
      <property name="data-dir" value="${location1}"/>
      <property name="plugin-name" value="${plugin-name}"/>
      <property name="classname" value="org.eclipse.pde.ui.tests.AllPDETests"/>
    </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">
  </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 defines the performance tests that need to be run. -->
	<target name="performance-suite">
	  <property name="your-performance-folder" value="${eclipse-home}/pde_performance_folder"/>
	  <delete dir="${your-performance-folder}" quiet="true"/>
	  <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
	    <property name="data-dir" value="${your-performance-folder}"/>
	    <property name="plugin-name" value="${plugin-name}"/>
	    <property name="classname" value="org.eclipse.pde.ui.tests.performance.PDEPerformanceTests"/>
	  </ant>
	</target>

	<!-- This target runs the performance test suite. 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>

</project>