Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded48 msPassed
changesToRemovedObjectAreIgnoredOnCommit33 msPassed
clearCleansUpPersistenceContext61 msPassed
clearResetsCloneBuilder30 msPassed
commitDetachesPersistedInstance61 msPassed
commitEvictsInferredClassesFromCache45 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction32 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances31 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne31 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject30 msPassed
getManagedOriginalForDifferentContextReturnsNull30 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull47 msPassed
getManagedOriginalReturnsManagedOriginalInstance31 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects49 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType34 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction38 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance47 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject28 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute67 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.13 secPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute27 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance41 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject30 msPassed
isLoadedReturnsUnknownForUnregisteredObject35 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded30 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull71 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded29 msPassed
loadFieldLoadsLiteralValueAttribute32 msPassed
loadFieldLoadsManagedTypeAttribute45 msPassed
readAlreadyManagedObjectReturnsTheManagedOne37 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState63 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet46 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges30 msPassed
refreshOverwritesChangesSentToRepository30 msPassed
refreshOverwritesObjectPropertyChanges32 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance32 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity33 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance29 msPassed
refreshThrowsIllegalArgumentForRemovedInstance28 msPassed
registerExistingObjectInvokesPostCloneListeners37 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder46 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated61 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions28 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities29 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository29 msPassed
restoreDeletedRegistersObjectAgain28 msPassed
restoreDeletedReinsertsObjectIntoRepository31 msPassed
rollbackDetachesAllManagedEntities31 msPassed
testAttributeChanged31 msPassed
testAttributeChangedNotRegistered31 msPassed
testAttributeChangedOutsideTransaction43 msPassed
testCalculateDeletedObjects60 msPassed
testCalculateModificationsDataProperty41 msPassed
testCalculateModificationsObjectProperty41 msPassed
testCalculateNewObjects36 msPassed
testClearCacheAfterCommit30 msPassed
testCommitFailed29 msPassed
testCommitInactive27 msPassed
testContains30 msPassed
testGetContexts31 msPassed
testGetOriginal30 msPassed
testGetOriginalNull26 msPassed
testGetState48 msPassed
testGetStateWithDescriptor29 msPassed
testIsConsistent42 msPassed
testIsObjectManaged28 msPassed
testIsObjectManagerNull64 msPassed
testIsObjectNew29 msPassed
testIsObjectNewWithNullAndManaged30 msPassed
testLoadFieldValueNotRegistered29 msPassed
testReadObjectFromOntology28 msPassed
testReadObjectJustPersisted29 msPassed
testReadObjectNullClass28 msPassed
testReadObjectNullContext37 msPassed
testReadObjectNullPrimaryKey29 msPassed
testRegisterExistingObject29 msPassed
testRegisterExistingObjectTwice27 msPassed
testRegisterNewObject41 msPassed
testRegisterNewObjectNull22 msPassed
testRegisterNewObjectNullDescriptor33 msPassed
testReleaseUnitOfWork35 msPassed
testRemoveNewObject41 msPassed
testRemoveObjectFromCache29 msPassed
testRemoveObjectNotRegistered46 msPassed
testRollback41 msPassed
testRollbackInactive36 msPassed
testSwitchQueryProcessingOntology27 msPassed
testUnregisterObject37 msPassed
testUseTransactionalOntologyForQueryProcessing44 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit33 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit41 msPassed
unregisterObjectRemovesItFromCloneBuilderCache30 msPassed
unwrapReturnsItselfWhenClassMatches26 msPassed