|
What this is
Other links
The source code<project name="Automated JDT Testing" default="all" basedir="." > <property name="builder" value="${basedir}" /> <property file="${builder}/build.properties" /> <property file="${buildDirectory}/finalPluginsVersions.properties" /> <property name="install" value="${buildDirectory}/test-eclipse" /> <property name="eclipse-home" value="${install}/eclipse" /> <property name="results" value="${buildDirectory}/${buildLabel}/testresults" /> <target name="all" depends="setup"> <!--correctness tests--> <antcall target="antcore" /> <antcall target="antui" /> <!--performance tests--> <!--antcall target="antui"> <param name="test.target" value="performance" /> </antcall--> </target> <macrodef name="runTests"> <attribute name="testPlugin" /> <sequential> <property name="test.target" value="junit" /> <property name="os" value="win32" /> <property name="ws" value="win32" /> <property name="arch" value="x86" /> <property name="report" value="@{testPlugin}" /> <property name="library-file" value="${install}/eclipse/plugins/org.eclipse.test_3.1.0/library.xml" /> <antcall target="${test.target}"> <param name="testPlugin" value="@{testPlugin}_${@{testPlugin}}" /> </antcall> </sequential> </macrodef> <target name="junit"> <ant antfile="${eclipse-home}/plugins/${testPlugin}/test.xml" dir="${eclipse-home}" /> <antcall target="genResults" /> </target> <target name="performance"> <ant antfile="${eclipse-home}/plugins/${testPlugin}/test.xml" dir="${eclipse-home}" target="performance" /> <antcall target="genResults" /> </target> <target name="setup"> <delete dir="${install}" /> <mkdir dir="${install}" /> <unzip src="${buildDirectory}/${buildLabel}/org.eclipse.ant.test.feature.sample-${buildId}.zip" dest="${install}" /> <unzip src="${buildDirectory}/${buildLabel}/org.eclipse.jdt-${buildId}.zip" dest="${install}" /> <copy todir="${install}"> <fileset dir="${buildDirectory}/base" /> </copy> </target> <target name="genResults"> <mkdir dir="${results}" /> <copy file="${eclipse-home}/${report}.xml" tofile="${results}/xml/${report}.xml" failonerror="false" /> <style style="${builder}/extraTools/JUNIT.XSL" basedir="${results}/xml" destdir="${results}/html" /> </target> <!--Test targets--> <target name="antui"> <runTests testPlugin="org.eclipse.ant.tests.ui" /> </target> <target name="antcore"> <runTests testPlugin="org.eclipse.ant.tests.core" /> </target> </project> |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.