Package org.apache.jdo.tck.lifecycle

Class Summary
HollowInstanceMaintainsPK Title: Test that Hollow Instances maintains PK
Keywords: lifecycle hollow instance PK
Assertion IDs: A5.5.4-3
Assertion Description: If the instance is of a class using application identity, the hollow instance maintains its primary key fields.
MultiplePMsReturnInstancesRepresentingSamePC Title: Test that Multiple PMs return different instances representing same PC object
Keywords: lifecycle Multiple PMs getObjectById equal
Assertion IDs: A5.4-7
Assertion Description: The instance returned by a call to getObjectById(Object) of different PersistenceManager instances returned by the same PersistenceManagerFactory represent the same persistent object, but with different Java object identity (specifically, all instances returned by getObjectId from the instances must return true to equals comparisons with all others).
ObjectIdNotModifiedWhenObjectIdInstanceModified Title: Test that ObjectId is not modified even if ObjectId returned by GetObjectId() is modified
Keywords: lifecycle GetObjectId
Assertion IDs: A5.4-6
Assertion Description: The object returned by any call to getObjectId might be modified by the user, but that modification does not affect the identity of the object that was originally referred.
PMReturnsIdenticalInstancesForEqualObjIds Title: Test that a PM returns the same JDO instance if getObjectById(ObjectId) is called multiple times with the same objectId instance
Keywords: lifecycle getObjectById
Assertion IDs: A5.4-2, A5.4-8, A5.4-10
Assertion Description: Any instances returned by any calls to getObjectById(Object) with the same object id instance to the same PersistenceManager instance must be identical (assuming the instances were not garbage collected between calls).
PMsCanSharePCClassesButNotPCInstances Title: Test PM ability to share PC classes but not PC instances
Keywords: PM share PC class
Assertion IDs: A5.2-1,A5.2-2,A5.2-3
Assertion Description: Several JDO PersistenceManagers might be coresident and might share the same persistence capable classes] (although a JDO instance can be associated with only one PersistenceManager at a time)
StateTransitions Title: Test State Transitions
Keywords: lifecycle
Assertion IDs: A5.9-1 through A5.9-190 Assertion Description: All possible state transistions are being tested in this test.
TransientTransactionalStateCommit Title: Test Transient Transactional Commit
Keywords: lifecycle transienttransactional commit
Assertion IDs: A5.1-3
Assertion Description: If TransientTransactional is supported, a transient transactional instance will have its state preserved when its associated transaction commits.
TransientTransactionalStateRollback Title: Test Transient Transactional Rollback
Keywords: lifecycle transienttransactional rollback
Assertion IDs: A5.1-4 Assertion Description: If TransientTransactional is supported, a transient transactional instance will have its state restored to its state prior to becoming transactional when its associated transaction aborts or on rollback.
 



Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.