Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded96 msPassed
changesToRemovedObjectAreIgnoredOnCommit70 msPassed
clearCleansUpPersistenceContext73 msPassed
clearResetsCloneBuilder68 msPassed
commitDetachesPersistedInstance69 msPassed
commitEvictsInferredClassesFromCache78 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction72 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances71 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne71 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject71 msPassed
getManagedOriginalForDifferentContextReturnsNull68 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull68 msPassed
getManagedOriginalReturnsManagedOriginalInstance67 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects97 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType68 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction83 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance68 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject66 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute72 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject91 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute68 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance67 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject68 msPassed
isLoadedReturnsUnknownForUnregisteredObject66 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded71 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull69 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded67 msPassed
loadFieldLoadsLiteralValueAttribute69 msPassed
loadFieldLoadsManagedTypeAttribute73 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes72 msPassed
readAlreadyManagedObjectReturnsTheManagedOne68 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState97 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet74 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges70 msPassed
refreshOverwritesChangesSentToRepository71 msPassed
refreshOverwritesObjectPropertyChanges76 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance73 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity71 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance66 msPassed
refreshThrowsIllegalArgumentForRemovedInstance67 msPassed
registerExistingObjectInvokesPostCloneListeners67 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder70 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated86 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions67 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities84 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository68 msPassed
restoreDeletedRegistersObjectAgain67 msPassed
restoreDeletedReinsertsObjectIntoRepository70 msPassed
rollbackDetachesAllManagedEntities69 msPassed
testAttributeChanged67 msPassed
testAttributeChangedNotRegistered66 msPassed
testAttributeChangedOutsideTransaction82 msPassed
testCalculateDeletedObjects72 msPassed
testCalculateModificationsDataProperty71 msPassed
testCalculateModificationsObjectProperty75 msPassed
testCalculateNewObjects76 msPassed
testClearCacheAfterCommit71 msPassed
testCommitFailed68 msPassed
testCommitInactive68 msPassed
testContains67 msPassed
testGetContexts67 msPassed
testGetOriginal68 msPassed
testGetOriginalNull65 msPassed
testGetState72 msPassed
testGetStateWithDescriptor93 msPassed
testIsConsistent66 msPassed
testIsObjectManaged81 msPassed
testIsObjectManagerNull67 msPassed
testIsObjectNew67 msPassed
testIsObjectNewWithNullAndManaged67 msPassed
testLoadFieldValueNotRegistered66 msPassed
testReadObjectFromOntology81 msPassed
testReadObjectJustPersisted68 msPassed
testReadObjectNullClass65 msPassed
testReadObjectNullContext66 msPassed
testReadObjectNullPrimaryKey67 msPassed
testRegisterExistingObject66 msPassed
testRegisterExistingObjectTwice74 msPassed
testRegisterNewObject66 msPassed
testRegisterNewObjectNull57 msPassed
testRegisterNewObjectNullDescriptor66 msPassed
testReleaseUnitOfWork66 msPassed
testRemoveNewObject67 msPassed
testRemoveObjectFromCache66 msPassed
testRemoveObjectNotRegistered88 msPassed
testRollback0.1 secPassed
testRollbackInactive69 msPassed
testSwitchQueryProcessingOntology66 msPassed
testUnregisterObject68 msPassed
testUseTransactionalOntologyForQueryProcessing78 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit79 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit78 msPassed
unregisterObjectRemovesItFromCloneBuilderCache92 msPassed
unwrapReturnsItselfWhenClassMatches67 msPassed