1 25 package org.objectweb.easybeans.tests.environment.reference.simpleentry; 26 27 import static org.objectweb.easybeans.tests.common.helper.EJBHelper.getBeanRemoteInstance; 28 29 import org.objectweb.easybeans.tests.common.ejbs.base.ItfSimpleEnvEntry; 30 import org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.simpleentry.SLSBSimpleEnvEntryReference00; 31 import org.testng.annotations.BeforeMethod; 32 import org.testng.annotations.Test; 33 34 45 public class TestSimpleEnvironmentEntryDeclaration { 46 47 50 private ItfSimpleEnvEntry bean; 51 52 56 @BeforeMethod 57 public void startUp() throws Exception { 58 bean = getBeanRemoteInstance(SLSBSimpleEnvEntryReference00.class, ItfSimpleEnvEntry.class); 59 } 60 61 67 @Test 68 public void testString00() { 69 bean.checkString00(); 70 } 71 72 78 @Test 79 public void testCharacter00() { 80 bean.checkCharacter00(); 81 } 82 83 89 @Test 90 public void testInteger00() { 91 bean.checkInteger00(); 92 } 93 94 100 @Test 101 public void testBoolean00() { 102 bean.checkBoolean00(); 103 } 104 105 111 @Test 112 public void testDouble00() { 113 bean.checkDouble00(); 114 } 115 116 122 @Test 123 public void testByte00() { 124 bean.checkByte00(); 125 } 126 127 133 @Test 134 public void testShort00() { 135 bean.checkByte00(); 136 } 137 138 144 @Test 145 public void testLong00() { 146 bean.checkLong00(); 147 } 148 149 155 @Test 156 public void testFloat00() { 157 bean.checkFloat00(); 158 } 159 } 160 | Popular Tags |