Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded34 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue32 msPassed
changesToRemovedObjectAreIgnoredOnCommit31 msPassed
clearCleansUpPersistenceContext33 msPassed
clearResetsCloneBuilder30 msPassed
commitDetachesPersistedInstance35 msPassed
commitEvictsInferredClassesFromCache31 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction33 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances39 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne31 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject35 msPassed
getManagedOriginalForDifferentContextReturnsNull32 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull29 msPassed
getManagedOriginalReturnsManagedOriginalInstance32 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects30 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType31 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction35 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper40 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged29 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance29 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject35 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute33 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject30 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute30 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance29 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject43 msPassed
isLoadedReturnsUnknownForUnregisteredObject29 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded36 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull31 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded45 msPassed
loadFieldLoadsLiteralValueAttribute30 msPassed
loadFieldLoadsManagedTypeAttribute34 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes32 msPassed
readAlreadyManagedObjectReturnsTheManagedOne43 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState31 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet33 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges38 msPassed
refreshOverwritesChangesSentToRepository36 msPassed
refreshOverwritesObjectPropertyChanges34 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance33 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity33 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance29 msPassed
refreshThrowsIllegalArgumentForRemovedInstance31 msPassed
registerExistingObjectInvokesPostCloneListeners37 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder31 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated30 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions73 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities29 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository30 msPassed
restoreDeletedRegistersObjectAgain32 msPassed
restoreDeletedReinsertsObjectIntoRepository79 msPassed
rollbackDetachesAllManagedEntities41 msPassed
testAttributeChanged29 msPassed
testAttributeChangedNotRegistered39 msPassed
testAttributeChangedOutsideTransaction30 msPassed
testCalculateDeletedObjects33 msPassed
testCalculateModificationsDataProperty31 msPassed
testCalculateModificationsObjectProperty33 msPassed
testCalculateNewObjects32 msPassed
testClearCacheAfterCommit32 msPassed
testCommitFailed31 msPassed
testCommitInactive30 msPassed
testContains30 msPassed
testGetContexts28 msPassed
testGetOriginal39 msPassed
testGetOriginalNull29 msPassed
testGetState35 msPassed
testGetStateWithDescriptor30 msPassed
testIsConsistent38 msPassed
testIsObjectManaged31 msPassed
testIsObjectManagerNull29 msPassed
testIsObjectNew38 msPassed
testIsObjectNewWithNullAndManaged32 msPassed
testLoadFieldValueNotRegistered30 msPassed
testReadObjectFromOntology31 msPassed
testReadObjectJustPersisted40 msPassed
testReadObjectNullClass33 msPassed
testReadObjectNullContext29 msPassed
testReadObjectNullPrimaryKey38 msPassed
testRegisterExistingObject29 msPassed
testRegisterExistingObjectTwice37 msPassed
testRegisterNewObject39 msPassed
testRegisterNewObjectNull30 msPassed
testRegisterNewObjectNullDescriptor33 msPassed
testReleaseUnitOfWork30 msPassed
testRemoveNewObject51 msPassed
testRemoveObjectFromCache30 msPassed
testRemoveObjectNotRegistered28 msPassed
testRollback30 msPassed
testRollbackInactive30 msPassed
testUnregisterObject35 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit40 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit38 msPassed
unregisterObjectRemovesItFromCloneBuilderCache30 msPassed
unwrapReturnsItselfWhenClassMatches31 msPassed