Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded20 msPassed
changesToRemovedObjectAreIgnoredOnCommit58 msPassed
clearCleansUpPersistenceContext21 msPassed
clearResetsCloneBuilder19 msPassed
commitDetachesPersistedInstance47 msPassed
commitEvictsInferredClassesFromCache20 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction20 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances21 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne58 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject53 msPassed
getManagedOriginalForDifferentContextReturnsNull19 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull19 msPassed
getManagedOriginalReturnsManagedOriginalInstance19 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects19 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType46 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction59 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance19 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject19 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute21 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject19 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute21 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance28 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject19 msPassed
isLoadedReturnsUnknownForUnregisteredObject18 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded50 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull20 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded20 msPassed
loadFieldLoadsLiteralValueAttribute20 msPassed
loadFieldLoadsManagedTypeAttribute21 msPassed
readAlreadyManagedObjectReturnsTheManagedOne45 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState21 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet21 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges21 msPassed
refreshOverwritesChangesSentToRepository51 msPassed
refreshOverwritesObjectPropertyChanges23 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance20 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity21 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance19 msPassed
refreshThrowsIllegalArgumentForRemovedInstance20 msPassed
registerExistingObjectInvokesPostCloneListeners49 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder20 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated20 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions20 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities19 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository19 msPassed
restoreDeletedRegistersObjectAgain43 msPassed
restoreDeletedReinsertsObjectIntoRepository49 msPassed
rollbackDetachesAllManagedEntities20 msPassed
testAttributeChanged19 msPassed
testAttributeChangedNotRegistered20 msPassed
testAttributeChangedOutsideTransaction19 msPassed
testCalculateDeletedObjects21 msPassed
testCalculateModificationsDataProperty44 msPassed
testCalculateModificationsObjectProperty47 msPassed
testCalculateNewObjects21 msPassed
testClearCacheAfterCommit23 msPassed
testCommitFailed19 msPassed
testCommitInactive20 msPassed
testContains18 msPassed
testGetContexts56 msPassed
testGetOriginal20 msPassed
testGetOriginalNull18 msPassed
testGetState20 msPassed
testGetStateWithDescriptor20 msPassed
testIsConsistent19 msPassed
testIsObjectManaged20 msPassed
testIsObjectManagerNull19 msPassed
testIsObjectNew19 msPassed
testIsObjectNewWithNullAndManaged19 msPassed
testLoadFieldValueNotRegistered18 msPassed
testReadObjectFromOntology19 msPassed
testReadObjectJustPersisted48 msPassed
testReadObjectNullClass48 msPassed
testReadObjectNullContext18 msPassed
testReadObjectNullPrimaryKey18 msPassed
testRegisterExistingObject19 msPassed
testRegisterExistingObjectTwice48 msPassed
testRegisterNewObject18 msPassed
testRegisterNewObjectNull19 msPassed
testRegisterNewObjectNullDescriptor45 msPassed
testReleaseUnitOfWork18 msPassed
testRemoveNewObject51 msPassed
testRemoveObjectFromCache19 msPassed
testRemoveObjectNotRegistered19 msPassed
testRollback47 msPassed
testRollbackInactive19 msPassed
testSwitchQueryProcessingOntology19 msPassed
testUnregisterObject46 msPassed
testUseTransactionalOntologyForQueryProcessing18 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit51 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit24 msPassed
unregisterObjectRemovesItFromCloneBuilderCache20 msPassed
unwrapReturnsItselfWhenClassMatches45 msPassed