Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded23 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue26 msPassed
changesToRemovedObjectAreIgnoredOnCommit23 msPassed
clearCleansUpPersistenceContext23 msPassed
clearResetsCloneBuilder22 msPassed
commitDetachesPersistedInstance23 msPassed
commitEvictsInferredClassesFromCache23 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction36 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances24 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne23 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject24 msPassed
getManagedOriginalForDifferentContextReturnsNull25 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull22 msPassed
getManagedOriginalReturnsManagedOriginalInstance22 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects22 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType22 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction26 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper61 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged23 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance21 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject46 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute69 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject27 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute23 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance22 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject23 msPassed
isLoadedReturnsUnknownForUnregisteredObject51 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded23 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull27 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded22 msPassed
loadFieldLoadsLiteralValueAttribute23 msPassed
loadFieldLoadsManagedTypeAttribute53 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes45 msPassed
readAlreadyManagedObjectReturnsTheManagedOne23 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState32 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet29 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges54 msPassed
refreshOverwritesChangesSentToRepository23 msPassed
refreshOverwritesObjectPropertyChanges25 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance30 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity29 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance22 msPassed
refreshThrowsIllegalArgumentForRemovedInstance42 msPassed
registerExistingObjectInvokesPostCloneListeners22 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.14 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated30 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions48 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities48 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository42 msPassed
restoreDeletedRegistersObjectAgain23 msPassed
restoreDeletedReinsertsObjectIntoRepository22 msPassed
rollbackDetachesAllManagedEntities25 msPassed
testAttributeChanged22 msPassed
testAttributeChangedNotRegistered22 msPassed
testAttributeChangedOutsideTransaction27 msPassed
testCalculateDeletedObjects23 msPassed
testCalculateModificationsDataProperty23 msPassed
testCalculateModificationsObjectProperty27 msPassed
testCalculateNewObjects25 msPassed
testClearCacheAfterCommit48 msPassed
testCommitFailed23 msPassed
testCommitInactive22 msPassed
testContains22 msPassed
testGetContexts21 msPassed
testGetOriginal22 msPassed
testGetOriginalNull43 msPassed
testGetState28 msPassed
testGetStateWithDescriptor47 msPassed
testIsConsistent26 msPassed
testIsObjectManaged44 msPassed
testIsObjectManagerNull42 msPassed
testIsObjectNew98 msPassed
testIsObjectNewWithNullAndManaged39 msPassed
testLoadFieldValueNotRegistered22 msPassed
testReadObjectFromOntology27 msPassed
testReadObjectJustPersisted22 msPassed
testReadObjectNullClass22 msPassed
testReadObjectNullContext23 msPassed
testReadObjectNullPrimaryKey52 msPassed
testRegisterExistingObject23 msPassed
testRegisterExistingObjectTwice22 msPassed
testRegisterNewObject24 msPassed
testRegisterNewObjectNull23 msPassed
testRegisterNewObjectNullDescriptor25 msPassed
testReleaseUnitOfWork47 msPassed
testRemoveNewObject72 msPassed
testRemoveObjectFromCache22 msPassed
testRemoveObjectNotRegistered30 msPassed
testRollback22 msPassed
testRollbackInactive46 msPassed
testUnregisterObject22 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit27 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit66 msPassed
unregisterObjectRemovesItFromCloneBuilderCache45 msPassed
unwrapReturnsItselfWhenClassMatches22 msPassed