Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
74 tests (±0)
Took 0.64 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext12 msPassed
clearResetsCloneBuilder10 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject7 msPassed
getManagedOriginalForDifferentContextReturnsNull10 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull8 msPassed
getManagedOriginalReturnsManagedOriginalInstance7 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction13 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState15 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet12 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges7 msPassed
refreshOverwritesChangesSentToRepository7 msPassed
refreshOverwritesObjectPropertyChanges15 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance7 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity10 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance10 msPassed
refreshThrowsIllegalArgumentForRemovedInstance6 msPassed
registerExistingObjectInvokesPostCloneListeners6 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder13 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions6 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities8 msPassed
restoreDeletedRegistersObjectAgain6 msPassed
restoreDeletedReinsertsObjectIntoRepository9 msPassed
rollbackDetachesAllManagedEntities6 msPassed
testAttributeChanged9 msPassed
testAttributeChangedNotRegistered10 msPassed
testAttributeChangedOutsideTransaction10 msPassed
testCalculateDeletedObjects11 msPassed
testCalculateModificationsDataProperty10 msPassed
testCalculateModificationsObjectProperty11 msPassed
testCalculateNewObjects13 msPassed
testClearCacheAfterCommit6 msPassed
testCommitFailed9 msPassed
testCommitInactive14 msPassed
testContains9 msPassed
testGetContexts10 msPassed
testGetOriginal11 msPassed
testGetOriginalNull6 msPassed
testGetState11 msPassed
testGetStateWithDescriptor9 msPassed
testIsConsistent10 msPassed
testIsObjectManaged6 msPassed
testIsObjectManagerNull9 msPassed
testIsObjectNew6 msPassed
testIsObjectNewWithNullAndManaged6 msPassed
testLoadFieldValue10 msPassed
testLoadFieldValueManagedType11 msPassed
testLoadFieldValueNotRegistered10 msPassed
testReadObjectFromOntology6 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass5 msPassed
testReadObjectNullContext9 msPassed
testReadObjectNullPrimaryKey5 msPassed
testRegisterExistingObject9 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject10 msPassed
testRegisterNewObjectNull10 msPassed
testRegisterNewObjectNullDescriptor5 msPassed
testRegisterNewObjectNullPkNotGenerated9 msPassed
testReleaseUnitOfWork9 msPassed
testRemoveNewObject5 msPassed
testRemoveObject9 msPassed
testRemoveObjectFromCache10 msPassed
testRemoveObjectNotRegistered8 msPassed
testRollback11 msPassed
testRollbackInactive9 msPassed
testSwitchQueryProcessingOntology5 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing9 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit7 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit8 msPassed
unregisterObjectRemovesItFromCloneBuilderCache10 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed