1 25 package org.objectweb.easybeans.tests.interceptors.business.stateless.containermanaged; 26 27 import static org.objectweb.easybeans.tests.common.helper.EJBHelper.getBeanRemoteInstance; 28 29 import org.objectweb.easybeans.tests.common.ejbs.base.ItfClassInterceptor; 30 import org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.interceptororder.SLSBClassInterceptorTest01; 31 import org.objectweb.easybeans.tests.interceptors.business.base.invocationorder.BaseClassInterceptor01; 32 import org.testng.annotations.BeforeMethod; 33 import org.testng.annotations.Test; 34 35 52 public class TestSLClassInterceptor01 extends BaseClassInterceptor01{ 53 54 58 @SuppressWarnings ("unchecked") 59 @BeforeMethod 60 public void startUp() throws Exception { 61 ItfClassInterceptor<Integer > bean = getBeanRemoteInstance(SLSBClassInterceptorTest01.class, ItfClassInterceptor.class); 62 super.setBean(bean); 63 } 64 65 69 @Override 70 @Test(groups = {"onlyClassInterceptor"}) 71 public void testClassInterCallOrder00() { 72 super.testClassInterCallOrder00(); 73 } 74 75 79 @Override 80 @Test(groups = {"excludeDefaultInterceptor", "onlyClassInterceptor"}) 81 public void testClassInterCallOrder01() { 82 super.testClassInterCallOrder01(); 83 } 84 85 89 @Override 90 @Test(groups = {"excludeClassInterceptor", "onlyClassInterceptor"}) 91 public void testClassInterCallOrder02() { 92 super.testClassInterCallOrder02(); 93 } 94 95 99 @Override 100 @Test(groups = {"methodInterceptor", "excludeClassInterceptor"}) 101 public void testClassInterCallOrder03() { 102 super.testClassInterCallOrder03(); 103 } 104 105 109 @Override 110 @Test(groups = {"excludeClassInterceptor", "methodInterceptor", "withInheritance"}) 111 public void testClassInterCallOrder04() { 112 super.testClassInterCallOrder04(); 113 } 114 115 119 @Override 120 @Test(groups = {"methodInterceptor", "withInheritance"}) 121 public void testClassInterCallOrder05() { 122 super.testClassInterCallOrder05(); 123 } 124 125 129 @Override 130 @Test(groups = {"methodInterceptor"}) 131 public void testClassInterCallOrder06() { 132 super.testClassInterCallOrder06(); 133 } 134 } 135 | Popular Tags |