Add junit test to control entity-auto on create, update and delete to ensure no regression when the entity-auto engine will be improve (like OFBIZ-5800)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1630079 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nicolas Malin
2014-10-08 12:17:55 +00:00
parent 52d93e3ef3
commit 37bb53af64
4 changed files with 207 additions and 0 deletions
@@ -122,6 +122,21 @@ under the License.
<field name="clobField" type="very-long"/>
<prim-key field="testFieldTypeId"/>
</entity>
<!-- =========================================================
Testing Item entity : testing line on a Testing entity
========================================================= -->
<entity entity-name="TestingItem"
package-name="org.ofbiz.entity.test"
title="Testing Item">
<field name="testingId" type="id-ne"/>
<field name="testingSeqId" type="id-ne"/>
<field name="testingHistory" type="very-long"/>
<prim-key field="testingId"/>
<prim-key field="testingSeqId"/>
<relation type="one" fk-name="TESTING_IT_TEST" rel-entity-name="Testing">
<key-map field-name="testingId"/>
</relation>
</entity>
<!-- =========================================================
Testing Node entity : hierarchy of nodes having
'testing node member' as potential members