1 25 package org.objectweb.easybeans.tests.persistence.lifetime; 26 27 import static org.objectweb.easybeans.tests.common.helper.EJBHelper.getBeanRemoteInstance; 28 29 import org.objectweb.easybeans.tests.common.ejbs.stateless.beanmanaged.persistencectxlife.SLSBPCtxLifeCMTTest00; 30 import org.objectweb.easybeans.tests.common.interfaces.ItfTestPCtxLifeCM00; 31 import org.testng.annotations.AfterMethod; 32 import org.testng.annotations.BeforeMethod; 33 import org.testng.annotations.Test; 34 35 47 public class TestPersistenceLifetimeCMTransaction01{ 48 49 52 private ItfTestPCtxLifeCM00 bean; 53 54 58 @BeforeMethod 59 public void startUp() throws Exception { 60 bean = getBeanRemoteInstance(SLSBPCtxLifeCMTTest00.class, ItfTestPCtxLifeCM00.class); 61 bean.startUp(); 62 } 63 64 73 @Test 74 public void test00() throws Exception { 75 bean.test00(); 76 } 77 78 85 @Test 86 public void test01() throws Exception { 87 bean.test01(); 88 } 89 90 99 @Test 100 public void test02() throws Exception { 101 bean.test02(); 102 } 103 104 112 @Test 113 public void test03() throws Exception { 114 bean.test03(); 115 } 116 117 125 @Test 126 public void test04() throws Exception { 127 bean.test04(); 128 } 129 130 134 @AfterMethod 135 public void tearDown() throws Exception { 136 bean.tearDown(); 137 } 138 } 139 | Popular Tags |