Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded35 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue37 msPassed
changesToRemovedObjectAreIgnoredOnCommit33 msPassed
clearCleansUpPersistenceContext35 msPassed
clearResetsCloneBuilder29 msPassed
commitDetachesPersistedInstance32 msPassed
commitEvictsInferredClassesFromCache37 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction30 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances30 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne34 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject34 msPassed
getManagedOriginalForDifferentContextReturnsNull36 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull30 msPassed
getManagedOriginalReturnsManagedOriginalInstance28 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects36 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType33 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction37 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper29 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged33 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance31 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject43 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute45 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject28 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute29 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance33 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject30 msPassed
isLoadedReturnsUnknownForUnregisteredObject41 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded33 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull29 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded28 msPassed
loadFieldLoadsLiteralValueAttribute33 msPassed
loadFieldLoadsManagedTypeAttribute36 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes43 msPassed
readAlreadyManagedObjectReturnsTheManagedOne32 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState30 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet32 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges30 msPassed
refreshOverwritesChangesSentToRepository33 msPassed
refreshOverwritesObjectPropertyChanges33 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance43 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity34 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance32 msPassed
refreshThrowsIllegalArgumentForRemovedInstance41 msPassed
registerExistingObjectInvokesPostCloneListeners32 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder39 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated29 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions41 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities42 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository40 msPassed
restoreDeletedRegistersObjectAgain31 msPassed
restoreDeletedReinsertsObjectIntoRepository32 msPassed
rollbackDetachesAllManagedEntities40 msPassed
testAttributeChanged32 msPassed
testAttributeChangedNotRegistered29 msPassed
testAttributeChangedOutsideTransaction29 msPassed
testCalculateDeletedObjects42 msPassed
testCalculateModificationsDataProperty35 msPassed
testCalculateModificationsObjectProperty34 msPassed
testCalculateNewObjects88 msPassed
testClearCacheAfterCommit42 msPassed
testCommitFailed32 msPassed
testCommitInactive28 msPassed
testContains32 msPassed
testGetContexts31 msPassed
testGetOriginal29 msPassed
testGetOriginalNull40 msPassed
testGetState31 msPassed
testGetStateWithDescriptor41 msPassed
testIsConsistent28 msPassed
testIsObjectManaged41 msPassed
testIsObjectManagerNull34 msPassed
testIsObjectNew20 msPassed
testIsObjectNewWithNullAndManaged39 msPassed
testLoadFieldValueNotRegistered28 msPassed
testReadObjectFromOntology41 msPassed
testReadObjectJustPersisted32 msPassed
testReadObjectNullClass31 msPassed
testReadObjectNullContext33 msPassed
testReadObjectNullPrimaryKey28 msPassed
testRegisterExistingObject32 msPassed
testRegisterExistingObjectTwice32 msPassed
testRegisterNewObject82 msPassed
testRegisterNewObjectNull29 msPassed
testRegisterNewObjectNullDescriptor31 msPassed
testReleaseUnitOfWork40 msPassed
testRemoveNewObject32 msPassed
testRemoveObjectFromCache28 msPassed
testRemoveObjectNotRegistered40 msPassed
testRollback35 msPassed
testRollbackInactive40 msPassed
testUnregisterObject32 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit37 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit33 msPassed
unregisterObjectRemovesItFromCloneBuilderCache43 msPassed
unwrapReturnsItselfWhenClassMatches31 msPassed