| |
|
| org.objectweb.jonas.jtests.clients.transaction.A_TxAttribute org.objectweb.jonas.jtests.clients.transaction.A_TxAttributeEntity
All known Subclasses: org.objectweb.jonas.jtests.clients.transaction.F_TxAttributeEB, org.objectweb.jonas.jtests.clients.transaction.F_TxAttributeEC2, org.objectweb.jonas.jtests.clients.transaction.F_TxAttributeEC,
A_TxAttributeEntity | abstract public class A_TxAttributeEntity extends A_TxAttribute (Code) | | Here are found transactional attribute tests
common but specific for all type of entity beans (BMP, CMP1.1, CMP2.0)
Tests on finder and create methods
author: Philippe Durieux (jonas team) |
A_TxAttributeEntity | public A_TxAttributeEntity(String name)(Code) | | constructor
Parameters: name - name of the test suite. |
getHome | abstract protected SimpleEHome getHome()(Code) | | return SimpleHome, that can be either BMP, CMP1, or CMP2 bean.
|
testCreateMandatory | public void testCreateMandatory() throws Exception(Code) | | Test Mandatory transactional attributes on create method
the create method xith required is called outside TX
|
testCreateMandatoryTx | public void testCreateMandatoryTx() throws Exception(Code) | | Test Mandatory transactional attributes on create method
the create method xith required is called inside TX
|
testCreateNever | public void testCreateNever() throws Exception(Code) | | Test Never transactional attributes on create method
the create method xith required is called outside TX
|
testCreateNeverTx | public void testCreateNeverTx() throws Exception(Code) | | Test Never transactional attributes on create method
the create method xith required is called inside TX
|
testCreateNotSupported | public void testCreateNotSupported() throws Exception(Code) | | Test NotSupported transactional attributes on create method
the create method xith required is called outside TX
|
testCreateNotSupportedTx | public void testCreateNotSupportedTx() throws Exception(Code) | | Test NotSupported transactional attributes on create method
the create method xith required is called inside TX
|
testCreateRequired | public void testCreateRequired() throws Exception(Code) | | Test Required transactional attributes on create method
the create method xith required is called outside TX
|
testCreateRequiredTx | public void testCreateRequiredTx() throws Exception(Code) | | Test Required transactional attributes on create method
the create method xith required is called inside TX
|
testCreateRequiresNew | public void testCreateRequiresNew() throws Exception(Code) | | Test RequiresNew transactional attributes on create method
the create method xith required is called outside TX
|
testCreateRequiresNewTx | public void testCreateRequiresNewTx() throws Exception(Code) | | Test RequiresNew transactional attributes on create method
the create method xith required is called inside TX
|
testCreateSupports | public void testCreateSupports() throws Exception(Code) | | Test Supports transactional attributes on create method
the create method xith required is called outside TX
|
testCreateSupportsTx | public void testCreateSupportsTx() throws Exception(Code) | | Test Supports transactional attributes on create method
the create method xith required is called inside TX
|
testHomeMandatory | public void testHomeMandatory() throws Exception(Code) | | 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
|
testHomeMandatoryTx | public void testHomeMandatoryTx() throws Exception(Code) | | 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
|
testHomeNever | public void testHomeNever() throws Exception(Code) | | 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
|
testHomeNeverTx | public void testHomeNeverTx() throws Exception(Code) | | 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
|
testHomeNoTx | public void testHomeNoTx() throws Exception(Code) | | Test the sequence of several calls to home methods
with different transactional contexts
|
testHomeNotSupported | public void testHomeNotSupported() throws Exception(Code) | | 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
|
testHomeNotSupportedTx | public void testHomeNotSupportedTx() throws Exception(Code) | | 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
|
testHomeRequired | public void testHomeRequired() throws Exception(Code) | | 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
|
testHomeRequiredTx | public void testHomeRequiredTx() throws Exception(Code) | | 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
|
testHomeRequiresNew | public void testHomeRequiresNew() throws Exception(Code) | | 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
|
testHomeRequiresNewTx | public void testHomeRequiresNewTx() throws Exception(Code) | | 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
|
testHomeSupports | public void testHomeSupports() throws Exception(Code) | | 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
|
testHomeSupportsTx | public void testHomeSupportsTx() throws Exception(Code) | | 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
|
|
|
|