Browse Source

show the alternate invocation mechanism does work. hmm.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276343 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 21 years ago
parent
commit
6d4dd928df
1 changed files with 16 additions and 1 deletions
  1. +16
    -1
      src/etc/testcases/types/assertions.xml

+ 16
- 1
src/etc/testcases/types/assertions.xml View File

@@ -161,11 +161,26 @@
</classpath>
<formatter type="plain" usefile="false"/>
<assertions enablesystemassertions="true">
<enable package="..." />
<enable class="${test.classname}" />
</assertions>
<test name="${test.classname}"/>
</junit>
</target>
<!-- This is here to show that setting it as a property works
so there is some defect in pass-on of assertions that
is causing the problem -->
<target name="test-junit-manual-setup" depends="setup">
<junit fork="true"
haltonerror="true" haltonfailure="true"
>
<classpath>
<path refid="assert.classpath"/>
</classpath>
<formatter type="plain" usefile="false"/>
<test name="${test.classname}"/>
<jvmarg value="-ea:AssertionTest"/>
</junit>
</target>
</project>

Loading…
Cancel
Save