diff options
author | Jeremias Maerki <jeremias@apache.org> | 2008-07-23 09:34:17 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2008-07-23 09:34:17 +0000 |
commit | 2d83907e2d37f04aa8bebd938b737189d59eb62d (patch) | |
tree | c42d29083d95e098f521591b156a3f1df55bf2b8 /build.xml | |
parent | 8091bd11210ac68aa3289532643e42b66545a495 (diff) | |
download | xmlgraphics-fop-2d83907e2d37f04aa8bebd938b737189d59eb62d.tar.gz xmlgraphics-fop-2d83907e2d37f04aa8bebd938b737189d59eb62d.zip |
Improved/fixed font setup for painters. Reduced the whole thing to pass in a fully set-up FontInfo object to reduce dependencies on the font package to the necessary.
Fixed problem with some JAXP implementations for "lastProprties" in IFParser.
Support for XMP parsing added in IFParser.
Added round-trip testing for new IF.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@679047 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 59 |
1 files changed, 39 insertions, 20 deletions
@@ -878,25 +878,44 @@ RetroWeaver will be added here --> <test name="org.apache.fop.fotreetest.FOTreeTestSuite" todir="${junit.reports.dir}" outfile="TEST-FO-tree"/> </junit> </target> - <target name="junit-intermediate-format" depends="junit-compile, junit-layout" description="Runs FOP's intermediate format JUnit tests" if="xmlunit.present"> - <echo message="Running intermediate format tests"/> - <junit dir="${basedir}" haltonfailure="${junit.haltonfailure}" fork="${junit.fork}" errorproperty="fop.junit.error" failureproperty="fop.junit.failure"> - <sysproperty key="basedir" value="${basedir}"/> - <sysproperty key="jawa.awt.headless" value="true"/> - <sysproperty key="fop.layoutengine.disabled" value="${layoutengine.disabled}"/> - <sysproperty key="fop.layoutengine.testset" value="standard"/> - <formatter type="brief" usefile="false"/> - <formatter type="plain" usefile="true"/> - <formatter type="xml" usefile="true"/> - <classpath> - <pathelement location="${build.dir}/test-classes"/> - <path refid="libs-build-classpath"/> - <fileset dir="build"> - <include name="fop.jar"/> - </fileset> - </classpath> - <test name="org.apache.fop.intermediate.IntermediateFormatTestSuite" todir="${junit.reports.dir}" outfile="TEST-intermediate-format"/> - </junit> + <macrodef name="junit-run"> + <attribute name="title"/> + <element name="tests"/> + <sequential> + <echo message="Running @{title} tests..."/> + <junit dir="${basedir}" haltonfailure="${junit.haltonfailure}" fork="${junit.fork}" errorproperty="fop.junit.error" failureproperty="fop.junit.failure"> + <sysproperty key="basedir" value="${basedir}"/> + <sysproperty key="jawa.awt.headless" value="true"/> + <sysproperty key="fop.layoutengine.disabled" value="${layoutengine.disabled}"/> + <formatter type="brief" usefile="false"/> + <formatter type="plain" usefile="true"/> + <formatter type="xml" usefile="true"/> + <classpath> + <pathelement location="${build.dir}/test-classes"/> + <path refid="libs-build-tools-classpath"/> + <fileset dir="build"> + <include name="fop.jar"/> + </fileset> + </classpath> + <tests/> + </junit> + </sequential> + </macrodef> + <target name="junit-area-tree-xml-format" depends="junit-compile" description="Runs FOP's area tree XML format JUnit tests" if="xmlunit.present"> + <junit-run title="area tree XML format"> + <tests> + <sysproperty key="fop.layoutengine.testset" value="standard"/> + <test name="org.apache.fop.intermediate.AreaTreeXMLFormatTestSuite" todir="${junit.reports.dir}" outfile="TEST-area-tree-xml-format"/> + </tests> + </junit-run> + </target> + <target name="junit-intermediate-format" depends="junit-compile" description="Runs FOP's intermediate format JUnit tests" if="xmlunit.present"> + <junit-run title="intermediate format"> + <tests> + <sysproperty key="fop.layoutengine.testset" value="standard"/> + <test name="org.apache.fop.intermediate.IntermediateFormatTestSuite" todir="${junit.reports.dir}" outfile="TEST-intermediate-format"/> + </tests> + </junit-run> </target> <target name="junit-text-linebreak" depends="junit-compile" description="Runs FOP's JUnit unicode linebreak tests" if="junit.present"> <echo message="Running tests for Unicode UAX#14 support"/> @@ -916,7 +935,7 @@ RetroWeaver will be added here --> <test name="org.apache.fop.text.linebreak.LineBreakStatusTest" todir="${junit.reports.dir}"/> </junit> </target> - <target name="junit" depends="junit-userconfig, junit-basic, junit-transcoder, junit-text-linebreak, junit-layout, junit-fotree, junit-intermediate-format" description="Runs all of FOP's JUnit tests" if="junit.present"> + <target name="junit" depends="junit-userconfig, junit-basic, junit-transcoder, junit-text-linebreak, junit-layout, junit-fotree, junit-area-tree-xml-format, junit-intermediate-format" description="Runs all of FOP's JUnit tests" if="junit.present"> <fail><condition><or><isset property="fop.junit.error"/><isset property="fop.junit.failure"/><not><isset property="hyphenation.present"/></not></or></condition> NOTE: ************************************************************************** |