Author: clebert.suconic(a)jboss.com
Date: 2010-12-27 19:10:31 -0500 (Mon, 27 Dec 2010)
New Revision: 10079
Modified:
trunk/tests/jms-tests/src/org/hornetq/jms/tests/SessionTest.java
Log:
two tests became invalid with the change on XA Sessions
Modified: trunk/tests/jms-tests/src/org/hornetq/jms/tests/SessionTest.java
===================================================================
--- trunk/tests/jms-tests/src/org/hornetq/jms/tests/SessionTest.java 2010-12-27 21:56:59
UTC (rev 10078)
+++ trunk/tests/jms-tests/src/org/hornetq/jms/tests/SessionTest.java 2010-12-28 00:10:31
UTC (rev 10079)
@@ -89,22 +89,6 @@
conn.close();
}
- public void testGetSession1() throws Exception
- {
- Connection conn = getConnectionFactory().createConnection();
- Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);
-
- try
- {
- ((XASession)sess).getSession();
- ProxyAssertSupport.fail("Should throw IllegalStateException");
- }
- catch (javax.jms.IllegalStateException e)
- {
- }
- conn.close();
- }
-
public void testGetSession2() throws Exception
{
XAConnection conn = getXAConnectionFactory().createXAConnection();
@@ -288,15 +272,6 @@
conn.close();
}
- public void testGetXAResource() throws Exception
- {
- Connection conn = getConnectionFactory().createConnection();
- Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);
-
- ((XASession)sess).getXAResource();
- conn.close();
- }
-
public void testGetXAResource2() throws Exception
{
XAConnection conn = getXAConnectionFactory().createXAConnection();
Show replies by date