Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
94 tests (±0)
Took 2.8 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded29 msPassed
changesToRemovedObjectAreIgnoredOnCommit30 msPassed
clearCleansUpPersistenceContext31 msPassed
clearResetsCloneBuilder27 msPassed
commitDetachesPersistedInstance29 msPassed
commitEvictsInferredClassesFromCache31 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction30 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances30 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne29 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject30 msPassed
getManagedOriginalForDifferentContextReturnsNull29 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull28 msPassed
getManagedOriginalReturnsManagedOriginalInstance28 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects29 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType31 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction33 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance28 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject30 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute31 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject28 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute29 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance28 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject28 msPassed
isLoadedReturnsUnknownForUnregisteredObject28 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded30 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull30 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded28 msPassed
loadFieldLoadsLiteralValueAttribute29 msPassed
loadFieldLoadsManagedTypeAttribute31 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes39 msPassed
readAlreadyManagedObjectReturnsTheManagedOne28 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState31 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet31 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges30 msPassed
refreshOverwritesChangesSentToRepository30 msPassed
refreshOverwritesObjectPropertyChanges33 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance29 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity32 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance28 msPassed
refreshThrowsIllegalArgumentForRemovedInstance54 msPassed
registerExistingObjectInvokesPostCloneListeners29 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder30 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated29 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions32 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities39 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository29 msPassed
restoreDeletedRegistersObjectAgain28 msPassed
restoreDeletedReinsertsObjectIntoRepository29 msPassed
rollbackDetachesAllManagedEntities29 msPassed
testAttributeChanged29 msPassed
testAttributeChangedNotRegistered28 msPassed
testAttributeChangedOutsideTransaction29 msPassed
testCalculateDeletedObjects30 msPassed
testCalculateModificationsDataProperty29 msPassed
testCalculateModificationsObjectProperty32 msPassed
testCalculateNewObjects32 msPassed
testClearCacheAfterCommit40 msPassed
testCommitFailed27 msPassed
testCommitInactive28 msPassed
testContains29 msPassed
testGetContexts27 msPassed
testGetOriginal29 msPassed
testGetOriginalNull29 msPassed
testGetState31 msPassed
testGetStateWithDescriptor38 msPassed
testIsConsistent28 msPassed
testIsObjectManaged27 msPassed
testIsObjectManagerNull29 msPassed
testIsObjectNew27 msPassed
testIsObjectNewWithNullAndManaged28 msPassed
testLoadFieldValueNotRegistered27 msPassed
testReadObjectFromOntology32 msPassed
testReadObjectJustPersisted28 msPassed
testReadObjectNullClass28 msPassed
testReadObjectNullContext28 msPassed
testReadObjectNullPrimaryKey28 msPassed
testRegisterExistingObject28 msPassed
testRegisterExistingObjectTwice27 msPassed
testRegisterNewObject28 msPassed
testRegisterNewObjectNull26 msPassed
testRegisterNewObjectNullDescriptor27 msPassed
testReleaseUnitOfWork29 msPassed
testRemoveNewObject28 msPassed
testRemoveObjectFromCache27 msPassed
testRemoveObjectNotRegistered37 msPassed
testRollback29 msPassed
testRollbackInactive37 msPassed
testSwitchQueryProcessingOntology27 msPassed
testUnregisterObject28 msPassed
testUseTransactionalOntologyForQueryProcessing28 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit32 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit36 msPassed
unregisterObjectRemovesItFromCloneBuilderCache38 msPassed
unwrapReturnsItselfWhenClassMatches27 msPassed