org.jboss.test.exception
Class EntityExceptionUnitTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.util.ejb.EJBTestCase (src) 
          extended byorg.jboss.test.exception.EntityExceptionUnitTestCase

public class EntityExceptionUnitTestCase
extends EJBTestCase (src)

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.test.util.ejb.EJBTestCase (src)
props
 
Constructor Summary
EntityExceptionUnitTestCase(java.lang.String name)
           
 
Method Summary
 void setUp()
          Looks up all of the home interfaces and creates the initial data.
static Test suite()
           
 void testApplicationErrorInTx_local()
           
 void testApplicationErrorInTx_remote()
           
 void testApplicationErrorNewTx_local()
           
 void testApplicationErrorNewTx_remote()
           
 void testApplicationErrorNoTx_local()
           
 void testApplicationErrorNoTx_remote()
           
 void testApplicationExceptionInTx_local()
           
 void testApplicationExceptionInTx_remote()
           
 void testApplicationExceptionInTxMarkRollback_local()
           
 void testApplicationExceptionInTxMarkRollback_remote()
           
 void testApplicationExceptionNewTx_local()
           
 void testApplicationExceptionNewTx_remote()
           
 void testApplicationExceptionNewTxMarkRollback_local()
           
 void testApplicationExceptionNewTxMarkRollback_remote()
           
 void testApplicationExceptionNoTx_local()
           
 void testApplicationExceptionNoTx_remote()
           
 void testDiscardedApplicationErrorInTx_local()
           
 void testDiscardedApplicationErrorInTx_remote()
           
 void testDiscardedApplicationErrorNewTx_local()
           
 void testDiscardedApplicationErrorNewTx_remote()
           
 void testDiscardedApplicationErrorNoTx_local()
           
 void testDiscardedApplicationErrorNoTx_remote()
           
 void testDiscardedEJBExceptionInTx_local()
           
 void testDiscardedEJBExceptionInTx_remote()
           
 void testDiscardedEJBExceptionNewTx_local()
           
 void testDiscardedEJBExceptionNewTx_remote()
           
 void testDiscardedEJBExceptionNoTx_local()
           
 void testDiscardedEJBExceptionNoTx_remote()
           
 void testDiscardedRemoteExceptionInTx_remote()
           
 void testDiscardedRemoteExceptionNewTx_remote()
           
 void testDiscardedRemoteExceptionNoTx_remote()
           
 void testDiscardedRuntimeExceptionInTx_local()
           
 void testDiscardedRuntimeExceptionInTx_remote()
           
 void testDiscardedRuntimeExceptionNewTx_local()
           
 void testDiscardedRuntimeExceptionNewTx_remote()
           
 void testDiscardedRuntimeExceptionNoTx_local()
           
 void testDiscardedRuntimeExceptionNoTx_remote()
           
 void testEJBExceptionInTx_local()
           
 void testEJBExceptionInTx_remote()
           
 void testEJBExceptionNewTx_local()
           
 void testEJBExceptionNewTx_remote()
           
 void testEJBExceptionNoTx_local()
           
 void testEJBExceptionNoTx_remote()
           
 void testNotDiscardedApplicationExceptionInTx_local()
           
 void testNotDiscardedApplicationExceptionInTx_remote()
           
 void testNotDiscardedApplicationExceptionNewTx_local()
           
 void testNotDiscardedApplicationExceptionNewTx_remote()
           
 void testNotDiscardedApplicationExceptionNoTx_local()
           
 void testNotDiscardedApplicationExceptionNoTx_remote()
           
 void testRemoteExceptionInTx_remote()
           
 void testRemoteExceptionNewTx_remote()
           
 void testRemoteExceptionNoTx_remote()
           
 void testRuntimeExceptionInTx_local()
           
 void testRuntimeExceptionInTx_remote()
           
 void testRuntimeExceptionNewTx_local()
           
 void testRuntimeExceptionNewTx_remote()
           
 void testRuntimeExceptionNoTx_local()
           
 void testRuntimeExceptionNoTx_remote()
           
 
Methods inherited from class org.jboss.test.util.ejb.EJBTestCase (src)
getEJBRunnerJndiName, getProps, isServerSide, run, runBare, setProps, setServerSide, setUpEJB, tearDownEJB
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityExceptionUnitTestCase

public EntityExceptionUnitTestCase(java.lang.String name)
Method Detail

suite

public static Test suite()
                  throws java.lang.Exception
Throws:
java.lang.Exception

setUp

public void setUp()
           throws java.lang.Exception
Looks up all of the home interfaces and creates the initial data. Looking up objects in JNDI is expensive, so it should be done once and cached.

Throws:
java.lang.Exception - if a problem occures while finding the home interfaces, or if an problem occures while createing the initial data

testApplicationExceptionInTx_remote

public void testApplicationExceptionInTx_remote()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testNotDiscardedApplicationExceptionInTx_remote

public void testNotDiscardedApplicationExceptionInTx_remote()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testApplicationExceptionInTxMarkRollback_remote

public void testApplicationExceptionInTxMarkRollback_remote()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testApplicationErrorInTx_remote

public void testApplicationErrorInTx_remote()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedApplicationErrorInTx_remote

public void testDiscardedApplicationErrorInTx_remote()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

testEJBExceptionInTx_remote

public void testEJBExceptionInTx_remote()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedEJBExceptionInTx_remote

public void testDiscardedEJBExceptionInTx_remote()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testRuntimeExceptionInTx_remote

public void testRuntimeExceptionInTx_remote()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedRuntimeExceptionInTx_remote

public void testDiscardedRuntimeExceptionInTx_remote()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

testRemoteExceptionInTx_remote

public void testRemoteExceptionInTx_remote()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedRemoteExceptionInTx_remote

public void testDiscardedRemoteExceptionInTx_remote()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testApplicationExceptionNewTx_remote

public void testApplicationExceptionNewTx_remote()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testNotDiscardedApplicationExceptionNewTx_remote

public void testNotDiscardedApplicationExceptionNewTx_remote()
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

testApplicationExceptionNewTxMarkRollback_remote

public void testApplicationExceptionNewTxMarkRollback_remote()
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

testApplicationErrorNewTx_remote

public void testApplicationErrorNewTx_remote()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedApplicationErrorNewTx_remote

public void testDiscardedApplicationErrorNewTx_remote()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testEJBExceptionNewTx_remote

public void testEJBExceptionNewTx_remote()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedEJBExceptionNewTx_remote

public void testDiscardedEJBExceptionNewTx_remote()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testRuntimeExceptionNewTx_remote

public void testRuntimeExceptionNewTx_remote()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedRuntimeExceptionNewTx_remote

public void testDiscardedRuntimeExceptionNewTx_remote()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testRemoteExceptionNewTx_remote

public void testRemoteExceptionNewTx_remote()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedRemoteExceptionNewTx_remote

public void testDiscardedRemoteExceptionNewTx_remote()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

testApplicationExceptionNoTx_remote

public void testApplicationExceptionNoTx_remote()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testNotDiscardedApplicationExceptionNoTx_remote

public void testNotDiscardedApplicationExceptionNoTx_remote()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testApplicationErrorNoTx_remote

public void testApplicationErrorNoTx_remote()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedApplicationErrorNoTx_remote

public void testDiscardedApplicationErrorNoTx_remote()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

testEJBExceptionNoTx_remote

public void testEJBExceptionNoTx_remote()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedEJBExceptionNoTx_remote

public void testDiscardedEJBExceptionNoTx_remote()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testRuntimeExceptionNoTx_remote

public void testRuntimeExceptionNoTx_remote()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedRuntimeExceptionNoTx_remote

public void testDiscardedRuntimeExceptionNoTx_remote()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

testRemoteExceptionNoTx_remote

public void testRemoteExceptionNoTx_remote()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedRemoteExceptionNoTx_remote

public void testDiscardedRemoteExceptionNoTx_remote()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testApplicationExceptionInTx_local

public void testApplicationExceptionInTx_local()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testNotDiscardedApplicationExceptionInTx_local

public void testNotDiscardedApplicationExceptionInTx_local()
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testApplicationExceptionInTxMarkRollback_local

public void testApplicationExceptionInTxMarkRollback_local()
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testApplicationErrorInTx_local

public void testApplicationErrorInTx_local()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedApplicationErrorInTx_local

public void testDiscardedApplicationErrorInTx_local()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testEJBExceptionInTx_local

public void testEJBExceptionInTx_local()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedEJBExceptionInTx_local

public void testDiscardedEJBExceptionInTx_local()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testRuntimeExceptionInTx_local

public void testRuntimeExceptionInTx_local()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedRuntimeExceptionInTx_local

public void testDiscardedRuntimeExceptionInTx_local()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testApplicationExceptionNewTx_local

public void testApplicationExceptionNewTx_local()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testNotDiscardedApplicationExceptionNewTx_local

public void testNotDiscardedApplicationExceptionNewTx_local()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testApplicationExceptionNewTxMarkRollback_local

public void testApplicationExceptionNewTxMarkRollback_local()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testApplicationErrorNewTx_local

public void testApplicationErrorNewTx_local()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedApplicationErrorNewTx_local

public void testDiscardedApplicationErrorNewTx_local()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

testEJBExceptionNewTx_local

public void testEJBExceptionNewTx_local()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedEJBExceptionNewTx_local

public void testDiscardedEJBExceptionNewTx_local()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testRuntimeExceptionNewTx_local

public void testRuntimeExceptionNewTx_local()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedRuntimeExceptionNewTx_local

public void testDiscardedRuntimeExceptionNewTx_local()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

testApplicationExceptionNoTx_local

public void testApplicationExceptionNoTx_local()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testNotDiscardedApplicationExceptionNoTx_local

public void testNotDiscardedApplicationExceptionNoTx_local()
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testApplicationErrorNoTx_local

public void testApplicationErrorNoTx_local()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedApplicationErrorNoTx_local

public void testDiscardedApplicationErrorNoTx_local()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testEJBExceptionNoTx_local

public void testEJBExceptionNoTx_local()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedEJBExceptionNoTx_local

public void testDiscardedEJBExceptionNoTx_local()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testRuntimeExceptionNoTx_local

public void testRuntimeExceptionNoTx_local()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testDiscardedRuntimeExceptionNoTx_local

public void testDiscardedRuntimeExceptionNoTx_local()
                                             throws java.lang.Exception
Throws:
java.lang.Exception