[jboss-jira] [JBoss JIRA] Resolved: (JBAS-4234) JBAS Testsuite: getServerHost() related changes
Scott M Stark (JIRA)
jira-events at lists.jboss.org
Wed Apr 4 22:48:34 EDT 2007
[ http://jira.jboss.com/jira/browse/JBAS-4234?page=all ]
Scott M Stark resolved JBAS-4234.
---------------------------------
Resolution: Done
All of the getServerHost uses are now after super.setUp
> JBAS Testsuite: getServerHost() related changes
> -----------------------------------------------
>
> Key: JBAS-4234
> URL: http://jira.jboss.com/jira/browse/JBAS-4234
> Project: JBoss Application Server
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Test Suite
> Affects Versions: JBossAS-5.0.0.Beta1
> Reporter: Anil Saldhana
> Fix For: JBossAS-5.0.0.Beta2
>
>
> public class xxTestCase
> {
> private url = "http" + getServerHost() + .....;
> }
> needs to be changed to:
> public class xxTestCase
> {
> private url ;
> public void setUp()
> {
> super.setUp();
> url = "http" + getServerHost() + ....;
> }
> Also all the hardcoded "localhost" tests should be replaced with getServerHost
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list