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