1 25 package org.objectweb.easybeans.tests.interceptors.business.stateful.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.stateful.containermanaged.interceptororder.SFSBMethodInterceptorTest; 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 TestSFMethodInterceptor extends BaseMethodInterceptor{ 53 54 58 @SuppressWarnings ("unchecked") 59 @BeforeMethod 60 public void startUp() throws Exception { 61 ItfMethodInterceptor<Integer > bean = getBeanRemoteInstance(SFSBMethodInterceptorTest.class, ItfMethodInterceptor.class); 62 super.setBean(bean); 63 } 64 65 68 @Override 69 @Test(groups = {"withoutInterceptor"}) 70 public void interceptorMethodTest00() { 71 super.interceptorMethodTest00(); 72 } 73 74 77 @Override 78 @Test(groups = {"withInterceptor"}) 79 public void interceptorMethodTest02() { 80 super.interceptorMethodTest02(); 81 } 82 83 86 @Override 87 @Test(groups = {"withInterceptor"}) 88 public void interceptorMethodTest03() { 89 super.interceptorMethodTest03(); 90 } 91 92 95 @Override 96 @Test(groups = {"withInterceptor", "withInheritance"}) 97 public void interceptorMethodTest04() { 98 super.interceptorMethodTest04(); 99 } 100 101 104 @Override 105 @Test(groups = {"withInterceptor", "withInheritance"}) 106 public void interceptorMethodTest05() { 107 super.interceptorMethodTest05(); 108 } 109 110 113 @Override 114 @Test(groups = {"withInterceptor"}) 115 public void interceptorMethodTest06() { 116 super.interceptorMethodTest06(); 117 } 118 119 122 @Override 123 @Test(groups = {"withInterceptor"}) 124 public void interceptorMethodTest07() { 125 super.interceptorMethodTest07(); 126 } 127 128 131 @Override 132 @Test(groups = {"withInterceptor", "withInheritance"}) 133 public void interceptorMethodTest08() { 134 super.interceptorMethodTest08(); 135 } 136 137 140 @Override 141 @Test(groups = {"withInterceptor", "withInheritance"}) 142 public void interceptorMethodTest09() { 143 super.interceptorMethodTest09(); 144 } 145 } 146 | Popular Tags |