Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded61 msPassed
changesToRemovedObjectAreIgnoredOnCommit57 msPassed
clearCleansUpPersistenceContext40 msPassed
clearResetsCloneBuilder38 msPassed
commitDetachesPersistedInstance30 msPassed
commitEvictsInferredClassesFromCache53 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction32 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances40 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne32 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject40 msPassed
getManagedOriginalForDifferentContextReturnsNull30 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull30 msPassed
getManagedOriginalReturnsManagedOriginalInstance59 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects52 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType51 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction35 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance32 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject29 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute30 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject28 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute29 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance56 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject46 msPassed
isLoadedReturnsUnknownForUnregisteredObject27 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded41 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull30 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded39 msPassed
loadFieldLoadsLiteralValueAttribute32 msPassed
loadFieldLoadsManagedTypeAttribute33 msPassed
readAlreadyManagedObjectReturnsTheManagedOne29 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState31 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet31 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges30 msPassed
refreshOverwritesChangesSentToRepository41 msPassed
refreshOverwritesObjectPropertyChanges36 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance31 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity33 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance36 msPassed
refreshThrowsIllegalArgumentForRemovedInstance29 msPassed
registerExistingObjectInvokesPostCloneListeners29 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder30 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated29 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions30 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities30 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository30 msPassed
restoreDeletedRegistersObjectAgain37 msPassed
restoreDeletedReinsertsObjectIntoRepository29 msPassed
rollbackDetachesAllManagedEntities37 msPassed
testAttributeChanged33 msPassed
testAttributeChangedNotRegistered28 msPassed
testAttributeChangedOutsideTransaction28 msPassed
testCalculateDeletedObjects30 msPassed
testCalculateModificationsDataProperty53 msPassed
testCalculateModificationsObjectProperty59 msPassed
testCalculateNewObjects61 msPassed
testClearCacheAfterCommit30 msPassed
testCommitFailed31 msPassed
testCommitInactive30 msPassed
testContains36 msPassed
testGetContexts0.1 secPassed
testGetOriginal40 msPassed
testGetOriginalNull27 msPassed
testGetState29 msPassed
testGetStateWithDescriptor29 msPassed
testIsConsistent29 msPassed
testIsObjectManaged29 msPassed
testIsObjectManagerNull28 msPassed
testIsObjectNew28 msPassed
testIsObjectNewWithNullAndManaged29 msPassed
testLoadFieldValueNotRegistered37 msPassed
testReadObjectFromOntology29 msPassed
testReadObjectJustPersisted28 msPassed
testReadObjectNullClass37 msPassed
testReadObjectNullContext30 msPassed
testReadObjectNullPrimaryKey28 msPassed
testRegisterExistingObject29 msPassed
testRegisterExistingObjectTwice23 msPassed
testRegisterNewObject28 msPassed
testRegisterNewObjectNull10 msPassed
testRegisterNewObjectNullDescriptor41 msPassed
testReleaseUnitOfWork28 msPassed
testRemoveNewObject28 msPassed
testRemoveObjectFromCache38 msPassed
testRemoveObjectNotRegistered28 msPassed
testRollback59 msPassed
testRollbackInactive28 msPassed
testSwitchQueryProcessingOntology27 msPassed
testUnregisterObject31 msPassed
testUseTransactionalOntologyForQueryProcessing28 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit42 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit33 msPassed
unregisterObjectRemovesItFromCloneBuilderCache30 msPassed
unwrapReturnsItselfWhenClassMatches28 msPassed