org.eclipse.ui.tests.views.properties.tabbed/test.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (download) (as text) (annotate)
Thu Feb 2 16:01:27 2006 UTC (3 years, 9 months ago) by nick
Branch: MAIN
CVS Tags: I20060307-0800, I20060228-0800, I20091014-1355, I20060918-0010, I20060427-0800, I20060213-2000, I20080422-0800, I20070512-0010, I20060822-0800, R3_2, I20081128-0800, R3_3_1_1, I20080204-0800, I20080923-0800, I20060504-0800, I20090525-2000, R3_3_1, R3_3_2, I20060605-1430, I20081202-0800, R3_2_1, I20081007-0800, R3_2_2, R3_4, R3_5, I20080324-1800, R3_5_1, R3_4_2, R3_4_1, I20070904-0010, I20090406-0800, I20070227-0800, I20080508-2000a, I20070605-0010, I20080509-2000, I20060207-0800, R3_3, pre_R3_3, M20060802-0800, I20060605-1400, I20060511-0800, HEAD
Changes since 1.1: +1 -1 lines
Bug 125939 [TabbedProperties] Get the tabbed properties projects into the build
<?xml version="1.0"?>

<project name="testsuite" default="run" basedir=".">
  <!-- 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}\..\.."/>

  <!-- sets the properties eclipse-home, and library-file -->
  <property name="plugin-name" value="org.eclipse.ui.tests.views.properties.tabbed"/>
  <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="sniff-folder"
              value="${eclipse-home}/tabbedproperties_sniff_folder"/>
    <delete dir="${sniff-folder}" quiet="true"/>
    <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
      <property name="data-dir" value="${sniff-folder}"/>
      <property name="plugin-name" value="${plugin-name}"/>
      <property name="classname"
                value="org.eclipse.ui.tests.views.properties.tabbed.AllTests"/>
    </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">
  </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>
</project>