|
|||||||||
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
Exception test cases common for all type of beans (Entity/Session)
Fields inherited from class org.objectweb.jonas.jtests.util.JTestCase |
ictx, isInit, jonasName, msgerror, testtorun, utx |
Constructor Summary | |
A_Catcher(java.lang.String name)
|
Method Summary | |
abstract AccountS |
getAccountS(int i)
This method depends on the home used to get it. |
protected void |
setUp()
common setUp routine, used for every test. |
void |
testApplicationCallerTx1()
Test business method throwing an Application exception. |
void |
testApplicationContTx1()
Test business method throwing an Application exception. |
void |
testApplicationContTxRb1()
Test business method throwing an Application exception. |
void |
testApplicationNotTx()
Test business method throwing an Application exception. |
void |
testApplicationNoTx()
Test business method throwing an Application exception. |
void |
testEJBContTx()
Test business method throwing an EJBException Called inside a containertransaction (RequiresNew). |
void |
testRemoteCallerTx()
Test business method throwing a RemoteException. |
void |
testUncheckedCallerTx()
Test business method throwing an unchecked exception. |
void |
testUncheckedContTx()
Test business method throwing an unchecked exception. |
void |
testUncheckedNoTx()
Test business method throwing an unchecked exception. |
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_Catcher(java.lang.String name)
Method Detail |
protected void setUp()
JTestCase
setUp
in class JTestCase
public abstract AccountS getAccountS(int i)
public void testApplicationNoTx() throws java.lang.Exception
public void testApplicationNotTx() throws java.lang.Exception
public void testApplicationContTx1() throws java.lang.Exception
public void testApplicationContTxRb1() throws java.lang.Exception
public void testApplicationCallerTx1() throws java.lang.Exception
public void testUncheckedCallerTx() throws java.lang.Exception
public void testUncheckedContTx() throws java.lang.Exception
public void testUncheckedNoTx() throws java.lang.Exception
public void testEJBContTx() throws java.lang.Exception
public void testRemoteCallerTx() throws java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |