[jboss-jira] [JBoss JIRA] Created: (JBAS-4234) JBAS Testsuite: getServerHost() related changes

Anil Saldhana (JIRA) jira-events at lists.jboss.org
Thu Mar 22 14:30:34 EDT 2007


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)
            Reporter: Anil Saldhana


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