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
testCallOtherBeanNotSup() Verifies if the container does not use the same transaction when the
other bean has the transaction attribute NOT_SUPPORTED.
public void
testCallOtherBeanReq() Verifies if the container does not use the same transaction when the
other bean has the transaction attribute REQUIRED.
Method Detail
testCallOtherBeanNotSup
public void testCallOtherBeanNotSup() 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 NOT_SUPPORTED does not has a transaction context, so there is not
transaction to be managed.The method throws a runtime exception.
throws: Exception - if an error during the tests occurs.
Verifies if the container does not use the same transaction when the
other bean has the transaction attribute REQUIRED. The attribute
transaction NOT_SUPPORTED does not has a transaction context, so there is not
transaction to be managed.The 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