Hi,
Scott M Stark wrote:
>
> No, the WebIntegrationTestCase doesn't apply unless the server
> has a web container configured. The test checks for the existence
> of a web container and set the webServerAvailable accordingly.
Strange, when searching the main branch sources, i see
this field referenced only within the WebServerIntegrationTestCase,
and here it is never modified from its default value.
Maybe in some other branch?
In the main branch, it looks like Jetty runs fine, and
(apart from some tests failing) I have no problems
changing this field to true, and changing the field
baseURL to the value "http://localhost:8080/".
Best Regards,
Ole Husgaard.
>
> xxxxxxxxxxxxxxxxxxxxxxxx
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> xxxxxxxxxxxxxxxxxxxxxxxx
> ----- Original Message -----
> From: "Ole Husgaard" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 25, 2001 2:05 PM
> Subject: Re: [JBoss-dev] jboss test dependencies
>
> > Hi,
> >
> > I committed this.
> >
> > When manually deploying the ear and browsing to the URL of
> > the test servlet I wrote, an exception is thrown as
> > expected when I have not yet added a fix for the bug.
> > With my bug fix added, the servlet runs fine.
> >
> > But when running the test using the WebIntegrationTestCase
> > the test case passes even if the bugfix is not applied.
> > This seems to be because the static boolean field
> > webServerAvailable defaults to false.
> >
> > I am a bit confused about this.
> > For the web test suite to make sense, shouldn't this field
> > be true, and shouldn't the field baseURL have the value
> > "http://localhost:8080/" instead of the default null value?
> >
> > If I make these changes, my UserTransaction test fails as
> > expected. Unfortunately also makes the testSnoopJSP,
> > testClientLoginServlet, testSecureServlet,
> > testSecureEJBAccess and testIncludeEJB tests fail.
> >
> >
> > Best Regards,
> >
> > Ole Husgaard
> >
> >
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development