Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded48 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue39 msPassed
changesToRemovedObjectAreIgnoredOnCommit41 msPassed
clearCleansUpPersistenceContext32 msPassed
clearResetsCloneBuilder29 msPassed
commitDetachesPersistedInstance33 msPassed
commitEvictsInferredClassesFromCache32 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction30 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances30 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne40 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject33 msPassed
getManagedOriginalForDifferentContextReturnsNull31 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull33 msPassed
getManagedOriginalReturnsManagedOriginalInstance30 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects42 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType43 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction38 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper29 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged41 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance31 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject27 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute31 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject29 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute29 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance41 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject29 msPassed
isLoadedReturnsUnknownForUnregisteredObject31 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded40 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull30 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded30 msPassed
loadFieldLoadsLiteralValueAttribute32 msPassed
loadFieldLoadsManagedTypeAttribute36 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes34 msPassed
readAlreadyManagedObjectReturnsTheManagedOne69 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState31 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet33 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges30 msPassed
refreshOverwritesChangesSentToRepository40 msPassed
refreshOverwritesObjectPropertyChanges99 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance31 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity33 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance31 msPassed
refreshThrowsIllegalArgumentForRemovedInstance28 msPassed
registerExistingObjectInvokesPostCloneListeners32 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder30 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated31 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions28 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities28 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository28 msPassed
restoreDeletedRegistersObjectAgain31 msPassed
restoreDeletedReinsertsObjectIntoRepository31 msPassed
rollbackDetachesAllManagedEntities29 msPassed
testAttributeChanged35 msPassed
testAttributeChangedNotRegistered32 msPassed
testAttributeChangedOutsideTransaction31 msPassed
testCalculateDeletedObjects33 msPassed
testCalculateModificationsDataProperty41 msPassed
testCalculateModificationsObjectProperty43 msPassed
testCalculateNewObjects35 msPassed
testClearCacheAfterCommit29 msPassed
testCommitFailed30 msPassed
testCommitInactive28 msPassed
testContains34 msPassed
testGetContexts39 msPassed
testGetOriginal30 msPassed
testGetOriginalNull27 msPassed
testGetState30 msPassed
testGetStateWithDescriptor29 msPassed
testIsConsistent28 msPassed
testIsObjectManaged29 msPassed
testIsObjectManagerNull31 msPassed
testIsObjectNew28 msPassed
testIsObjectNewWithNullAndManaged28 msPassed
testLoadFieldValueNotRegistered29 msPassed
testReadObjectFromOntology28 msPassed
testReadObjectJustPersisted32 msPassed
testReadObjectNullClass31 msPassed
testReadObjectNullContext34 msPassed
testReadObjectNullPrimaryKey29 msPassed
testRegisterExistingObject30 msPassed
testRegisterExistingObjectTwice37 msPassed
testRegisterNewObject30 msPassed
testRegisterNewObjectNull28 msPassed
testRegisterNewObjectNullDescriptor30 msPassed
testReleaseUnitOfWork31 msPassed
testRemoveNewObject31 msPassed
testRemoveObjectFromCache28 msPassed
testRemoveObjectNotRegistered32 msPassed
testRollback51 msPassed
testRollbackInactive33 msPassed
testUnregisterObject32 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit44 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit32 msPassed
unregisterObjectRemovesItFromCloneBuilderCache86 msPassed
unwrapReturnsItselfWhenClassMatches36 msPassed