ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <umag...@apache.org>
Subject More testcase trouble: JspcTest this time
Date Thu, 25 Apr 2002 20:49:51 GMT
Just wanted to send this out to see if somebody
can find this problem before I find it...

===============
Testsuite: org.apache.tools.ant.taskdefs.optional.JspcTest
Tests run: 6, Failures: 1, Errors: 5, Time elapsed: 4.656 sec

Testcase: testSimple took 0.861 sec
 Caused an ERROR
Java returned: 1
D:\jakarta-ant\src\etc\testcases\taskdefs\optional\jspc.xml:37: Java
returned: 1
 at org.apache.tools.ant.taskdefs.Java.execute(Java.java:110)
 at
org.apache.tools.ant.taskdefs.optional.jsp.compilers.JasperC.execute(JasperC
.java:104)
 at
org.apache.tools.ant.taskdefs.optional.jsp.JspC.doCompilation(JspC.java:460)
 at org.apache.tools.ant.taskdefs.optional.jsp.JspC.execute(JspC.java:424)
 at org.apache.tools.ant.Task.perform(Task.java:313)
 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.BuildFileTest.executeTarget(BuildFileTest.java:254)
 at
org.apache.tools.ant.taskdefs.optional.JspcTest.executeJspCompile(JspcTest.j
ava:173)
 at
org.apache.tools.ant.taskdefs.optional.JspcTest.testSimple(JspcTest.java:116
)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 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(JUnitTestRu
nner.java:325)
 at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask
.java:797)
 at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:544)
 at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:520)
 at org.apache.tools.ant.Task.perform(Task.java:313)
 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)

Testcase: testSimpleTestcase: testUriroot took 0.841 sec
 Caused an ERROR
Java returned: 1
D:\jakarta-ant\src\etc\testcases\taskdefs\optional\jspc.xml:49: Java
returned: 1
 at org.apache.tools.ant.taskdefs.Java.execute(Java.java:110)
 at
org.apache.tools.ant.taskdefs.optional.jsp.compilers.JasperC.execute(JasperC
.java:104)
 at
org.apache.tools.ant.taskdefs.optional.jsp.JspC.doCompilation(JspC.java:460)
 at org.apache.tools.ant.taskdefs.optional.jsp.JspC.execute(JspC.java:424)
 at org.apache.tools.ant.Task.perform(Task.java:313)
 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.BuildFileTest.executeTarget(BuildFileTest.java:254)
 at
org.apache.tools.ant.taskdefs.optional.JspcTest.executeJspCompile(JspcTest.j
ava:173)
 at
org.apache.tools.ant.taskdefs.optional.JspcTest.testUriroot(JspcTest.java:12
4)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 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(JUnitTestRu
nner.java:325)
 at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask
.java:797)
 at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:544)
 at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:520)
 at org.apache.tools.ant.Task.perform(Task.java:313)
 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)

Testcase: testUrirootTestcase: testXml took 0.811 sec
 Caused an ERROR
Java returned: 1
D:\jakarta-ant\src\etc\testcases\taskdefs\optional\jspc.xml:61: Java
returned: 1
 at org.apache.tools.ant.taskdefs.Java.execute(Java.java:110)
 at
org.apache.tools.ant.taskdefs.optional.jsp.compilers.JasperC.execute(JasperC
.java:104)
 at
org.apache.tools.ant.taskdefs.optional.jsp.JspC.doCompilation(JspC.java:460)
 at org.apache.tools.ant.taskdefs.optional.jsp.JspC.execute(JspC.java:424)
 at org.apache.tools.ant.Task.perform(Task.java:313)
 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.BuildFileTest.executeTarget(BuildFileTest.java:254)
 at
org.apache.tools.ant.taskdefs.optional.JspcTest.executeJspCompile(JspcTest.j
ava:173)
 at
org.apache.tools.ant.taskdefs.optional.JspcTest.testXml(JspcTest.java:132)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 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(JUnitTestRu
nner.java:325)
 at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask
.java:797)
 at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:544)
 at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:520)
 at org.apache.tools.ant.Task.perform(Task.java:313)
 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)

Testcase: testXmlTestcase: testKeyword took 0.741 sec
 Caused an ERROR
Java returned: 1
D:\jakarta-ant\src\etc\testcases\taskdefs\optional\jspc.xml:71: Java
returned: 1
 at org.apache.tools.ant.taskdefs.Java.execute(Java.java:110)
 at
org.apache.tools.ant.taskdefs.optional.jsp.compilers.JasperC.execute(JasperC
.java:104)
 at
org.apache.tools.ant.taskdefs.optional.jsp.JspC.doCompilation(JspC.java:460)
 at org.apache.tools.ant.taskdefs.optional.jsp.JspC.execute(JspC.java:424)
 at org.apache.tools.ant.Task.perform(Task.java:313)
 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.BuildFileTest.executeTarget(BuildFileTest.java:254)
 at
org.apache.tools.ant.taskdefs.optional.JspcTest.executeJspCompile(JspcTest.j
ava:173)
 at
org.apache.tools.ant.taskdefs.optional.JspcTest.testKeyword(JspcTest.java:14
0)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 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(JUnitTestRu
nner.java:325)
 at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask
.java:797)
 at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:544)
 at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:520)
 at org.apache.tools.ant.Task.perform(Task.java:313)
 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)

Testcase: testKeywordTestcase: testInvalidClassname took 0.701 sec
 Caused an ERROR
Java returned: 1
D:\jakarta-ant\src\etc\testcases\taskdefs\optional\jspc.xml:82: Java
returned: 1
 at org.apache.tools.ant.taskdefs.Java.execute(Java.java:110)
 at
org.apache.tools.ant.taskdefs.optional.jsp.compilers.JasperC.execute(JasperC
.java:104)
 at
org.apache.tools.ant.taskdefs.optional.jsp.JspC.doCompilation(JspC.java:460)
 at org.apache.tools.ant.taskdefs.optional.jsp.JspC.execute(JspC.java:424)
 at org.apache.tools.ant.Task.perform(Task.java:313)
 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.BuildFileTest.executeTarget(BuildFileTest.java:254)
 at
org.apache.tools.ant.taskdefs.optional.JspcTest.executeJspCompile(JspcTest.j
ava:173)
 at
org.apache.tools.ant.taskdefs.optional.JspcTest.testInvalidClassname(JspcTes
t.java:148)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 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(JUnitTestRu
nner.java:325)
 at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask
.java:797)
 at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:544)
 at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:520)
 at org.apache.tools.ant.Task.perform(Task.java:313)
 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)

Testcase: testInvalidClassnameTestcase: testNoTld took 0.691 sec
 FAILED
Should throw BuildException because 'Jasper found an error in a file' with
message containing 'Java returned: 9' (actual message 'Java returned: 1'
instead)
junit.framework.AssertionFailedError: Should throw BuildException because
'Jasper found an error in a file' with message containing 'Java returned: 9'
(actual message 'Java returned: 1' instead)
 at junit.framework.Assert.fail(Assert.java:51)
 at
org.apache.tools.ant.BuildFileTest.expectBuildExceptionContaining(BuildFileT
est.java:317)
 at
org.apache.tools.ant.taskdefs.optional.JspcTest.testNoTld(JspcTest.java:157)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 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(JUnitTestRu
nner.java:325)
 at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask
.java:797)
 at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:544)
 at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:520)
 at org.apache.tools.ant.Task.perform(Task.java:313)
 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)

Testcase: testNoTld

BUILD FAILED
D:\jakarta-ant\build.xml:1272: Test
org.apache.tools.ant.taskdefs.optional.JspcTest failed
===============

Cheers,
Magesh

************************************************
*  Criminal: A guy no different from the rest  *
*  ...except that he got caught.               *
************************************************


--
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