ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
Subject Re: problem finding assertFalse in junit.jar
Date Sat, 08 Mar 2003 23:26:58 GMT
you probably have an older version of junit somewhere on your classpath

----- Original Message -----
From: "Antoine Levy-Lambert" <>
To: "Ant Users List" <>
Sent: Saturday, March 08, 2003 11:16
Subject: problem finding assertFalse in junit.jar

I wanted to compile the testcases today, and I am stumbling against :
C:\dev\gnu\ant\src\testcases\org\apache\tools\ant\taskdefs\ProcessDestroyerT cannot resolve symbol
    [javac] symbol  : method assertFalse (java.lang.String,boolean)
    [javac] location: class
    [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
   public static void assertFalse(String message, boolean condition)
        assertTrue(message, !condition);

View raw message