Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded32 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue34 msPassed
changesToRemovedObjectAreIgnoredOnCommit31 msPassed
clearCleansUpPersistenceContext32 msPassed
clearResetsCloneBuilder40 msPassed
commitDetachesPersistedInstance46 msPassed
commitEvictsInferredClassesFromCache33 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction34 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances42 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne37 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject29 msPassed
getManagedOriginalForDifferentContextReturnsNull32 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull32 msPassed
getManagedOriginalReturnsManagedOriginalInstance41 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects32 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType31 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction47 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper33 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged34 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance32 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject32 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute40 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject48 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute28 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance30 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject41 msPassed
isLoadedReturnsUnknownForUnregisteredObject30 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded29 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull36 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded41 msPassed
loadFieldLoadsLiteralValueAttribute33 msPassed
loadFieldLoadsManagedTypeAttribute35 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes92 msPassed
readAlreadyManagedObjectReturnsTheManagedOne28 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState42 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet48 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges34 msPassed
refreshOverwritesChangesSentToRepository30 msPassed
refreshOverwritesObjectPropertyChanges33 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance39 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity35 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance32 msPassed
refreshThrowsIllegalArgumentForRemovedInstance33 msPassed
registerExistingObjectInvokesPostCloneListeners28 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder29 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated38 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions32 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities32 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository34 msPassed
restoreDeletedRegistersObjectAgain28 msPassed
restoreDeletedReinsertsObjectIntoRepository38 msPassed
rollbackDetachesAllManagedEntities38 msPassed
testAttributeChanged32 msPassed
testAttributeChangedNotRegistered40 msPassed
testAttributeChangedOutsideTransaction37 msPassed
testCalculateDeletedObjects30 msPassed
testCalculateModificationsDataProperty29 msPassed
testCalculateModificationsObjectProperty33 msPassed
testCalculateNewObjects36 msPassed
testClearCacheAfterCommit34 msPassed
testCommitFailed31 msPassed
testCommitInactive28 msPassed
testContains32 msPassed
testGetContexts30 msPassed
testGetOriginal41 msPassed
testGetOriginalNull29 msPassed
testGetState39 msPassed
testGetStateWithDescriptor33 msPassed
testIsConsistent43 msPassed
testIsObjectManaged31 msPassed
testIsObjectManagerNull30 msPassed
testIsObjectNew32 msPassed
testIsObjectNewWithNullAndManaged34 msPassed
testLoadFieldValueNotRegistered39 msPassed
testReadObjectFromOntology33 msPassed
testReadObjectJustPersisted55 msPassed
testReadObjectNullClass27 msPassed
testReadObjectNullContext31 msPassed
testReadObjectNullPrimaryKey30 msPassed
testRegisterExistingObject31 msPassed
testRegisterExistingObjectTwice27 msPassed
testRegisterNewObject51 msPassed
testRegisterNewObjectNull33 msPassed
testRegisterNewObjectNullDescriptor27 msPassed
testReleaseUnitOfWork32 msPassed
testRemoveNewObject31 msPassed
testRemoveObjectFromCache38 msPassed
testRemoveObjectNotRegistered31 msPassed
testRollback32 msPassed
testRollbackInactive31 msPassed
testUnregisterObject28 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit32 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit38 msPassed
unregisterObjectRemovesItFromCloneBuilderCache32 msPassed
unwrapReturnsItselfWhenClassMatches27 msPassed