Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded21 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue23 msPassed
changesToRemovedObjectAreIgnoredOnCommit22 msPassed
clearCleansUpPersistenceContext24 msPassed
clearResetsCloneBuilder20 msPassed
commitDetachesPersistedInstance22 msPassed
commitEvictsInferredClassesFromCache23 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction22 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances26 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne21 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject23 msPassed
getManagedOriginalForDifferentContextReturnsNull22 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull25 msPassed
getManagedOriginalReturnsManagedOriginalInstance20 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects21 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType21 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction25 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper21 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged21 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance22 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject20 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute72 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject25 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute23 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance21 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject28 msPassed
isLoadedReturnsUnknownForUnregisteredObject20 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded22 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull26 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded21 msPassed
loadFieldLoadsLiteralValueAttribute24 msPassed
loadFieldLoadsManagedTypeAttribute23 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes22 msPassed
readAlreadyManagedObjectReturnsTheManagedOne25 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState30 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet29 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges21 msPassed
refreshOverwritesChangesSentToRepository22 msPassed
refreshOverwritesObjectPropertyChanges24 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance28 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity23 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance21 msPassed
refreshThrowsIllegalArgumentForRemovedInstance20 msPassed
registerExistingObjectInvokesPostCloneListeners21 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.18 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated28 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions21 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities20 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository20 msPassed
restoreDeletedRegistersObjectAgain21 msPassed
restoreDeletedReinsertsObjectIntoRepository22 msPassed
rollbackDetachesAllManagedEntities24 msPassed
testAttributeChanged24 msPassed
testAttributeChangedNotRegistered27 msPassed
testAttributeChangedOutsideTransaction25 msPassed
testCalculateDeletedObjects23 msPassed
testCalculateModificationsDataProperty21 msPassed
testCalculateModificationsObjectProperty23 msPassed
testCalculateNewObjects62 msPassed
testClearCacheAfterCommit21 msPassed
testCommitFailed21 msPassed
testCommitInactive22 msPassed
testContains21 msPassed
testGetContexts20 msPassed
testGetOriginal25 msPassed
testGetOriginalNull20 msPassed
testGetState27 msPassed
testGetStateWithDescriptor21 msPassed
testIsConsistent89 msPassed
testIsObjectManaged20 msPassed
testIsObjectManagerNull21 msPassed
testIsObjectNew19 msPassed
testIsObjectNewWithNullAndManaged21 msPassed
testLoadFieldValueNotRegistered23 msPassed
testReadObjectFromOntology20 msPassed
testReadObjectJustPersisted21 msPassed
testReadObjectNullClass21 msPassed
testReadObjectNullContext22 msPassed
testReadObjectNullPrimaryKey20 msPassed
testRegisterExistingObject23 msPassed
testRegisterExistingObjectTwice21 msPassed
testRegisterNewObject27 msPassed
testRegisterNewObjectNull25 msPassed
testRegisterNewObjectNullDescriptor20 msPassed
testReleaseUnitOfWork20 msPassed
testRemoveNewObject21 msPassed
testRemoveObjectFromCache20 msPassed
testRemoveObjectNotRegistered19 msPassed
testRollback22 msPassed
testRollbackInactive20 msPassed
testUnregisterObject21 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit25 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit24 msPassed
unregisterObjectRemovesItFromCloneBuilderCache21 msPassed
unwrapReturnsItselfWhenClassMatches21 msPassed