[jboss-cvs] JBossAS SVN: r61899 - trunk/testsuite/src/main/org/jboss/test/security/test/mapping.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Mar 30 13:33:54 EDT 2007
Author: anil.saldhana at jboss.com
Date: 2007-03-30 13:33:54 -0400 (Fri, 30 Mar 2007)
New Revision: 61899
Modified:
trunk/testsuite/src/main/org/jboss/test/security/test/mapping/RoleMappingWebTestCase.java
Log:
let super.setUp() sink in
Modified: trunk/testsuite/src/main/org/jboss/test/security/test/mapping/RoleMappingWebTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/security/test/mapping/RoleMappingWebTestCase.java 2007-03-30 16:50:43 UTC (rev 61898)
+++ trunk/testsuite/src/main/org/jboss/test/security/test/mapping/RoleMappingWebTestCase.java 2007-03-30 17:33:54 UTC (rev 61899)
@@ -28,8 +28,7 @@
*/
public class RoleMappingWebTestCase extends JBossTestCase
{
- private String baseURLNoAuth = "http://" + getServerHost()
- + ":" + Integer.getInteger("web.port", 8080) + "/";
+ private String baseURLNoAuth;
private HttpClient httpConn = new HttpClient();
public RoleMappingWebTestCase(String name)
@@ -43,6 +42,8 @@
*/
public void testWebAccess() throws Exception
{
+ baseURLNoAuth = "http://" + getServerHost()
+ + ":" + Integer.getInteger("web.port", 8080) + "/";
GetMethod indexGet = new GetMethod(baseURLNoAuth+"web-role-map/Secured.jsp");
int responseCode = httpConn.executeMethod(indexGet);
String body = indexGet.getResponseBodyAsString();
More information about the jboss-cvs-commits
mailing list