diff options
author | Mehdi Houshmand <mehdi@apache.org> | 2012-02-14 14:48:00 +0000 |
---|---|---|
committer | Mehdi Houshmand <mehdi@apache.org> | 2012-02-14 14:48:00 +0000 |
commit | 07b46e643aa927b13a0ef86ef8b0a3ac2539ef8e (patch) | |
tree | f79c1e13f5066f7785757a528dd570ad9ba3cff8 /build.xml | |
parent | 98532f28aaf944f9524d685d8b006531f904c46f (diff) | |
download | xmlgraphics-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.xml | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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> |