Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded29 msPassed
changesToRemovedObjectAreIgnoredOnCommit30 msPassed
clearCleansUpPersistenceContext64 msPassed
clearResetsCloneBuilder38 msPassed
commitDetachesPersistedInstance31 msPassed
commitEvictsInferredClassesFromCache31 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction41 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances43 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne30 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject32 msPassed
getManagedOriginalForDifferentContextReturnsNull31 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull30 msPassed
getManagedOriginalReturnsManagedOriginalInstance38 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects29 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType30 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction35 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance31 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject40 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute59 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject53 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute55 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance28 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject38 msPassed
isLoadedReturnsUnknownForUnregisteredObject28 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded31 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull54 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded38 msPassed
loadFieldLoadsLiteralValueAttribute32 msPassed
loadFieldLoadsManagedTypeAttribute35 msPassed
readAlreadyManagedObjectReturnsTheManagedOne28 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState60 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet0.27 secPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges41 msPassed
refreshOverwritesChangesSentToRepository31 msPassed
refreshOverwritesObjectPropertyChanges65 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance29 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity33 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance28 msPassed
refreshThrowsIllegalArgumentForRemovedInstance35 msPassed
registerExistingObjectInvokesPostCloneListeners30 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder57 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated52 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions35 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities31 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository30 msPassed
restoreDeletedRegistersObjectAgain28 msPassed
restoreDeletedReinsertsObjectIntoRepository31 msPassed
rollbackDetachesAllManagedEntities32 msPassed
testAttributeChanged31 msPassed
testAttributeChangedNotRegistered36 msPassed
testAttributeChangedOutsideTransaction42 msPassed
testCalculateDeletedObjects72 msPassed
testCalculateModificationsDataProperty29 msPassed
testCalculateModificationsObjectProperty33 msPassed
testCalculateNewObjects35 msPassed
testClearCacheAfterCommit31 msPassed
testCommitFailed30 msPassed
testCommitInactive51 msPassed
testContains30 msPassed
testGetContexts29 msPassed
testGetOriginal40 msPassed
testGetOriginalNull36 msPassed
testGetState50 msPassed
testGetStateWithDescriptor37 msPassed
testIsConsistent36 msPassed
testIsObjectManaged29 msPassed
testIsObjectManagerNull29 msPassed
testIsObjectNew28 msPassed
testIsObjectNewWithNullAndManaged39 msPassed
testLoadFieldValueNotRegistered48 msPassed
testReadObjectFromOntology39 msPassed
testReadObjectJustPersisted29 msPassed
testReadObjectNullClass28 msPassed
testReadObjectNullContext30 msPassed
testReadObjectNullPrimaryKey28 msPassed
testRegisterExistingObject32 msPassed
testRegisterExistingObjectTwice31 msPassed
testRegisterNewObject36 msPassed
testRegisterNewObjectNull60 msPassed
testRegisterNewObjectNullDescriptor30 msPassed
testReleaseUnitOfWork21 msPassed
testRemoveNewObject28 msPassed
testRemoveObjectFromCache36 msPassed
testRemoveObjectNotRegistered28 msPassed
testRollback30 msPassed
testRollbackInactive38 msPassed
testSwitchQueryProcessingOntology37 msPassed
testUnregisterObject27 msPassed
testUseTransactionalOntologyForQueryProcessing47 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit35 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit46 msPassed
unregisterObjectRemovesItFromCloneBuilderCache30 msPassed
unwrapReturnsItselfWhenClassMatches28 msPassed