Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
problem finding assertFalse in junit.jar

problem finding assertFalse in junit.jar

2003-03-08       - By Antoine Levy-Lambert
Reply:     1     2  

I wanted to compile the testcases today, and I am stumbling against :
   [javac] C:\dev\gnu\ant\src\testcases\org\apache\tools\ant\taskdefs
\ProcessDestroyerTest.java:107: cannot resolve symbol
   [javac] symbol  : method assertFalse (java.lang.String,boolean)
   [javac] location: class org.apache.tools.ant.taskdefs.ProcessDestroyerTest
   [javac]             assertFalse("Not registered as shutdown hook",
   [javac]             ^
   [javac] 2 errors
I do not understand what is going on, because if I unpack my junit.jar, I can
decompile Assert.class from junit/framework, and I find the assertFalse method.
  public static void assertFalse(String message, boolean condition)
   {
       assertTrue(message, !condition);
   }
Antoine


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.