Verifies if the container-managed transaction in the stateful bean is
following the JSR 220.The items covered in this test are: 12.6.2.3.
author: Gisele Pinheiro Souza author: Eduardo Studzinski Estima de Castro
Method Summary
public void
testGetRollbackOnly() Verifies if the EJBContext.getRollbackOnly() works properly.
public void
testSetRollbackOnly() Verifies if the EJBContext.setRollbackOnly() works properly.
public void
testUsingClientTrans() Verifies if the container uses the same transaction that the client.
Verifies if the EJBContext.getRollbackOnly() works properly. For the
attribute supports the container must throw an IllegalStateException.
throws: Exception - if an error during the test occurs.
Verifies if the EJBContext.setRollbackOnly() works properly. For the
attribute supports, the container must throw an IllegalStateException.
throws: Exception - if an error during the test occurs.
Verifies if the container uses the same transaction that the client. The
client rollback must to force a bean rollback, because the both use the
same transaction. In this case the supports has the same behaviour that
the required.
throws: Exception - if an error during the tests occurs.
Fields inherited from org.ow2.easybeans.tests.transaction.containermanaged.base.TestContainerTransactionBase