Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
77 tests (±0)
Took 0.54 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext8 msPassed
clearResetsCloneBuilder6 msPassed
commitDetachesPersistedInstance7 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction10 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances7 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne6 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject6 msPassed
getManagedOriginalForDifferentContextReturnsNull10 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull6 msPassed
getManagedOriginalReturnsManagedOriginalInstance6 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction8 msPassed
readAlreadyManagedObjectReturnsTheManagedOne5 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState7 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet8 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges10 msPassed
refreshOverwritesChangesSentToRepository7 msPassed
refreshOverwritesObjectPropertyChanges9 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance8 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity14 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance5 msPassed
refreshThrowsIllegalArgumentForRemovedInstance9 msPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder9 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated7 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions9 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities8 msPassed
restoreDeletedRegistersObjectAgain5 msPassed
restoreDeletedReinsertsObjectIntoRepository5 msPassed
rollbackDetachesAllManagedEntities6 msPassed
testAttributeChanged5 msPassed
testAttributeChangedNotRegistered6 msPassed
testAttributeChangedOutsideTransaction6 msPassed
testCalculateDeletedObjects8 msPassed
testCalculateModificationsDataProperty5 msPassed
testCalculateModificationsObjectProperty6 msPassed
testCalculateNewObjects13 msPassed
testClearCacheAfterCommit12 msPassed
testCommitFailed6 msPassed
testCommitInactive9 msPassed
testContains6 msPassed
testGetContexts5 msPassed
testGetOriginal7 msPassed
testGetOriginalNull9 msPassed
testGetState6 msPassed
testGetStateWithDescriptor9 msPassed
testIsConsistent6 msPassed
testIsObjectManaged9 msPassed
testIsObjectManagerNull6 msPassed
testIsObjectNew6 msPassed
testIsObjectNewWithNullAndManaged9 msPassed
testLoadFieldValue7 msPassed
testLoadFieldValueManagedType6 msPassed
testLoadFieldValueNotRegistered5 msPassed
testReadObjectFromOntology10 msPassed
testReadObjectJustPersisted5 msPassed
testReadObjectNullClass8 msPassed
testReadObjectNullContext6 msPassed
testReadObjectNullPrimaryKey5 msPassed
testRegisterExistingObject5 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject6 msPassed
testRegisterNewObjectNull7 msPassed
testRegisterNewObjectNullDescriptor5 msPassed
testReleaseUnitOfWork6 msPassed
testRemoveNewObject6 msPassed
testRemoveObject5 msPassed
testRemoveObjectFromCache6 msPassed
testRemoveObjectNotRegistered6 msPassed
testRollback5 msPassed
testRollbackInactive5 msPassed
testSwitchQueryProcessingOntology9 msPassed
testUnregisterObject7 msPassed
testUseTransactionalOntologyForQueryProcessing6 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit7 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit12 msPassed
unregisterObjectRemovesItFromCloneBuilderCache7 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed