ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <j_a_fernan...@yahoo.com>
Subject Test failures on Head Revision
Date Sun, 14 Oct 2001 15:19:29 GMT
I am getting the following test failures, are they expected? Do I need to set anything extra
for running this tests?
This is on the HEAD revision.

Testsuite: org.apache.tools.ant.types.DescriptionTest
Tests run: 4, Failures: 1, Errors: 0, Time elapsed: 0.211 sec

Testcase: test2(org.apache.tools.ant.types.DescriptionTest):: FAILED
Multi line description failed expected:<Multi Line
Project Description> but was:<Multi LineProject Description>
junit.framework.AssertionFailedError: Multi line description failed expected:<Multi Line
Project Description> but was:<Multi LineProject Description>
 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 org.apache.tools.ant.types.DescriptionTest.test2(DescriptionTest.java:90)
 at java.lang.reflect.Method.invoke(Native Method)
 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(JUnitTestRunner.java:231)
 at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:582)
 at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:403)
 at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:380)
 at org.apache.tools.ant.Task.perform(Task.java:217)
 at org.apache.tools.ant.Target.execute(Target.java:184)
 at org.apache.tools.ant.Target.performTasks(Target.java:202)
 at org.apache.tools.ant.Project.executeTarget(Project.java:601)
 at org.apache.tools.ant.Project.executeTargets(Project.java:560)
 at org.apache.tools.ant.Main.runBuild(Main.java:462)
 at org.apache.tools.ant.Main.start(Main.java:153)
 at org.apache.tools.ant.Main.main(Main.java:176)

TEST org.apache.tools.ant.types.DescriptionTest FAILED

Testsuite: org.apache.tools.ant.types.FilterSetTest
Tests run: 3, Failures: 3, Errors: 0, Time elapsed: 0.271 sec

------------- Standard Output ---------------
File size mismatch:src/etc/testcases/types/gold/filterset1.txt(61), src/etc/testcases/types/dest1.txt(59)
File size mismatch:src/etc/testcases/types/gold/filterset2.txt(158), src/etc/testcases/types/dest2.txt(153)
File size mismatch:src/etc/testcases/types/gold/filterset3.txt(166), src/etc/testcases/types/dest3.txt(159)
------------- ---------------- ---------------
Testcase: test1(org.apache.tools.ant.types.FilterSetTest):: FAILED
Filterset 1 failed
junit.framework.AssertionFailedError: Filterset 1 failed
 at junit.framework.Assert.fail(Assert.java:51)
 at junit.framework.Assert.assertTrue(Assert.java:38)
 at org.apache.tools.ant.types.FilterSetTest.test1(FilterSetTest.java:89)
 at java.lang.reflect.Method.invoke(Native Method)
 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(JUnitTestRunner.java:231)
 at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:582)
 at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:403)
 at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:380)
 at org.apache.tools.ant.Task.perform(Task.java:217)
 at org.apache.tools.ant.Target.execute(Target.java:184)
 at org.apache.tools.ant.Target.performTasks(Target.java:202)
 at org.apache.tools.ant.Project.executeTarget(Project.java:601)
 at org.apache.tools.ant.Project.executeTargets(Project.java:560)
 at org.apache.tools.ant.Main.runBuild(Main.java:462)
 at org.apache.tools.ant.Main.start(Main.java:153)
 at org.apache.tools.ant.Main.main(Main.java:176)

Testcase: test2(org.apache.tools.ant.types.FilterSetTest):: FAILED
Filterset 2 failed
junit.framework.AssertionFailedError: Filterset 2 failed
 at junit.framework.Assert.fail(Assert.java:51)
 at junit.framework.Assert.assertTrue(Assert.java:38)
 at org.apache.tools.ant.types.FilterSetTest.test2(FilterSetTest.java:95)
 at java.lang.reflect.Method.invoke(Native Method)
 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(JUnitTestRunner.java:231)
 at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:582)
 at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:403)
 at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:380)
 at org.apache.tools.ant.Task.perform(Task.java:217)
 at org.apache.tools.ant.Target.execute(Target.java:184)
 at org.apache.tools.ant.Target.performTasks(Target.java:202)
 at org.apache.tools.ant.Project.executeTarget(Project.java:601)
 at org.apache.tools.ant.Project.executeTargets(Project.java:560)
 at org.apache.tools.ant.Main.runBuild(Main.java:462)
 at org.apache.tools.ant.Main.start(Main.java:153)
 at org.apache.tools.ant.Main.main(Main.java:176)

Testcase: test3(org.apache.tools.ant.types.FilterSetTest):: FAILED
Filterset 3 failed
junit.framework.AssertionFailedError: Filterset 3 failed
 at junit.framework.Assert.fail(Assert.java:51)
 at junit.framework.Assert.assertTrue(Assert.java:38)
 at org.apache.tools.ant.types.FilterSetTest.test3(FilterSetTest.java:101)
 at java.lang.reflect.Method.invoke(Native Method)
 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(JUnitTestRunner.java:231)
 at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:582)
 at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:403)
 at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:380)
 at org.apache.tools.ant.Task.perform(Task.java:217)
 at org.apache.tools.ant.Target.execute(Target.java:184)
 at org.apache.tools.ant.Target.performTasks(Target.java:202)
 at org.apache.tools.ant.Project.executeTarget(Project.java:601)
 at org.apache.tools.ant.Project.executeTargets(Project.java:560)
 at org.apache.tools.ant.Main.runBuild(Main.java:462)
 at org.apache.tools.ant.Main.start(Main.java:153)
 at org.apache.tools.ant.Main.main(Main.java:176)

TEST org.apache.tools.ant.types.FilterSetTest FAILED


Mime
View raw message