| |
|
| java.lang.Object org.ow2.easybeans.tests.transaction.containermanaged.base.TestContainerTransactionException org.ow2.easybeans.tests.transaction.containermanaged.base.TestSupportsException
All known Subclasses: org.ow2.easybeans.tests.transaction.containermanaged.stateful.TestSupportsExceptionRemoteSFSB,
TestSupportsException | abstract public class TestSupportsException extends TestContainerTransactionException (Code) | | Verifies if the container-managed transaction in the session bean is
following the JSR 220. The container must handle the different types of
exception in the transaction context. The items covered in this test are:
13.3
author: Gisele Pinheiro Souza author: Eduardo Studzinski Estima de Castro |
Method Summary | |
public void | testCallOtherBeanNotSupWithTrans() Verifies if the container does not use the same transaction when the
other bean has the transaction attribute NOT_SUPPORTED. | public void | testCallOtherBeanNotSupWithoutTrans() Verifies if the container does not use the same transaction when the
other bean has the transaction attribute NOT_SUPPORTED. | public void | testCallOtherBeanReqWithTrans() Verifies if the container uses the same transaction when the other bean
has the transaction attribute REQUIRED. | public void | testCallOtherBeanReqWithoutTrans() Verifies if the container uses the same transaction when the other bean
has the transaction attribute REQUIRED.The bean method throws a runtime
exception. |
testCallOtherBeanNotSupWithTrans | public void testCallOtherBeanNotSupWithTrans() throws Exception(Code) | | Verifies if the container does not use the same transaction when the
other bean has the transaction attribute NOT_SUPPORTED. In this case, the
client has a transaction, so the bean performs in the same way than the
REQUIRED.
throws: Exception - if an error during the tests occurs. |
testCallOtherBeanNotSupWithoutTrans | public void testCallOtherBeanNotSupWithoutTrans() throws Exception(Code) | | Verifies if the container does not use the same transaction when the
other bean has the transaction attribute NOT_SUPPORTED. The attribute
transaction SUPPORTS has the same behavior that the attribute
NOT_SUPPORTED that does not have a transaction context, so there is not
transaction to be managed.The bean method throws a runtime exception.
throws: Exception - if an error during the tests occurs. |
testCallOtherBeanReqWithTrans | public void testCallOtherBeanReqWithTrans() throws Exception(Code) | | Verifies if the container uses the same transaction when the other bean
has the transaction attribute REQUIRED. In this case, the client has a
transaction, so the bean performs in the same way than the REQUIRED.
throws: Exception - if an error during the tests occurs. |
testCallOtherBeanReqWithoutTrans | public void testCallOtherBeanReqWithoutTrans() throws Exception(Code) | | Verifies if the container uses the same transaction when the other bean
has the transaction attribute REQUIRED.The bean method throws a runtime
exception.
throws: Exception - if an error during the tests occurs. |
Fields inherited from org.ow2.easybeans.tests.transaction.containermanaged.base.TestContainerTransactionException | final protected static String DATABASE_1(Code)(Java Doc) final protected static String DATABASE_2(Code)(Java Doc)
|
|
|
|