stevel 2004/04/19 08:10:04
Modified: src/etc/testcases/types assertions.xml
Log:
show the alternate invocation mechanism does work. hmm.
Revision Changes Path
1.3 +16 -1 ant/src/etc/testcases/types/assertions.xml
Index: assertions.xml
===================================================================
RCS file: /home/cvs/ant/src/etc/testcases/types/assertions.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- assertions.xml 19 Apr 2004 13:42:57 -0000 1.2
+++ assertions.xml 19 Apr 2004 15:10:04 -0000 1.3
@@ -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>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]