ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: Another test failure
Date Wed, 29 May 2002 18:14:45 GMT
Are you certain you have the latest PropertyFile.java?

This is the exact error I saw after adding the test, but before fixing the
code.

    Erik

----- Original Message -----
From: "Patrick (Gus) Heck" <patrick.heck@olin.edu>
To: "Ant Developers List" <ant-dev@jakarta.apache.org>
Sent: Wednesday, May 29, 2002 2:06 PM
Subject: Another test failure


> Ok this time it is PropertyFileTest... It seems like every time I
> download a new copy or update my existing copy anothe test fails. Maybe
> I can do some work before the day is out... I think this is the last one
> of these I report for a little while unless I find one that blocks me.
> This seems to be the test that was recently added by Erik Hatcher...
>
> http://marc.theaimsgroup.com/?l=ant-dev&m=102261870505865&w=2
>
> Here is the output:
>
> Testsuite: org.apache.tools.ant.taskdefs.optional.PropertyFileTest
> Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.464 sec
>
> Testcase:
> testExerciseDefaultAndIncrement(org.apache.tools.ant.taskdefs.optional
> .PropertyFileTest):     FAILED
> expected:<6> but was:<>
> junit.framework.AssertionFailedError: expected:<6> but was:<>
>         at junit.framework.Assert.fail(Assert.java:51)
>         at junit.framework.Assert.failNotEquals(Assert.java:234)
>         at junit.framework.Assert.assertEquals(Assert.java:68)
>         at junit.framework.Assert.assertEquals(Assert.java:75)
>         at
> org.apache.tools.ant.taskdefs.optional.PropertyFileTest.testExerciseD
> efaultAndIncrement(PropertyFileTest.java:134)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at junit.framework.TestCase.runTest(TestCase.java:166)
>         at junit.framework.TestCase.runBare(TestCase.java:140)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:131)
>         at junit.framework.TestSuite.runTest(TestSuite.java:173)
>         at junit.framework.TestSuite.run(TestSuite.java:168)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUni
> tTestRunner.java)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JU
> nitTask.java)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitT
> ask.java)
>         at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitT
> ask.java)
>         at org.apache.tools.ant.Task.perform(Task.java:317)
>         at org.apache.tools.ant.Target.execute(Target.java:309)
>         at org.apache.tools.ant.Target.performTasks(Target.java:334)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1216)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1160)
>         at org.apache.tools.ant.Main.runBuild(Main.java:605)
>         at org.apache.tools.ant.Main.start(Main.java:195)
>         at org.apache.tools.ant.Main.main(Main.java:234)
>
>
>
> BUILD FAILED
> /home/gus/projects/jakarta-ant/build.xml:1215: Test
> org.apache.tools.ant.taskdef
> s.optional.PropertyFileTest failed
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
>
>


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


Mime
View raw message