1 25 package org.objectweb.easybeans.tests.entity; 26 27 import org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.ejbql.ItfEjbqlTester; 28 import org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.ejbql.SLSBEjbqlTester; 29 import org.objectweb.easybeans.tests.common.helper.EJBHelper; 30 import org.testng.annotations.BeforeMethod; 31 import org.testng.annotations.Test; 32 33 43 public class TestEjbql { 44 45 48 private ItfEjbqlTester slsbEjbqlTester; 49 50 54 @BeforeMethod 55 public void setup() throws Exception { 56 slsbEjbqlTester = EJBHelper.getBeanRemoteInstance(SLSBEjbqlTester.class, ItfEjbqlTester.class); 57 } 58 59 65 @Test 66 public void testPathExpression() { 67 slsbEjbqlTester.testPathExpression(); 68 } 69 70 76 @Test 77 public void testInnerJoin() { 78 slsbEjbqlTester.testInnerJoin(); 79 } 80 81 87 @Test 88 public void testIsEmpty() { 89 slsbEjbqlTester.testIsEmpty(); 90 } 91 92 98 @Test 99 public void testGroupByHaving() { 100 slsbEjbqlTester.testHaving(); 101 } 102 103 109 @Test 110 public void testDelete() { 111 slsbEjbqlTester.testDelete(); 112 } 113 114 120 @Test 121 public void testUpdate() { 122 slsbEjbqlTester.testUpdate(); 123 } 124 125 } 126 | Popular Tags |