Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
96 tests (±0)
Took 2.7 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded23 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue26 msPassed
changesToRemovedObjectAreIgnoredOnCommit24 msPassed
clearCleansUpPersistenceContext26 msPassed
clearResetsCloneBuilder25 msPassed
commitDetachesPersistedInstance24 msPassed
commitEvictsInferredClassesFromCache24 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction25 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances30 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne24 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject25 msPassed
getManagedOriginalForDifferentContextReturnsNull23 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull22 msPassed
getManagedOriginalReturnsManagedOriginalInstance38 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects24 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType23 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction28 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper24 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged22 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance22 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject26 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute77 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject27 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute35 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance23 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject28 msPassed
isLoadedReturnsUnknownForUnregisteredObject23 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded25 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull27 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded24 msPassed
loadFieldLoadsLiteralValueAttribute24 msPassed
loadFieldLoadsManagedTypeAttribute25 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes25 msPassed
readAlreadyManagedObjectReturnsTheManagedOne24 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState33 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet30 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges24 msPassed
refreshOverwritesChangesSentToRepository25 msPassed
refreshOverwritesObjectPropertyChanges34 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance30 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity26 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance23 msPassed
refreshThrowsIllegalArgumentForRemovedInstance23 msPassed
registerExistingObjectInvokesPostCloneListeners24 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.21 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated29 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions88 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities23 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository23 msPassed
restoreDeletedRegistersObjectAgain23 msPassed
restoreDeletedReinsertsObjectIntoRepository24 msPassed
rollbackDetachesAllManagedEntities26 msPassed
testAttributeChanged23 msPassed
testAttributeChangedNotRegistered27 msPassed
testAttributeChangedOutsideTransaction29 msPassed
testCalculateDeletedObjects24 msPassed
testCalculateModificationsDataProperty23 msPassed
testCalculateModificationsObjectProperty25 msPassed
testCalculateNewObjects27 msPassed
testClearCacheAfterCommit23 msPassed
testCommitFailed24 msPassed
testCommitInactive35 msPassed
testContains24 msPassed
testGetContexts22 msPassed
testGetOriginal28 msPassed
testGetOriginalNull23 msPassed
testGetState29 msPassed
testGetStateWithDescriptor22 msPassed
testIsConsistent28 msPassed
testIsObjectManaged23 msPassed
testIsObjectManagerNull22 msPassed
testIsObjectNew23 msPassed
testIsObjectNewWithNullAndManaged40 msPassed
testLoadFieldValueNotRegistered27 msPassed
testReadObjectFromOntology24 msPassed
testReadObjectJustPersisted23 msPassed
testReadObjectNullClass22 msPassed
testReadObjectNullContext23 msPassed
testReadObjectNullPrimaryKey23 msPassed
testRegisterExistingObject23 msPassed
testRegisterExistingObjectTwice24 msPassed
testRegisterNewObject27 msPassed
testRegisterNewObjectNull35 msPassed
testRegisterNewObjectNullDescriptor23 msPassed
testReleaseUnitOfWork22 msPassed
testRemoveNewObject22 msPassed
testRemoveObjectFromCache23 msPassed
testRemoveObjectNotRegistered22 msPassed
testRollback24 msPassed
testRollbackInactive21 msPassed
testUnregisterObject24 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit27 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit41 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached25 msPassed
unregisterObjectRemovesItFromCloneBuilderCache23 msPassed
unwrapReturnsItselfWhenClassMatches23 msPassed