User: starksm
Date: 02/04/17 01:30:46
Modified: src/main/org/jboss/test/web/test
WebIntegrationUnitTestCase.java
Log:
Add a test of accessing an entity bean from a servlet
Revision Changes Path
1.14 +8 -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
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- WebIntegrationUnitTestCase.java 16 Feb 2002 05:36:56 -0000 1.13
+++ WebIntegrationUnitTestCase.java 17 Apr 2002 08:30:46 -0000 1.14
@@ -34,7 +34,7 @@
with a role of 'AuthorizedUser' in the servlet container.
@author [EMAIL PROTECTED]
- @version $Revision: 1.13 $
+ @version $Revision: 1.14 $
*/
public class WebIntegrationUnitTestCase extends JBossTestCase
{
@@ -65,6 +65,13 @@
public void testEJBServlet() throws Exception
{
URL url = new URL(baseURL+"jbosstest/EJBServlet");
+ accessURL(url);
+ }
+ /** Access the http://localhost/jbosstest/EntityServlet
+ */
+ public void testEntityServlet() throws Exception
+ {
+ URL url = new URL(baseURL+"jbosstest/EntityServlet");
accessURL(url);
}
/** Access the http://localhost/jbosstest/UserTransactionServlet
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development