Package org.apache.ofbiz.entity.test
Class EntityTestSuite
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.apache.ofbiz.entity.testtools.EntityTestCase
-
- org.apache.ofbiz.entity.test.EntityTestSuite
-
- All Implemented Interfaces:
junit.framework.Test
public class EntityTestSuite extends EntityTestCase
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
static long
TEST_COUNT
-
Fields inherited from class org.apache.ofbiz.entity.testtools.EntityTestCase
delegator
-
-
Constructor Summary
Constructors Constructor Description EntityTestSuite(java.lang.String name)
-
Method Summary
-
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
-
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
TEST_COUNT
public static final long TEST_COUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
testModels
public void testModels() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMakeValue
public void testMakeValue() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testUpdateValue
public void testUpdateValue() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRemoveValue
public void testRemoveValue() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testEntityCache
public void testEntityCache() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testXmlSerialization
public void testXmlSerialization() throws java.lang.Exception
- Throws:
java.lang.Exception
-
flushAndRecreateTree
protected long flushAndRecreateTree(java.lang.String descriptionPrefix) throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCreateTree
public void testCreateTree() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAddMembersToTree
public void testAddMembersToTree() throws java.lang.Exception
- Throws:
java.lang.Exception
-
purgeTestingByTypeId
protected void purgeTestingByTypeId(java.lang.String likeTypeId) throws GenericEntityException
- Throws:
GenericEntityException
-
createNodeMembers
protected void createNodeMembers(java.lang.String typeId, java.lang.String typeDescription, java.lang.String descriptionPrefix) throws GenericEntityException
- Throws:
GenericEntityException
-
testCountViews
public void testCountViews() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testFindDistinct
public void testFindDistinct() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testNotLike
public void testNotLike() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testForeignKeyCreate
public void testForeignKeyCreate()
-
testForeignKeyRemove
public void testForeignKeyRemove() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRemoveNodeMemberAndTesting
public void testRemoveNodeMemberAndTesting() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testStoreByCondition
public void testStoreByCondition() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRemoveByCondition
public void testRemoveByCondition() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRemoveByPK
public void testRemoveByPK() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRemoveType
public void testRemoveType() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCreateManyAndStoreAtOnce
public void testCreateManyAndStoreAtOnce() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCreateManyAndStoreOneAtATime
public void testCreateManyAndStoreOneAtATime() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testEntityListIterator
public void testEntityListIterator() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testTransactionUtilRollback
public void testTransactionUtilRollback() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testTransactionUtilMoreThanTimeout
public void testTransactionUtilMoreThanTimeout() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testTransactionUtilLessThanTimeout
public void testTransactionUtilLessThanTimeout() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testFieldTypes
public void testFieldTypes() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testEntitySaxReaderCreation
public void testEntitySaxReaderCreation() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testEntitySaxReaderCreateSkip
public void testEntitySaxReaderCreateSkip() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testEntitySaxReaderUpdate
public void testEntitySaxReaderUpdate() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testEntitySaxReaderReplace
public void testEntitySaxReaderReplace() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testEntitySaxReaderDelete
public void testEntitySaxReaderDelete() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSequenceValueItem
public void testSequenceValueItem()
-
testSequenceValueItemWithConcurrentThreads
public void testSequenceValueItemWithConcurrentThreads()
-
testOneBigTransactionIsFasterThanSeveralSmallOnes
public void testOneBigTransactionIsFasterThanSeveralSmallOnes()
-
-