ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject JavaTest failing in the Ant 16 Branch
Date Fri, 02 Jul 2004 09:57:52 GMT
I am running the testcases to prepare the Ant 1.6.2B1.
I am going to proceed with the preparation of the beta, although I found 
this error :


I found this :



    [junit] Testsuite: org.apache.tools.ant.taskdefs.JavaTest
    [junit] Tests run: 24, Failures: 0, Errors: 2, Time elapsed: 8,772 sec

    [junit] Testcase: testNoJarNoClassname took 0,16 sec
    [junit] Testcase: testJarNoFork took 0,1 sec
    [junit] Testcase: testJarAndClassName took 0,08 sec
    [junit] Testcase: testClassnameAndJar took 0,08 sec
    [junit] Testcase: testRun took 0,101 sec
    [junit] Testcase: testRunFail took 0,12 sec
    [junit] Testcase: testRunFailFoe took 0,07 sec
    [junit] Testcase: testRunFailFoeFork took 0,29 sec
    [junit] Testcase: testExcepting took 0,301 sec
    [junit] Testcase: testExceptingFork took 0,27 sec
    [junit] Testcase: testExceptingFoe took 0,11 sec
    [junit] Testcase: testExceptingFoeFork took 0,281 sec
    [junit] Testcase: testResultPropertyZero took 0,27 sec
    [junit] Testcase: testResultPropertyNonZero took 0,28 sec
    [junit] Testcase: testResultPropertyZeroNoFork took 0,071 sec
    [junit] Testcase: testResultPropertyNonZeroNoFork took 0,07 sec
    [junit] Testcase: testRunFailWithFailOnError took 0,07 sec
    [junit] Testcase: testRunSuccessWithFailOnError took 0,07 sec
    [junit] Testcase: testSpawn took 4,086 sec
    [junit] Testcase: testRedirect1 took 0,3 sec
    [junit]     Caused an ERROR
    [junit] C:\DOKUME~1\antoine\LOKALE~1\Temp\redirect.out:
    [junit] "${redirect.out.contents}" expected "foo"
    [junit] C:\dev\asf\ant\src\etc\testcases\taskdefs\java.xml:194: 
C:\DOKUME~1\
antoine\LOKALE~1\Temp\redirect.out:
    [junit] "${redirect.out.contents}" expected "foo"
    [junit]     at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:139)
    [junit]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:364)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:341)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [junit]     at 
org.apache.tools.ant.Project.executeTarget(Project.java:1214)

    [junit]     at 
org.apache.tools.ant.BuildFileTest.executeTarget(BuildFileTes
t.java:230)
    [junit]     at 
org.apache.tools.ant.taskdefs.JavaTest.testRedirect1(JavaTest
.java:191)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
    [junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:324)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java:154)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:127)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at 
junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:118)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
run(JUnitTestRunner.java:289)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execut
eInVM(JUnitTask.java:1061)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execut
e(JUnitTask.java:676)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execut
eOrQueue(JUnitTask.java:1413)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execut
e(JUnitTask.java:633)
    [junit]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:364)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:341)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [junit]     at 
org.apache.tools.ant.Project.executeTarget(Project.java:1214)

    [junit]     at 
org.apache.tools.ant.Project.executeTargets(Project.java:1062
)
    [junit]     at org.apache.tools.ant.Main.runBuild(Main.java:673)
    [junit]     at org.apache.tools.ant.Main.startAnt(Main.java:188)
    [junit]     at 
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
    [junit]     at 
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

    [junit] Testcase: testRedirect2 took 0,471 sec
    [junit]     Caused an ERROR
    [junit] C:\DOKUME~1\antoine\LOKALE~1\Temp\redirect.out:
    [junit] "${redirect.out.contents}" expected "foo"
    [junit] C:\dev\asf\ant\src\etc\testcases\taskdefs\java.xml:194: 
C:\DOKUME~1\
antoine\LOKALE~1\Temp\redirect.out:
    [junit] "${redirect.out.contents}" expected "foo"
    [junit]     at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:139)
    [junit]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:364)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:341)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [junit]     at 
org.apache.tools.ant.Project.executeTarget(Project.java:1214)

    [junit]     at 
org.apache.tools.ant.BuildFileTest.executeTarget(BuildFileTes
t.java:230)
    [junit]     at 
org.apache.tools.ant.taskdefs.JavaTest.testRedirect2(JavaTest
.java:195)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
    [junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:324)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java:154)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:127)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at 
junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:118)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
run(JUnitTestRunner.java:289)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execut
eInVM(JUnitTask.java:1061)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execut
e(JUnitTask.java:676)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execut
eOrQueue(JUnitTask.java:1413)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execut
e(JUnitTask.java:633)
    [junit]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:364)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:341)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [junit]     at 
org.apache.tools.ant.Project.executeTarget(Project.java:1214)

    [junit]     at 
org.apache.tools.ant.Project.executeTargets(Project.java:1062
)
    [junit]     at org.apache.tools.ant.Main.runBuild(Main.java:673)
    [junit]     at org.apache.tools.ant.Main.startAnt(Main.java:188)
    [junit]     at 
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
    [junit]     at 
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

    [junit] Testcase: testRedirect3 took 0,3 sec
    [junit] Testcase: testRedirector1 took 0,301 sec
    [junit] Testcase: testRedirector2 took 0,51 sec

BUILD FAILED
C:\dev\asf\ant\build.xml:1600: Test 
org.apache.tools.ant.taskdefs.JavaTest faile
d

Total time: 14 seconds
C:\dev\asf\ant>



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


Mime
View raw message