struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Raeburn" <sraeb...@apache.org>
Subject RE: Running and Writing Struts Tests
Date Sun, 28 Sep 2003 06:36:16 GMT
I think there is currently an unresolved problem that's causing the tests to
fail.
See
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=struts-dev@jakarta.apach
e.org&msgNo=21406

Steve

> -----Original Message-----
> From: Chris Gastin [mailto:chris@gastin.com]
> Sent: September 27, 2003 11:02 PM
> To: Struts Developers List
> Subject: Running and Writing Struts Tests
>
>
> I apologize this is a little off topic, and If I can not get
> answer here. I will direct it to the Cactus list. I am trying to
> set up my local environment to run the current set of Struts
> tests. I want to ensure that I am writing valid tests for the
> patches I submit. All tests with exception of the tests in the
> org.apache.struts.taglib.* packages are giving a valid PASS or
> FAIL. All tests in the org.apache.struts.taglib.* packages give
> me the following error
>
> org.apache.cactus.util.ChainedRuntimeException: Failed to get the
> test results at [http://localhost:8080/test/JspRedirector]
>  at
> org.apache.cactus.client.connector.http.DefaultHttpClient.dispatch
> 49_doTest(DefaultHttpClient.java;org/apache/cactus/util/log/LogAsp
> ect.aj[1k]:131)
>  at
> org.apache.cactus.client.connector.http.DefaultHttpClient.around49
> _doTest(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspec
> t.aj[1k]:1222)
>  at
> org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(D
efaultHttpClient.java;org/apache/cactus/util/log/> LogAspect.aj[1k]:115)
>  at
> org.apache.cactus.internal.client.WebClientTestCaseDelegate.runWeb
> Test(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/Log
> Aspect.aj[1k]:333)
>  at
> org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGen
> ericTest(WebClientTestCaseDelegate.java;org/apache/cactus/util/log
> /LogAspect.aj[1k]:281)
>  at
> org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTes
> t(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/LogAsp
> ect.aj[1k]:257)
>  at
> org.apache.cactus.ServletTestCase.runCactusTest(ServletTestCase.java:287)
>  at org.apache.cactus.ServletTestCase.runBare(ServletTestCase.java:250)
>  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:118)
>  at junit.framework.TestSuite.runTest(TestSuite.java:208)
>  at junit.framework.TestSuite.run(TestSuite.java:203)
>  at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Re
> moteTestRunner.java:392)
>  at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteT
> estRunner.java:276)
>  at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(Remote
> TestRunner.java:167)
>
> org.apache.cactus.client.ParsingException: Not a valid response
> [500 Internal Server Error]
>  at
> org.apache.cactus.client.connector.http.DefaultHttpClient.callGetR
> esult(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.
> aj[1k]:251)
>  at
> org.apache.cactus.client.connector.http.DefaultHttpClient.dispatch
> 49_doTest(DefaultHttpClient.java;org/apache/cactus/util/log/LogAsp
> ect.aj[1k]:126)
>  at
> org.apache.cactus.client.connector.http.DefaultHttpClient.around49
> _doTest(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspec
> t.aj[1k]:1222)
>  at
> org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(D
efaultHttpClient.java;org/apache/cactus/util/log/> LogAspect.aj[1k]:115)
>  at
> org.apache.cactus.internal.client.WebClientTestCaseDelegate.runWeb
> Test(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/Log
> Aspect.aj[1k]:333)
>  at
> org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGen
> ericTest(WebClientTestCaseDelegate.java;org/apache/cactus/util/log
> /LogAspect.aj[1k]:281)
>  at
> org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTes
> t(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/LogAsp
> ect.aj[1k]:257)
>  at
> org.apache.cactus.ServletTestCase.runCactusTest(ServletTestCase.java:287)
>  at org.apache.cactus.ServletTestCase.runBare(ServletTestCase.java:250)
>  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:118)
>  at junit.framework.TestSuite.runTest(TestSuite.java:208)
>  at junit.framework.TestSuite.run(TestSuite.java:203)
>  at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Re
> moteTestRunner.java:392)
>  at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteT
> estRunner.java:276)
>  at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(Remote
> TestRunner.java:167)
>
> As you can see an Internal Server Error is getting thrown. Has
> anyone else experience this problem when running the Test in the
> taglib package.
>
> My local environment is Eclipse 2.1.1, CactusPlugin for Eclipse
> which is using Cactus 1.6Dev,and JUnit 3.8.1. How do you guys
> have your local environment set for running tests.
>
> Thanks,
> Chris Gastin
>
>



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


Mime
View raw message