Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded21 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue23 msPassed
changesToRemovedObjectAreIgnoredOnCommit22 msPassed
clearCleansUpPersistenceContext24 msPassed
clearResetsCloneBuilder21 msPassed
commitDetachesPersistedInstance21 msPassed
commitEvictsInferredClassesFromCache22 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction23 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances24 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne22 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject23 msPassed
getManagedOriginalForDifferentContextReturnsNull21 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull20 msPassed
getManagedOriginalReturnsManagedOriginalInstance27 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects21 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType21 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction26 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper22 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged21 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance20 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject22 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute79 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject22 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute22 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance21 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject23 msPassed
isLoadedReturnsUnknownForUnregisteredObject21 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded34 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull22 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded52 msPassed
loadFieldLoadsLiteralValueAttribute22 msPassed
loadFieldLoadsManagedTypeAttribute24 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes26 msPassed
readAlreadyManagedObjectReturnsTheManagedOne22 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState27 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet23 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges22 msPassed
refreshOverwritesChangesSentToRepository23 msPassed
refreshOverwritesObjectPropertyChanges24 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance24 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity23 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance20 msPassed
refreshThrowsIllegalArgumentForRemovedInstance22 msPassed
registerExistingObjectInvokesPostCloneListeners21 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.18 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated23 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions21 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities21 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository23 msPassed
restoreDeletedRegistersObjectAgain27 msPassed
restoreDeletedReinsertsObjectIntoRepository22 msPassed
rollbackDetachesAllManagedEntities56 msPassed
testAttributeChanged22 msPassed
testAttributeChangedNotRegistered21 msPassed
testAttributeChangedOutsideTransaction21 msPassed
testCalculateDeletedObjects24 msPassed
testCalculateModificationsDataProperty21 msPassed
testCalculateModificationsObjectProperty24 msPassed
testCalculateNewObjects24 msPassed
testClearCacheAfterCommit22 msPassed
testCommitFailed21 msPassed
testCommitInactive22 msPassed
testContains22 msPassed
testGetContexts21 msPassed
testGetOriginal41 msPassed
testGetOriginalNull20 msPassed
testGetState27 msPassed
testGetStateWithDescriptor21 msPassed
testIsConsistent21 msPassed
testIsObjectManaged22 msPassed
testIsObjectManagerNull26 msPassed
testIsObjectNew0.12 secPassed
testIsObjectNewWithNullAndManaged21 msPassed
testLoadFieldValueNotRegistered21 msPassed
testReadObjectFromOntology21 msPassed
testReadObjectJustPersisted21 msPassed
testReadObjectNullClass20 msPassed
testReadObjectNullContext21 msPassed
testReadObjectNullPrimaryKey22 msPassed
testRegisterExistingObject21 msPassed
testRegisterExistingObjectTwice51 msPassed
testRegisterNewObject21 msPassed
testRegisterNewObjectNull24 msPassed
testRegisterNewObjectNullDescriptor20 msPassed
testReleaseUnitOfWork22 msPassed
testRemoveNewObject21 msPassed
testRemoveObjectFromCache20 msPassed
testRemoveObjectNotRegistered20 msPassed
testRollback21 msPassed
testRollbackInactive22 msPassed
testUnregisterObject22 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit25 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit25 msPassed
unregisterObjectRemovesItFromCloneBuilderCache23 msPassed
unwrapReturnsItselfWhenClassMatches54 msPassed