User: sparre
Date: 01/10/05 04:39:52
Modified: src/main/org/jboss/test/web/test
WebIntegrationUnitTestCase.java
Log:
Fixed a simple compile error.
Revision Changes Path
1.8 +3 -3
jbosstest/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.java
Index: WebIntegrationUnitTestCase.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- WebIntegrationUnitTestCase.java 2001/10/05 09:10:40 1.7
+++ WebIntegrationUnitTestCase.java 2001/10/05 11:39:52 1.8
@@ -34,7 +34,7 @@
with a role of 'AuthorizedUser' in the servlet container.
@author [EMAIL PROTECTED]
- @version $Revision: 1.7 $
+ @version $Revision: 1.8 $
*/
public class WebIntegrationUnitTestCase extends JBossTestCase
{
@@ -100,7 +100,7 @@
*/
public void testSecureServletWithBadPass() throws Exception
{
- String baseURL = "http://jduke:badpass@localhost:" + port + '/';
+ String baseURL = "http://jduke:badpass@localhost:" +
Integer.getInteger("web.port", 8080) + '/';
URL url = new URL(baseURL+"jbosstest/restricted/SecureServlet");
accessURL(url, true);
}
@@ -108,7 +108,7 @@
*/
public void testSecureServletWithNoLogin() throws Exception
{
- String baseURL = "http://localhost:" + port + '/';
+ String baseURL = "http://localhost:" + Integer.getInteger("web.port", 8080) +
'/';
URL url = new URL(baseURL+"jbosstest/restricted/SecureServlet");
accessURL(url, true);
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development