============================================ As we have Entity Query Builder implemented in trunk (OFBIZ-4053) and now we should add Junit tests for its methods. As per initial analyses, we can write Junit tests for following methods of Entity Query Builder: 1. queryList() 2. queryFirst() 3. queryCount() 4. queryOne() 5. distinct() 6. filterByDate() 7. orderBy() 8. select() 9. cursorForwardOnly() 10. cursorScrollSensitive() 11. cursorScrollInSensitive() 12. fetchSize() 13. maxRows() 14. cache() 15. queryIterator() ============================================= Thanks Arun for the contribution. Thanks Scott, Jacopo and Adrian for your help in reviewing the patch content. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1635894 13f79535-47bb-0310-9956-ffa450edef68
31 lines
1.5 KiB
XML
31 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<test-suite suite-name="entitytests"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/test-suite.xsd">
|
|
<test-case case-name="entity-tests"><junit-test-suite class-name="org.ofbiz.entity.test.EntityTestSuite"/></test-case>
|
|
<test-case case-name="entity-crypto-tests"><junit-test-suite class-name="org.ofbiz.entity.test.EntityCryptoTestSuite"/></test-case>
|
|
<test-case case-name="entity-query-tests"><junit-test-suite class-name="org.ofbiz.entity.test.EntityQueryTestSuite"/></test-case>
|
|
<test-case case-name="entity-util-properties-tests">
|
|
<simple-method-test location="component://entity/script/org/ofbiz/entity/test/EntityUtilPropertiesTests.xml"/>
|
|
</test-case>
|
|
</test-suite>
|