aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorMehdi Houshmand <mehdi@apache.org>2012-02-14 14:48:00 +0000
committerMehdi Houshmand <mehdi@apache.org>2012-02-14 14:48:00 +0000
commit07b46e643aa927b13a0ef86ef8b0a3ac2539ef8e (patch)
treef79c1e13f5066f7785757a528dd570ad9ba3cff8 /build.xml
parent98532f28aaf944f9524d685d8b006531f904c46f (diff)
downloadxmlgraphics-fop-07b46e643aa927b13a0ef86ef8b0a3ac2539ef8e.tar.gz
xmlgraphics-fop-07b46e643aa927b13a0ef86ef8b0a3ac2539ef8e.zip
Enabled assertions in junit tasks (analagous to JVM arg -ea)
- Disabled a layout test that fails an assertion - Added an expression to a mocked class to pass assertion git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1243963 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 9790aceac..e8d522309 100644
--- a/build.xml
+++ b/build.xml
@@ -787,6 +787,9 @@ list of possible build targets.
<classpath>
<path refid="@{classpath}"/>
</classpath>
+ <assertions>
+ <enable/>
+ </assertions>
<test name="@{testsuite}" todir="${junit.reports.dir}" outfile="@{outfile}"/>
</junit>
</sequential>
@@ -801,6 +804,9 @@ list of possible build targets.
<classpath>
<path refid="standard-junit-classpath"/>
</classpath>
+ <assertions>
+ <enable/>
+ </assertions>
<batchtest todir="${junit.reports.dir}">
<fileset dir="${build.unit.tests.dir}" includes="**/*TestCase.class"/>
</batchtest>