User: sparre
Date: 01/09/25 11:07:19
Modified: src/main/org/jboss/test/web/test
WebIntegrationUnitTestCase.java
Log:
Added a test for using UserTransaction in servlets.
Revision Changes Path
1.4 +11 -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.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- WebIntegrationUnitTestCase.java 2001/09/18 22:00:45 1.3
+++ WebIntegrationUnitTestCase.java 2001/09/25 18:07:19 1.4
@@ -34,7 +34,7 @@
with a role of 'AuthorizedUser' in the servlet container.
@author [EMAIL PROTECTED]
- @version $Revision: 1.3 $
+ @version $Revision: 1.4 $
*/
public class WebIntegrationUnitTestCase extends JBossTestCase
{
@@ -76,6 +76,16 @@
return;
URL url = new URL(baseURL+"jbosstest/EJBServlet");
+ accessURL(url);
+ }
+ /** Access the http://localhost/jbosstest/UserTransactionServlet
+ */
+ public void testUserTransactionServlet() throws Exception
+ {
+ if( webServerAvailable == false )
+ return;
+
+ URL url = new URL(baseURL+"jbosstest/UserTransactionServlet");
accessURL(url);
}
/** Access the http://localhost/jbosstest/snoop.jsp
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development