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.base.persistencectxlife.BasePctxLifeCMTTester00; 30 import org.objectweb.easybeans.tests.common.ejbs.base.persistencectxlife.ItfPCtxLifetime00; 31 import org.objectweb.easybeans.tests.common.ejbs.stateful.containermanaged.persistencectxlife.SFSBPCtxLifeCMT00; 32 import org.testng.annotations.AfterMethod; 33 import org.testng.annotations.BeforeMethod; 34 import org.testng.annotations.Test; 35 36 48 public class TestPersistenceLifetimeCMTransaction00 extends BasePctxLifeCMTTester00{ 49 50 54 @BeforeMethod 55 public void startUp() throws Exception { 56 ItfPCtxLifetime00 bean00 = getBeanRemoteInstance(SFSBPCtxLifeCMT00.class, ItfPCtxLifetime00.class); 57 super.setBean(bean00); 58 } 59 60 69 @Override 70 @Test 71 public void test00() throws Exception { 72 super.test00(); 73 } 74 75 82 @Override 83 @Test 84 public void test01() throws Exception { 85 super.test01(); 86 } 87 88 97 @Override 98 @Test 99 public void test02() throws Exception { 100 super.test02(); 101 } 102 103 108 @Override 109 @Test 110 public void test03() throws Exception { 111 super.test03(); 112 } 113 114 119 @Override 120 @Test 121 public void test04() throws Exception { 122 super.test04(); 123 } 124 125 129 @Override 130 @AfterMethod 131 public void tearDown() throws Exception { 132 super.tearDown(); 133 } 134 } 135 | Popular Tags |