| |
|
| org.apache.ojb.junit.PBTestCase org.apache.ojb.broker.ExtentAwarePathExpressionsTest
ExtentAwarePathExpressionsTest | public class ExtentAwarePathExpressionsTest extends PBTestCase (Code) | | Tests for extent aware path expressions
author: Leandro Rodrigo Saad Cruz author: $Id: ExtentAwarePathExpressionsTest.java,v 1.7.2.5 2005/12/03 11:19:44 arminw Exp $ |
ExtentAwarePathExpressionsTest | public ExtentAwarePathExpressionsTest(String testName)(Code) | | |
testAddClassPathOnQuery_1 | public void testAddClassPathOnQuery_1()(Code) | | |
testAddClassPathOnQuery_2 | public void testAddClassPathOnQuery_2()(Code) | | |
testAddPathClass | public void testAddPathClass()(Code) | | |
testAddPathClassInCriteria | public void testAddPathClassInCriteria()(Code) | | |
testAddPathClasses | public void testAddPathClasses()(Code) | | The order of criteria elements influences the use of parenthesis,
If we add the Like element before the NotNull one we get the wrong query
Right clause : WHERE WHERE (A2.NAME IS NOT NULL OR A2E1.NAME IS NOT NULL ) AND A0.HEADLINE LIKE 'Bra%
Wrong clause : WHERE (A0.HEADLINE LIKE 'Bra%' ) AND A2.NAME IS NOT NULL OR A2E1.NAME IS NOT NULL
|
testAddPathClassesInCriteria | public void testAddPathClassesInCriteria()(Code) | | |
testComplexCriteriaWithPathClasses_1 | public void testComplexCriteriaWithPathClasses_1()(Code) | | |
testComplexCriteriaWithPathClasses_2 | public void testComplexCriteriaWithPathClasses_2()(Code) | | |
testComplexCriteriaWithPathClasses_3 | public void testComplexCriteriaWithPathClasses_3()(Code) | | |
testMultipleClassPath_1a | public void testMultipleClassPath_1a()(Code) | | |
testMultipleClassPath_1b | public void testMultipleClassPath_1b()(Code) | | |
testMultipleClassPath_2a | public void testMultipleClassPath_2a()(Code) | | |
testMultipleClassPath_2b | public void testMultipleClassPath_2b()(Code) | | |
testNotNullPathElement | public void testNotNullPathElement()(Code) | | |
testSetPathClass | public void testSetPathClass()(Code) | | |
testSetPathClassInCriteria | public void testSetPathClassInCriteria()(Code) | | |
testWithoutHintClass1 | public void testWithoutHintClass1() throws Exception(Code) | | |
testWithoutHintClass2 | public void testWithoutHintClass2() throws Exception(Code) | | |
|
|
|