1 25 package org.objectweb.easybeans.tests.deploymentdesc; 26 27 import org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.interceptorxml.ItfIntercResourceRef; 28 import org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.interceptorxml.SLSBIntercResourceRef; 29 import org.objectweb.easybeans.tests.common.helper.EJBHelper; 30 import org.testng.annotations.BeforeMethod; 31 import org.testng.annotations.Test; 32 33 42 public class TestInterceptor03 { 43 44 47 private ItfIntercResourceRef bean; 48 49 53 @BeforeMethod 54 public void setup() throws Exception { 55 bean = EJBHelper.getBeanRemoteInstance(SLSBIntercResourceRef.class, ItfIntercResourceRef.class); 56 } 57 58 64 @Test 65 public void verifiesDataSource(){ 66 bean.checkJDBC(); 67 } 68 69 75 @Test 76 public void verifiesJMSQueue(){ 77 bean.checkJMSQueueConFactory(); 78 } 79 80 86 @Test 87 public void verifiesJMSConFactory(){ 88 bean.checkJMSConFactory(); 89 } 90 91 97 @Test 98 public void verifiesTopicConFactory(){ 99 bean.checkJMSTopicConFactory(); 100 } 101 102 108 @Test 109 public void verifiesEJBContext(){ 110 bean.checkEJBContext(); 111 } 112 113 119 @Test 120 public void verifiesMailSession(){ 121 bean.checkMailSession(); 122 } 123 124 130 @Test 131 public void verifiesURL(){ 132 bean.checkUrl(); 133 } 134 } 135 | Popular Tags |