Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded23 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue23 msPassed
changesToRemovedObjectAreIgnoredOnCommit22 msPassed
clearCleansUpPersistenceContext30 msPassed
clearResetsCloneBuilder50 msPassed
commitDetachesPersistedInstance21 msPassed
commitEvictsInferredClassesFromCache22 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction72 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances56 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne21 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject22 msPassed
getManagedOriginalForDifferentContextReturnsNull24 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull20 msPassed
getManagedOriginalReturnsManagedOriginalInstance51 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects21 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType21 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction26 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper61 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged82 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance21 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.1 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute82 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject26 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute55 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance21 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject99 msPassed
isLoadedReturnsUnknownForUnregisteredObject24 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded22 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull59 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded59 msPassed
loadFieldLoadsLiteralValueAttribute23 msPassed
loadFieldLoadsManagedTypeAttribute28 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes27 msPassed
readAlreadyManagedObjectReturnsTheManagedOne21 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState34 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet30 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges74 msPassed
refreshOverwritesChangesSentToRepository23 msPassed
refreshOverwritesObjectPropertyChanges29 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance43 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity27 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance20 msPassed
refreshThrowsIllegalArgumentForRemovedInstance58 msPassed
registerExistingObjectInvokesPostCloneListeners24 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.22 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated32 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions62 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities49 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository56 msPassed
restoreDeletedRegistersObjectAgain21 msPassed
restoreDeletedReinsertsObjectIntoRepository20 msPassed
rollbackDetachesAllManagedEntities72 msPassed
testAttributeChanged21 msPassed
testAttributeChangedNotRegistered26 msPassed
testAttributeChangedOutsideTransaction25 msPassed
testCalculateDeletedObjects28 msPassed
testCalculateModificationsDataProperty24 msPassed
testCalculateModificationsObjectProperty24 msPassed
testCalculateNewObjects24 msPassed
testClearCacheAfterCommit63 msPassed
testCommitFailed23 msPassed
testCommitInactive36 msPassed
testContains21 msPassed
testGetContexts21 msPassed
testGetOriginal70 msPassed
testGetOriginalNull65 msPassed
testGetState27 msPassed
testGetStateWithDescriptor26 msPassed
testIsConsistent25 msPassed
testIsObjectManaged77 msPassed
testIsObjectManagerNull25 msPassed
testIsObjectNew60 msPassed
testIsObjectNewWithNullAndManaged74 msPassed
testLoadFieldValueNotRegistered49 msPassed
testReadObjectFromOntology75 msPassed
testReadObjectJustPersisted21 msPassed
testReadObjectNullClass21 msPassed
testReadObjectNullContext20 msPassed
testReadObjectNullPrimaryKey60 msPassed
testRegisterExistingObject22 msPassed
testRegisterExistingObjectTwice21 msPassed
testRegisterNewObject25 msPassed
testRegisterNewObjectNull55 msPassed
testRegisterNewObjectNullDescriptor21 msPassed
testReleaseUnitOfWork25 msPassed
testRemoveNewObject20 msPassed
testRemoveObjectFromCache48 msPassed
testRemoveObjectNotRegistered26 msPassed
testRollback22 msPassed
testRollbackInactive25 msPassed
testUnregisterObject21 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit24 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit65 msPassed
unregisterObjectRemovesItFromCloneBuilderCache28 msPassed
unwrapReturnsItselfWhenClassMatches20 msPassed