[jboss-cvs] JBossAS SVN: r62112 - branches/Branch_5_0/testsuite/src/main/org/jboss/test/web/test/ssl.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Apr 4 22:46:17 EDT 2007
Author: scott.stark at jboss.org
Date: 2007-04-04 22:46:16 -0400 (Wed, 04 Apr 2007)
New Revision: 62112
Modified:
branches/Branch_5_0/testsuite/src/main/org/jboss/test/web/test/ssl/SSLUnitTestCase.java
Log:
JBAS-4234, ensure super.setUp is called before getServerHost() is used
Modified: branches/Branch_5_0/testsuite/src/main/org/jboss/test/web/test/ssl/SSLUnitTestCase.java
===================================================================
--- branches/Branch_5_0/testsuite/src/main/org/jboss/test/web/test/ssl/SSLUnitTestCase.java 2007-04-05 02:17:32 UTC (rev 62111)
+++ branches/Branch_5_0/testsuite/src/main/org/jboss/test/web/test/ssl/SSLUnitTestCase.java 2007-04-05 02:46:16 UTC (rev 62112)
@@ -37,14 +37,22 @@
*/
public class SSLUnitTestCase extends JBossTestCase
{
- private String baseHttpNoAuth = "http://" + getServerHost() + ":" + Integer.getInteger("web.port", 8080) + "/";
- private String baseHttpsNoAuth = "https://" + getServerHost() + ":" + Integer.getInteger("secureweb.port", 8443) + "/";
+ private String baseHttpNoAuth;
+ private String baseHttpsNoAuth;
public SSLUnitTestCase(String name)
{
super(name);
}
+ @Override
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+ baseHttpNoAuth = "http://" + getServerHost() + ":" + Integer.getInteger("web.port", 8080) + "/";
+ baseHttpsNoAuth = "https://" + getServerHost() + ":" + Integer.getInteger("secureweb.port", 8443) + "/";
+ }
+
/** Test that access of the transport constrained redirects to the ssl connector
*
* @throws Exception
More information about the jboss-cvs-commits
mailing list