|
|||||||||
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.transaction.A_TxAttribute | +--org.objectweb.jonas.jtests.clients.transaction.A_TxAttributeEntity
Fields inherited from class org.objectweb.jonas.jtests.util.JTestCase |
ictx, isInit, jonasName, msgerror, testtorun, utx |
Constructor Summary | |
A_TxAttributeEntity(java.lang.String name)
|
Method Summary | |
abstract SimpleEHome |
getHome()
return SimpleHome, that can be either BMP or CMP bean. |
void |
testCreateMandatory()
Test Mandatory transactional attributes on create method the create method xith required is called outside TX |
void |
testCreateMandatoryTx()
Test Mandatory transactional attributes on create method the create method xith required is called inside TX |
void |
testCreateNever()
Test Never transactional attributes on create method the create method xith required is called outside TX |
void |
testCreateNeverTx()
Test Never transactional attributes on create method the create method xith required is called inside TX |
void |
testCreateNotSupported()
Test NotSupported transactional attributes on create method the create method xith required is called outside TX |
void |
testCreateNotSupportedTx()
Test NotSupported transactional attributes on create method the create method xith required is called inside TX |
void |
testCreateRequired()
Test Required transactional attributes on create method the create method xith required is called outside TX |
void |
testCreateRequiredTx()
Test Required transactional attributes on create method the create method xith required is called inside TX |
void |
testCreateRequiresNew()
Test RequiresNew transactional attributes on create method the create method xith required is called outside TX |
void |
testCreateRequiresNewTx()
Test RequiresNew transactional attributes on create method the create method xith required is called inside TX |
void |
testCreateSupports()
Test Supports transactional attributes on create method the create method xith required is called outside TX |
void |
testCreateSupportsTx()
Test Supports transactional attributes on create method the create method xith required is called inside TX |
void |
testHomeMandatory()
Test of Mandatory attribute A home method with Mandatory is called outside TX this method returns if the thread is associated to a transaction A javax.transaction.TransactionRequiredException must be received |
void |
testHomeMandatoryTx()
Test of Mandatory attribute A home method with Mandatory is called inside TX this method returns if the thread is associated to a transaction the expected value is true |
void |
testHomeNever()
Test of Never attribute A home method with Never is called outside TX this method returns if the thread is associated to a transaction the expected value is false |
void |
testHomeNeverTx()
Test of Never attribute A home method with Mandatory is called inside TX this method returns if the thread is associated to a transaction A java.rmi.RemoteException must be received |
void |
testHomeNotSupported()
Test of NotSupported attribute A home method with NotSupported is called outside TX this method returns if the thread is associated to a transaction the expected value is false |
void |
testHomeNotSupportedTx()
Test of NotSupported attribute A home method with NotSupported is called inside TX this method returns if the thread is associated to a transaction the expected value is false |
void |
testHomeNoTx()
Test the sequence of several calls to home methods with different transactional contexts |
void |
testHomeRequired()
Test of Required attribute A home method with Required is called outside TX this method returns if the thread is associated to a transaction the expected value is true |
void |
testHomeRequiredTx()
Test of Required attribute A home method with Required is called inside TX this method returns if the thread is associated to a transaction the expected value is true |
void |
testHomeRequiresNew()
Test of RequiresNew attribute A home method with RequiresNew is called outside TX this method returns if the thread is associated to a transaction the expected value is true |
void |
testHomeRequiresNewTx()
Test of RequiresNew attribute A home method with RequiresNew is called inside TX this method returns if the thread is associated to a transaction the expected value is true |
void |
testHomeSupports()
Test of Supports attribute A home method with Supports is called outside TX this method returns if the thread is associated to a transaction the expected value is false |
void |
testHomeSupportsTx()
Test of Supports attribute A home method with Supports is called inside TX this method returns if the thread is associated to a transaction the expected value is true |
Methods inherited from class org.objectweb.jonas.jtests.clients.transaction.A_TxAttribute |
getSimple, testMandatory, testMandatoryTx, testNever, testNeverTx, testNotSupported, testNotSupportedTx, testNoTx, testRequired, testRequiredRequiresNew, testRequiredRequiresNew2, testRequiredTx, testRequiresNew, testRequiresNewTx, testSupports, testSupportsTx |
Methods inherited from class org.objectweb.jonas.jtests.util.JTestCase |
debug, getDBEnv, random, setUp, 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_TxAttributeEntity(java.lang.String name)
Method Detail |
public abstract SimpleEHome getHome()
public void testCreateRequired() throws java.lang.Exception
public void testCreateRequiredTx() throws java.lang.Exception
public void testCreateNotSupported() throws java.lang.Exception
public void testCreateNotSupportedTx() throws java.lang.Exception
public void testCreateNever() throws java.lang.Exception
public void testCreateNeverTx() throws java.lang.Exception
public void testCreateRequiresNew() throws java.lang.Exception
public void testCreateRequiresNewTx() throws java.lang.Exception
public void testCreateMandatory() throws java.lang.Exception
public void testCreateMandatoryTx() throws java.lang.Exception
public void testCreateSupports() throws java.lang.Exception
public void testCreateSupportsTx() throws java.lang.Exception
public void testHomeNotSupported() throws java.lang.Exception
public void testHomeRequiresNew() throws java.lang.Exception
public void testHomeRequired() throws java.lang.Exception
public void testHomeMandatory() throws java.lang.Exception
public void testHomeNever() throws java.lang.Exception
public void testHomeSupports() throws java.lang.Exception
public void testHomeNotSupportedTx() throws java.lang.Exception
public void testHomeRequiresNewTx() throws java.lang.Exception
public void testHomeRequiredTx() throws java.lang.Exception
public void testHomeMandatoryTx() throws java.lang.Exception
public void testHomeNeverTx() throws java.lang.Exception
public void testHomeSupportsTx() throws java.lang.Exception
public void testHomeNoTx() throws java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |