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.ItfSimpleBean; 30 import org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.interceptororder.SLSBSimpleInterceptorTest00; 31 import org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.interceptororder.SLSBSimpleInterceptorTest01; 32 import org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.interceptororder.SLSBSimpleInterceptorTest02; 33 import org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.interceptororder.SLSBSimpleInterceptorTest03; 34 import org.objectweb.easybeans.tests.interceptors.business.base.invocationorder.BaseMiscInterceptor00; 35 import org.testng.annotations.BeforeMethod; 36 import org.testng.annotations.Test; 37 38 56 public class TestSLMiscInterceptor00 extends BaseMiscInterceptor00{ 57 58 62 @SuppressWarnings ("unchecked") 63 @BeforeMethod 64 public void startUp() throws Exception { 65 ItfSimpleBean<Integer > bean00 = getBeanRemoteInstance(SLSBSimpleInterceptorTest00.class, ItfSimpleBean.class); 66 ItfSimpleBean<Integer > bean01 = getBeanRemoteInstance(SLSBSimpleInterceptorTest01.class, ItfSimpleBean.class); 67 ItfSimpleBean<Integer > bean02 = getBeanRemoteInstance(SLSBSimpleInterceptorTest02.class, ItfSimpleBean.class); 68 ItfSimpleBean<Integer > bean03 = getBeanRemoteInstance(SLSBSimpleInterceptorTest03.class, ItfSimpleBean.class); 69 super.setBeans(bean00, bean01, bean02, bean03); 70 } 71 72 75 @Override 76 @Test(groups = {"withInterceptor"}) 77 public void testMiscPublicInterCallOrder() { 78 super.testMiscPublicInterCallOrder(); 79 } 80 81 84 @Override 85 @Test(groups = {"withInterceptor"}) 86 public void testMiscProtectedInterCallOrder() { 87 super.testMiscProtectedInterCallOrder(); 88 } 89 90 93 @Override 94 @Test(groups = {"withInterceptor"}) 95 public void testMiscPrivateInterCallOrder() { 96 super.testMiscPrivateInterCallOrder(); 97 } 98 99 102 @Override 103 @Test(groups = {"withInterceptor", "withInheritance"}) 104 public void testMiscInheritanceInterCallOrder00() { 105 super.testMiscInheritanceInterCallOrder00(); 106 } 107 108 111 @Override 112 @Test(groups = {"withInterceptor", "withInheritance"}) 113 public void testMiscInheritanceInterCallOrder01() { 114 super.testMiscInheritanceInterCallOrder01(); 115 } 116 117 120 @Override 121 @Test(groups = {"withInterceptor", "withInheritance"}) 122 public void testMiscInheritanceInterCallOrder02() { 123 super.testMiscInheritanceInterCallOrder02(); 124 } 125 126 129 @Override 130 @Test(groups = {"withInterceptor"}) 131 public void testMiscPackageInterCallOrder() { 132 super.testMiscPackageInterCallOrder(); 133 } 134 } 135 | Popular Tags |