Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded60 msPassed
changesToRemovedObjectAreIgnoredOnCommit39 msPassed
clearCleansUpPersistenceContext32 msPassed
clearResetsCloneBuilder29 msPassed
commitDetachesPersistedInstance29 msPassed
commitEvictsInferredClassesFromCache63 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction31 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances30 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne46 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject32 msPassed
getManagedOriginalForDifferentContextReturnsNull29 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull33 msPassed
getManagedOriginalReturnsManagedOriginalInstance36 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects53 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType36 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction38 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance55 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject30 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute32 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject29 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute28 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance74 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject28 msPassed
isLoadedReturnsUnknownForUnregisteredObject28 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded31 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull30 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded39 msPassed
loadFieldLoadsLiteralValueAttribute42 msPassed
loadFieldLoadsManagedTypeAttribute32 msPassed
readAlreadyManagedObjectReturnsTheManagedOne28 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState31 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet32 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges32 msPassed
refreshOverwritesChangesSentToRepository32 msPassed
refreshOverwritesObjectPropertyChanges34 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance63 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity30 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance30 msPassed
refreshThrowsIllegalArgumentForRemovedInstance30 msPassed
registerExistingObjectInvokesPostCloneListeners28 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder39 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated29 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions31 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities31 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository29 msPassed
restoreDeletedRegistersObjectAgain29 msPassed
restoreDeletedReinsertsObjectIntoRepository30 msPassed
rollbackDetachesAllManagedEntities40 msPassed
testAttributeChanged64 msPassed
testAttributeChangedNotRegistered29 msPassed
testAttributeChangedOutsideTransaction29 msPassed
testCalculateDeletedObjects35 msPassed
testCalculateModificationsDataProperty44 msPassed
testCalculateModificationsObjectProperty41 msPassed
testCalculateNewObjects70 msPassed
testClearCacheAfterCommit31 msPassed
testCommitFailed31 msPassed
testCommitInactive27 msPassed
testContains51 msPassed
testGetContexts28 msPassed
testGetOriginal29 msPassed
testGetOriginalNull45 msPassed
testGetState30 msPassed
testGetStateWithDescriptor31 msPassed
testIsConsistent28 msPassed
testIsObjectManaged31 msPassed
testIsObjectManagerNull30 msPassed
testIsObjectNew37 msPassed
testIsObjectNewWithNullAndManaged29 msPassed
testLoadFieldValueNotRegistered28 msPassed
testReadObjectFromOntology30 msPassed
testReadObjectJustPersisted27 msPassed
testReadObjectNullClass28 msPassed
testReadObjectNullContext58 msPassed
testReadObjectNullPrimaryKey45 msPassed
testRegisterExistingObject32 msPassed
testRegisterExistingObjectTwice28 msPassed
testRegisterNewObject28 msPassed
testRegisterNewObjectNull29 msPassed
testRegisterNewObjectNullDescriptor28 msPassed
testReleaseUnitOfWork30 msPassed
testRemoveNewObject28 msPassed
testRemoveObjectFromCache28 msPassed
testRemoveObjectNotRegistered29 msPassed
testRollback57 msPassed
testRollbackInactive29 msPassed
testSwitchQueryProcessingOntology29 msPassed
testUnregisterObject28 msPassed
testUseTransactionalOntologyForQueryProcessing28 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit35 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit35 msPassed
unregisterObjectRemovesItFromCloneBuilderCache31 msPassed
unwrapReturnsItselfWhenClassMatches27 msPassed