Package org.apache.ofbiz.entity.test
Class EntityQueryTestSuite
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.apache.ofbiz.entity.testtools.EntityTestCase
-
- org.apache.ofbiz.entity.test.EntityQueryTestSuite
-
- All Implemented Interfaces:
junit.framework.Test
public class EntityQueryTestSuite extends EntityTestCase
-
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.entity.testtools.EntityTestCase
delegator
-
-
Constructor Summary
Constructors Constructor Description EntityQueryTestSuite(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testCursorForwardOnly()
void
testCursorScrollInSensitive()
void
testCursorScrollSensitive()
void
testDistinctAndSelect()
void
testFetchSize()
void
testFilterByDate()
void
testMaxRows()
void
testOrderBy()
void
testQueryCount()
void
testQueryFirst()
void
testQueryIterator()
void
testQueryList()
void
testQueryOne()
void
testQueryOneWithContext()
void
testSelect()
void
testWhere()
-
Methods inherited from class org.apache.ofbiz.entity.testtools.EntityTestCase
getDelegator, setDelegator
-
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
-
-
-
-
Method Detail
-
testQueryCount
public void testQueryCount() throws GenericEntityException
- Throws:
GenericEntityException
-
testWhere
public void testWhere() throws GenericEntityException
- Throws:
GenericEntityException
-
testQueryList
public void testQueryList() throws GenericEntityException
- Throws:
GenericEntityException
-
testQueryFirst
public void testQueryFirst() throws GenericEntityException
- Throws:
GenericEntityException
-
testQueryOne
public void testQueryOne() throws GenericEntityException
- Throws:
GenericEntityException
-
testQueryOneWithContext
public void testQueryOneWithContext() throws GenericEntityException
- Throws:
GenericEntityException
-
testSelect
public void testSelect() throws GenericEntityException
- Throws:
GenericEntityException
-
testDistinctAndSelect
public void testDistinctAndSelect() throws GenericEntityException
- Throws:
GenericEntityException
-
testOrderBy
public void testOrderBy() throws GenericEntityException
- Throws:
GenericEntityException
-
testFilterByDate
public void testFilterByDate() throws GenericEntityException
- Throws:
GenericEntityException
-
testMaxRows
public void testMaxRows() throws GenericEntityException
- Throws:
GenericEntityException
-
testFetchSize
public void testFetchSize() throws GenericEntityException
- Throws:
GenericEntityException
-
testQueryIterator
public void testQueryIterator() throws GenericEntityException
- Throws:
GenericEntityException
-
testCursorForwardOnly
public void testCursorForwardOnly() throws GenericEntityException
- Throws:
GenericEntityException
-
testCursorScrollSensitive
public void testCursorScrollSensitive() throws GenericEntityException
- Throws:
GenericEntityException
-
testCursorScrollInSensitive
public void testCursorScrollInSensitive() throws GenericEntityException
- Throws:
GenericEntityException
-
-