From: Scott M S. <st...@us...> - 2002-06-17 19:58:26
|
User: starksm Date: 02/06/17 12:58:26 Modified: src/main/org/jboss/test/web/test Tag: Branch_3_0 WebIntegrationUnitTestCase.java Log: Add a servlet for testing servlet API calls that can be affected by the integration layer Revision Changes Path No revision No revision 1.13.2.3 +15 -1 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.13.2.2 retrieving revision 1.13.2.3 diff -u -r1.13.2.2 -r1.13.2.3 --- WebIntegrationUnitTestCase.java 27 May 2002 17:06:18 -0000 1.13.2.2 +++ WebIntegrationUnitTestCase.java 17 Jun 2002 19:58:25 -0000 1.13.2.3 @@ -34,7 +34,7 @@ with a role of 'AuthorizedUser' in the servlet container. @author Sco...@jb... - @version $Revision: 1.13.2.2 $ + @version $Revision: 1.13.2.3 $ */ public class WebIntegrationUnitTestCase extends JBossTestCase { @@ -86,6 +86,20 @@ public void testSnoopJSP() throws Exception { URL url = new URL(baseURL+"jbosstest/snoop.jsp"); + accessURL(url); + } + /** Access the http://localhost/jbosstest/snoop.jsp + */ + public void testSnoopJSPByPattern() throws Exception + { + URL url = new URL(baseURL+"jbosstest/test-snoop.snp"); + accessURL(url); + } + /** Access the http://localhost/jbosstest/test-jsp-mapping + */ + public void testSnoopJSPByMapping() throws Exception + { + URL url = new URL(baseURL+"jbosstest/test-jsp-mapping"); accessURL(url); } /** Access the http://localhost/jbosstest/ClientLoginServlet |