| |
|
| java.lang.Object org.ow2.easybeans.tests.entity.TestResourceLevelTrans
TestResourceLevelTrans | public class TestResourceLevelTrans (Code) | | Verifies if the bean can use a resource level transaction.
author: Gisele Pinheiro Souza author: Eduardo Studzinski Estima de Castro |
Method Summary | |
public void | setup() Creates the stateful bean used during the tests. | public void | testResourceLevelCommit() Verifies if the method commit in the EnityTransaction interface works
well. | public void | testResourceLevelRollback() Verifies if the method rollback in the EnityTransaction interface works
well. | public void | testResourceLevelSetRollbackOnly() Verifies if the method setRollbackOnly in the EnityTransaction interface
works well. |
setup | public void setup() throws Exception(Code) | | Creates the stateful bean used during the tests.
throws: Exception - if an error occurs during the lookup. |
testResourceLevelCommit | public void testResourceLevelCommit()(Code) | | Verifies if the method commit in the EnityTransaction interface works
well.
|
testResourceLevelRollback | public void testResourceLevelRollback()(Code) | | Verifies if the method rollback in the EnityTransaction interface works
well.
|
testResourceLevelSetRollbackOnly | public void testResourceLevelSetRollbackOnly()(Code) | | Verifies if the method setRollbackOnly in the EnityTransaction interface
works well.
|
|
|
|