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.SLSBPCtxLifeCMETest00; 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 46 public class TestPersistenceLifetimeCMExtended01{ 47 48 51 private ItfTestPCtxLifeCM00 bean; 52 53 57 @BeforeMethod 58 public void startUp() throws Exception { 59 bean = getBeanRemoteInstance(SLSBPCtxLifeCMETest00.class, ItfTestPCtxLifeCM00.class); 60 bean.startUp(); 61 } 62 63 72 @Test 73 public void test00() throws Exception { 74 bean.test00(); 75 } 76 77 84 @Test 85 public void test01() throws Exception { 86 bean.test01(); 87 } 88 89 97 @Test 98 public void test02() throws Exception { 99 bean.test02(); 100 } 101 102 110 @Test 111 public void test03() throws Exception { 112 bean.test03(); 113 } 114 115 123 @Test 124 public void test04() throws Exception { 125 bean.test04(); 126 } 127 128 132 @AfterMethod 133 public void tearDown() throws Exception { 134 bean.tearDown(); 135 } 136 } 137 | Popular Tags |