You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "Patrick (Gus) Heck" <pa...@olin.edu> on 2002/05/29 20:06:31 UTC
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Another test failure
Posted by "Patrick (Gus) Heck" <pa...@olin.edu>.
Hmm, the one time I do update instead of wipe and checkout I get burned.
Sorry... it seems to work now. I think it's one of those days.
Gus
Erik Hatcher wrote:
> 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" <pa...@olin.edu>
> To: "Ant Developers List" <an...@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: <ma...@jakarta.apache.org>
> > For additional commands, e-mail: <ma...@jakarta.apache.org>
> >
> >
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Another test failure
Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
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" <pa...@olin.edu>
To: "Ant Developers List" <an...@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: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>