Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded31 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue33 msPassed
changesToRemovedObjectAreIgnoredOnCommit35 msPassed
clearCleansUpPersistenceContext32 msPassed
clearResetsCloneBuilder29 msPassed
commitDetachesPersistedInstance38 msPassed
commitEvictsInferredClassesFromCache32 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction30 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances29 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne72 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject32 msPassed
getManagedOriginalForDifferentContextReturnsNull43 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull42 msPassed
getManagedOriginalReturnsManagedOriginalInstance29 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects34 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType40 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction45 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper29 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged30 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance38 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject28 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute29 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject29 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute28 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance29 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject37 msPassed
isLoadedReturnsUnknownForUnregisteredObject31 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded31 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull27 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded29 msPassed
loadFieldLoadsLiteralValueAttribute50 msPassed
loadFieldLoadsManagedTypeAttribute46 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes44 msPassed
readAlreadyManagedObjectReturnsTheManagedOne28 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState31 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet49 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges31 msPassed
refreshOverwritesChangesSentToRepository31 msPassed
refreshOverwritesObjectPropertyChanges34 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance29 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity45 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance28 msPassed
refreshThrowsIllegalArgumentForRemovedInstance74 msPassed
registerExistingObjectInvokesPostCloneListeners28 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder29 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated28 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions29 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities33 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository29 msPassed
restoreDeletedRegistersObjectAgain30 msPassed
restoreDeletedReinsertsObjectIntoRepository39 msPassed
rollbackDetachesAllManagedEntities29 msPassed
testAttributeChanged34 msPassed
testAttributeChangedNotRegistered38 msPassed
testAttributeChangedOutsideTransaction38 msPassed
testCalculateDeletedObjects31 msPassed
testCalculateModificationsDataProperty29 msPassed
testCalculateModificationsObjectProperty32 msPassed
testCalculateNewObjects32 msPassed
testClearCacheAfterCommit36 msPassed
testCommitFailed45 msPassed
testCommitInactive83 msPassed
testContains30 msPassed
testGetContexts37 msPassed
testGetOriginal29 msPassed
testGetOriginalNull28 msPassed
testGetState41 msPassed
testGetStateWithDescriptor34 msPassed
testIsConsistent36 msPassed
testIsObjectManaged31 msPassed
testIsObjectManagerNull44 msPassed
testIsObjectNew27 msPassed
testIsObjectNewWithNullAndManaged28 msPassed
testLoadFieldValueNotRegistered27 msPassed
testReadObjectFromOntology29 msPassed
testReadObjectJustPersisted31 msPassed
testReadObjectNullClass28 msPassed
testReadObjectNullContext50 msPassed
testReadObjectNullPrimaryKey27 msPassed
testRegisterExistingObject41 msPassed
testRegisterExistingObjectTwice28 msPassed
testRegisterNewObject36 msPassed
testRegisterNewObjectNull30 msPassed
testRegisterNewObjectNullDescriptor29 msPassed
testReleaseUnitOfWork32 msPassed
testRemoveNewObject29 msPassed
testRemoveObjectFromCache28 msPassed
testRemoveObjectNotRegistered34 msPassed
testRollback31 msPassed
testRollbackInactive48 msPassed
testUnregisterObject30 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit34 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit33 msPassed
unregisterObjectRemovesItFromCloneBuilderCache35 msPassed
unwrapReturnsItselfWhenClassMatches28 msPassed