Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
93 tests (±0)
Took 3.3 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded54 msPassed
changesToRemovedObjectAreIgnoredOnCommit70 msPassed
clearCleansUpPersistenceContext32 msPassed
clearResetsCloneBuilder29 msPassed
commitDetachesPersistedInstance37 msPassed
commitEvictsInferredClassesFromCache73 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction30 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances31 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne41 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject33 msPassed
getManagedOriginalForDifferentContextReturnsNull30 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull35 msPassed
getManagedOriginalReturnsManagedOriginalInstance29 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects53 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType60 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction46 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance52 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject28 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute31 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject29 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute33 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance51 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject28 msPassed
isLoadedReturnsUnknownForUnregisteredObject36 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded34 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull29 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded29 msPassed
loadFieldLoadsLiteralValueAttribute30 msPassed
loadFieldLoadsManagedTypeAttribute41 msPassed
readAlreadyManagedObjectReturnsTheManagedOne30 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState32 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet33 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges30 msPassed
refreshOverwritesChangesSentToRepository31 msPassed
refreshOverwritesObjectPropertyChanges33 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance30 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity39 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance54 msPassed
refreshThrowsIllegalArgumentForRemovedInstance32 msPassed
registerExistingObjectInvokesPostCloneListeners31 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder30 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated32 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions29 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities29 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository28 msPassed
restoreDeletedRegistersObjectAgain29 msPassed
restoreDeletedReinsertsObjectIntoRepository43 msPassed
rollbackDetachesAllManagedEntities30 msPassed
testAttributeChanged55 msPassed
testAttributeChangedNotRegistered27 msPassed
testAttributeChangedOutsideTransaction28 msPassed
testCalculateDeletedObjects31 msPassed
testCalculateModificationsDataProperty53 msPassed
testCalculateModificationsObjectProperty60 msPassed
testCalculateNewObjects61 msPassed
testClearCacheAfterCommit31 msPassed
testCommitFailed29 msPassed
testCommitInactive35 msPassed
testContains54 msPassed
testGetContexts38 msPassed
testGetOriginal30 msPassed
testGetOriginalNull27 msPassed
testGetState31 msPassed
testGetStateWithDescriptor28 msPassed
testIsConsistent28 msPassed
testIsObjectManaged28 msPassed
testIsObjectManagerNull38 msPassed
testIsObjectNew28 msPassed
testIsObjectNewWithNullAndManaged28 msPassed
testLoadFieldValueNotRegistered28 msPassed
testReadObjectFromOntology28 msPassed
testReadObjectJustPersisted30 msPassed
testReadObjectNullClass29 msPassed
testReadObjectNullContext50 msPassed
testReadObjectNullPrimaryKey28 msPassed
testRegisterExistingObject28 msPassed
testRegisterExistingObjectTwice28 msPassed
testRegisterNewObject27 msPassed
testRegisterNewObjectNull28 msPassed
testRegisterNewObjectNullDescriptor30 msPassed
testReleaseUnitOfWork36 msPassed
testRemoveNewObject30 msPassed
testRemoveObjectFromCache27 msPassed
testRemoveObjectNotRegistered37 msPassed
testRollback53 msPassed
testRollbackInactive37 msPassed
testSwitchQueryProcessingOntology26 msPassed
testUnregisterObject31 msPassed
testUseTransactionalOntologyForQueryProcessing28 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit34 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit34 msPassed
unregisterObjectRemovesItFromCloneBuilderCache45 msPassed
unwrapReturnsItselfWhenClassMatches28 msPassed