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.SLSBClassInterceptorTest00; 31 import org.objectweb.easybeans.tests.interceptors.business.base.invocationorder.BaseClassInterceptor00; 32 import org.testng.annotations.BeforeMethod; 33 import org.testng.annotations.Test; 34 35 52 public class TestSLClassInterceptor00 extends BaseClassInterceptor00{ 53 54 58 @SuppressWarnings ("unchecked") 59 @BeforeMethod 60 public void startUp() throws Exception { 61 ItfClassInterceptor<Integer > bean = getBeanRemoteInstance(SLSBClassInterceptorTest00.class, ItfClassInterceptor.class); 62 super.setBean(bean); 63 } 64 65 68 @Override 69 @Test(groups = {"onlyClassInterceptor"}) 70 public void testClassInterCallOrder00() { 71 super.testClassInterCallOrder00(); 72 } 73 74 77 @Override 78 @Test(groups = {"excludeDefaultInterceptor"}) 79 public void testClassInterCallOrder01() { 80 super.testClassInterCallOrder01(); 81 } 82 83 86 @Override 87 @Test(groups = {"excludeClassInterceptor", "onlyClassInterceptor"}) 88 public void testClassInterCallOrder02() { 89 super.testClassInterCallOrder02(); 90 } 91 92 95 @Override 96 @Test(groups = {"methodInterceptor", "excludeClassInterceptor"}) 97 public void testClassInterCallOrder03() { 98 super.testClassInterCallOrder03(); 99 } 100 101 104 @Override 105 @Test(groups = {"excludeDefaultInterceptor", "excludeClassInterceptor", "methodInterceptor", "withInheritance"}) 106 public void testClassInterCallOrder04() { 107 super.testClassInterCallOrder04(); 108 } 109 110 113 @Override 114 @Test(groups = {"methodInterceptor", "withInheritance"}) 115 public void testClassInterCallOrder05() { 116 super.testClassInterCallOrder05(); 117 } 118 119 122 @Override 123 @Test(groups = {"methodInterceptor"}) 124 public void testClassInterCallOrder06() { 125 super.testClassInterCallOrder06(); 126 } 127 128 } 129 | Popular Tags |