|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--org.objectweb.jonas.jtests.util.JTestCase | +--org.objectweb.jonas.jtests.clients.exception.A_Catcher | +--org.objectweb.jonas.jtests.clients.exception.A_CatcherEntity
Fields inherited from class org.objectweb.jonas.jtests.util.JTestCase |
ictx, isInit, jonasName, msgerror, testtorun, utx |
Constructor Summary | |
A_CatcherEntity(java.lang.String name)
|
Method Summary | |
AccountE |
getAccount(int i)
return an Account |
AccountS |
getAccountS(int i)
return an AccountS must be defined for common tests (A_Catcher.java) |
abstract AccountEHome |
getHome()
return AccontHome, that can be either BMP or CMP bean. |
void |
testApplicationCallerTx2()
Test business method throwing an Application exception. |
void |
testApplicationContTx2()
Test business method throwing an Application exception. |
void |
testApplicationContTxRb2()
Test business method throwing an Application exception. |
void |
testApplicationHomeContTx()
Test create method throwing an Application exception. |
void |
testApplicationHomeNoTx()
Test home method throwing an Application exception. |
void |
testApplicationHomeUserTx()
Test Create method throwing an Application exception. |
void |
testApplicationRemovePkContTx()
Test remove(pk) method throwing an Application exception (RemoveException). |
void |
testApplicationRemovePkUserTx()
Test remove(pk) method throwing an Application exception (RemoveException). |
void |
testApplicationRemoveThisContTx()
Test remove() method throwing an Application exception (RemoveException). |
void |
testApplicationRemoveThisUserTx()
Test remove() method throwing an Application exception (RemoveException). |
void |
testRuntimeCallerTx()
Test RuntimeException in a container-invoked callback (ejbStore) Methods runs in the context of the caller's transaction -> RollbackException should be received by the client on commit. |
void |
testRuntimeContTx()
Test RuntimeException in a container-invoked callback (ejbStore) The bean has the TransationRequired attribute. |
void |
testUncheckedHomeContTx()
Test ejbCreate method throwing an unchecked exception. |
void |
testUncheckedHomeUserTx()
Test ejbCreate method throwing an unchecked exception. |
Methods inherited from class org.objectweb.jonas.jtests.clients.exception.A_Catcher |
setUp, testApplicationCallerTx1, testApplicationContTx1, testApplicationContTxRb1, testApplicationNotTx, testApplicationNoTx, testEJBContTx, testRemoteCallerTx, testUncheckedCallerTx, testUncheckedContTx, testUncheckedNoTx |
Methods inherited from class org.objectweb.jonas.jtests.util.JTestCase |
debug, getDBEnv, random, sleep, tearDown, testEmpty, unloadBeans, useBeans |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public A_CatcherEntity(java.lang.String name)
Method Detail |
public AccountE getAccount(int i)
public AccountS getAccountS(int i)
getAccountS
in class A_Catcher
public abstract AccountEHome getHome()
public void testApplicationCallerTx2() throws java.lang.Exception
public void testApplicationContTx2() throws java.lang.Exception
public void testApplicationContTxRb2() throws java.lang.Exception
public void testApplicationHomeUserTx() throws java.lang.Exception
public void testApplicationHomeContTx() throws java.lang.Exception
public void testApplicationHomeNoTx() throws java.lang.Exception
public void testApplicationRemovePkContTx() throws java.lang.Exception
public void testApplicationRemovePkUserTx() throws java.lang.Exception
public void testApplicationRemoveThisContTx() throws java.lang.Exception
public void testApplicationRemoveThisUserTx() throws java.lang.Exception
public void testRuntimeContTx() throws java.lang.Exception
public void testRuntimeCallerTx() throws java.lang.Exception
public void testUncheckedHomeContTx() throws java.lang.Exception
public void testUncheckedHomeUserTx() throws java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |