| org.objectweb.jonas.jtests.util.JTestCase org.objectweb.jonas.jtests.clients.entity.F_BasicEjbqlEC2
F_BasicEjbqlEC2 | public class F_BasicEjbqlEC2 extends JTestCase (Code) | | For testing basic EJB QL queries.
author: Helene Joanin |
_testIntEqualExpr2 | public void _testIntEqualExpr2() throws Exception(Code) | | Test the EJB-QL: SELECT OBJECT(o) FROM jt2_e4query o WHERE o.fint = ?1 - ?2 - ?3
to reproduce bug 303587
This bug is pending: Remove this test from the list for now.
|
setUp | protected void setUp()(Code) | | |
suite | public static Test suite()(Code) | | |
testAbsInt | public void testAbsInt() throws Exception(Code) | | Test the EJB-QL: SELECT OBJECT(o) FROM jt2_e4query o WHERE ABS(o.fint) = ?1
|
testConcat | public void testConcat() throws Exception(Code) | | Test the EJB-QL: SELECT OBJECT(o) FROM jt2_e4query o WHERE CONCAT(o.id, o.fstring) = ?1
|
testInStrings | public void testInStrings() throws Exception(Code) | | Test the EJB-QL: SELECT OBJECT(o) FROM jt2_e4query o WHERE o.fstring IN ('helene', 'eric')
|
testIntEqualExpr | public void testIntEqualExpr() throws Exception(Code) | | Test the EJB-QL: SELECT OBJECT(o) FROM jt2_e4query o WHERE o.fint = ?1 + ?2 - ?3
|
testIsNull | public void testIsNull() throws Exception(Code) | | Test the EJB-QL: SELECT OBJECT(o) FROM jt2_e4query o WHERE o.fstring IS NULL
|
testIsNull1Param | public void testIsNull1Param() throws Exception(Code) | | Test the EJB-QL: SELECT OBJECT(o) FROM jt2_e4query o WHERE ?1 IS NULL
|
testIsNull2Param | public void testIsNull2Param() throws Exception(Code) | | Test the EJB-QL: SELECT OBJECT(o) FROM jt2_e4query o WHERE ?1 IS NULL
|
testLength | public void testLength() throws Exception(Code) | | Test the EJB-QL: SELECT OBJECT(o) FROM jt2_e4query o WHERE LENGTH(o.fstring) = ?1
|
testLessThanMinus100 | public void testLessThanMinus100() throws Exception(Code) | | Test the EJB-QL: SELECT OBJECT(o) FROM jt2_e4query o WHERE ABS(o.fint) = -100
|
testLocate | public void testLocate() throws Exception(Code) | | Test the EJB-QL: SELECT OBJECT(o) FROM jt2_e4query o WHERE LOCATE(?1, o.fstring) > 0
|
testLocateAt | public void testLocateAt() throws Exception(Code) | | Test the EJB-QL: SELECT OBJECT(o) FROM jt2_e4query o WHERE LOCATE(?1, o.fstring, ?2) > 0
FAIL in postgresql. Spec 2.1 says that this implementation is optional.
|
testMod | public void testMod() throws Exception(Code) | | Test the EJB-QL: SELECT OBJECT(o) FROM jt2_e4query o WHERE MOD(o.fint, ?1) = 0
|
testSqrt | public void testSqrt() throws Exception(Code) | | Test the EJB-QL: SELECT OBJECT(o) FROM jt2_e4query o WHERE SQRT(o.fdouble) BETWEEN ?1 - 0.1 AND ?1 + 0.1
|
testStringGreaterOrEqualThenExpr | public void testStringGreaterOrEqualThenExpr() throws Exception(Code) | | Test the EJB-QL: SELECT OBJECT(o) FROM jt2_e4query o WHERE o.fstring >= ?1
|
testStringGreaterThenExpr | public void testStringGreaterThenExpr() throws Exception(Code) | | Test the EJB-QL: SELECT OBJECT(o) FROM jt2_e4query o WHERE o.fstring > ?1
|
testSubstring | public void testSubstring() throws Exception(Code) | | Test the EJB-QL: SELECT OBJECT(o) FROM jt2_e4query o WHERE SUBSTRING(o.fstring, ?2, ?3) = ?1
|
|
|