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.ItfMethodInterceptor; 30 import org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.interceptororder.SLSBMethodInterceptorTest; 31 import org.objectweb.easybeans.tests.interceptors.business.base.invocationorder.BaseMethodInterceptor; 32 import org.testng.annotations.BeforeMethod; 33 import org.testng.annotations.Test; 34 35 52 public class TestSLMethodInterceptor extends BaseMethodInterceptor { 53 54 58 @SuppressWarnings ("unchecked") 59 @BeforeMethod 60 public void startUp() throws Exception { 61 ItfMethodInterceptor<Integer > bean = getBeanRemoteInstance(SLSBMethodInterceptorTest.class, 62 ItfMethodInterceptor.class); 63 super.setBean(bean); 64 } 65 66 69 @Override 70 @Test(groups = {"withoutInterceptor"}) 71 public void interceptorMethodTest00() { 72 super.interceptorMethodTest00(); 73 } 74 75 78 @Override 79 @Test(groups = {"withInterceptor"}) 80 public void interceptorMethodTest02() { 81 super.interceptorMethodTest02(); 82 } 83 84 87 @Override 88 @Test(groups = {"withInterceptor"}) 89 public void interceptorMethodTest03() { 90 super.interceptorMethodTest03(); 91 } 92 93 96 @Override 97 @Test(groups = {"withInterceptor", "withInheritance"}) 98 public void interceptorMethodTest04() { 99 super.interceptorMethodTest04(); 100 } 101 102 105 @Override 106 @Test(groups = {"withInterceptor", "withInheritance"}) 107 public void interceptorMethodTest05() { 108 super.interceptorMethodTest05(); 109 } 110 111 114 @Override 115 @Test(groups = {"withInterceptor"}) 116 public void interceptorMethodTest06() { 117 super.interceptorMethodTest06(); 118 } 119 120 123 @Override 124 @Test(groups = {"withInterceptor"}) 125 public void interceptorMethodTest07() { 126 super.interceptorMethodTest07(); 127 } 128 129 132 @Override 133 @Test(groups = {"withInterceptor", "withInheritance"}) 134 public void interceptorMethodTest08() { 135 super.interceptorMethodTest08(); 136 } 137 138 141 @Override 142 @Test(groups = {"withInterceptor", "withInheritance"}) 143 public void interceptorMethodTest09() { 144 super.interceptorMethodTest09(); 145 } 146 } 147 | Popular Tags |