|
|||||||||
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.F_CatcherBMT
Exception test cases specific for session with bean-managed transaction
2.0 table 16 page377
Field Summary | |
protected static AccountSHome |
home
|
Fields inherited from class org.objectweb.jonas.jtests.util.JTestCase |
ictx, isInit, jonasName, msgerror, testtorun, utx |
Constructor Summary | |
F_CatcherBMT(java.lang.String name)
|
Method Summary | |
AccountS |
getAccountS(int i)
return an AccountS |
AccountSHome |
getHome()
|
static void |
main(java.lang.String[] args)
|
protected void |
setUp()
common setUp routine, used for every test. |
static junit.framework.Test |
suite()
|
void |
testApplicationBMT()
Test business method throwing an Application exception. |
void |
testUncheckedBMT()
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 |
Field Detail |
protected static AccountSHome home
Constructor Detail |
public F_CatcherBMT(java.lang.String name)
Method Detail |
protected void setUp()
JTestCase
setUp
in class JTestCase
public AccountSHome getHome()
public AccountS getAccountS(int i)
public void testApplicationBMT() throws java.lang.Exception
public void testUncheckedBMT() throws java.lang.Exception
public static junit.framework.Test suite()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |