ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy Lambert <anto...@gmx.de>
Subject Re: [VOTE] Ant 1.9.0 release
Date Tue, 05 Mar 2013 04:25:35 GMT
Hello Jesse,

in fact the patch is failing one test :

testTestMethods in junit-test.xml

The test bad in T2.java runs [or at least something is reported as failing ] although only
"ok" is included.

Regards,

Antoine

 <echo file="${input}/T1.java">public class T1 extends
			junit.framework.TestCase {
			public void testOK() {}
			public void testBad() {throw new RuntimeException("failed");}
			}</echo>
    <echo file="${input}/T2.java">
		    import org.junit.Test;
		    public class T2 {
			@Test 
			public void ok() {}
			@Test 
			public void bad() {
			throw new RuntimeException("failed");}
			}</echo>
    <javac srcdir="${input}" destdir="${output}" includes="T1.java,T2.java" source="5"
includeantruntime="false">
      <classpath>
        <path refid="junit" />
      </classpath>
    </javac>
    <junit fork="true" printsummary="true" haltonerror="true">
      <classpath>
        <pathelement location="${output}" />
        <path refid="junit" />
      </classpath>
      <test name="T1" methods="testOK" />
      <test name="T2" methods="ok" />
    </junit>
  </target>



Regards,

Antoine
On Mar 4, 2013, at 4:55 PM, Jesse Glick wrote:

> -0. My main reservation is that an important patch, JUnit @Ignore support [1], is outstanding.
(I promised Michael Clarke it would get reviewed.) It could be pushed back to 1.9.1 of course,
but that could be a long way off.
> 
> [1] https://issues.apache.org/bugzilla/show_bug.cgi?id=43969
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message