Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded35 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue37 msPassed
changesToRemovedObjectAreIgnoredOnCommit35 msPassed
clearCleansUpPersistenceContext65 msPassed
clearResetsCloneBuilder37 msPassed
commitDetachesPersistedInstance36 msPassed
commitEvictsInferredClassesFromCache37 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction39 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances37 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne37 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject37 msPassed
getManagedOriginalForDifferentContextReturnsNull35 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull35 msPassed
getManagedOriginalReturnsManagedOriginalInstance36 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects36 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType35 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction41 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance35 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject37 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute63 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject35 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute64 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance34 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject36 msPassed
isLoadedReturnsUnknownForUnregisteredObject38 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded36 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull57 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded36 msPassed
loadFieldLoadsLiteralValueAttribute36 msPassed
loadFieldLoadsManagedTypeAttribute38 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes37 msPassed
readAlreadyManagedObjectReturnsTheManagedOne36 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState38 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet38 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges37 msPassed
refreshOverwritesChangesSentToRepository36 msPassed
refreshOverwritesObjectPropertyChanges64 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance61 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity37 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance37 msPassed
refreshThrowsIllegalArgumentForRemovedInstance35 msPassed
registerExistingObjectInvokesPostCloneListeners36 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder63 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated0.18 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions39 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities36 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository34 msPassed
restoreDeletedRegistersObjectAgain39 msPassed
restoreDeletedReinsertsObjectIntoRepository36 msPassed
rollbackDetachesAllManagedEntities37 msPassed
testAttributeChanged36 msPassed
testAttributeChangedNotRegistered35 msPassed
testAttributeChangedOutsideTransaction36 msPassed
testCalculateDeletedObjects63 msPassed
testCalculateModificationsDataProperty36 msPassed
testCalculateModificationsObjectProperty38 msPassed
testCalculateNewObjects39 msPassed
testClearCacheAfterCommit38 msPassed
testCommitFailed35 msPassed
testCommitInactive60 msPassed
testContains36 msPassed
testGetContexts34 msPassed
testGetOriginal35 msPassed
testGetOriginalNull34 msPassed
testGetState37 msPassed
testGetStateWithDescriptor37 msPassed
testIsConsistent35 msPassed
testIsObjectManaged36 msPassed
testIsObjectManagerNull31 msPassed
testIsObjectNew35 msPassed
testIsObjectNewWithNullAndManaged37 msPassed
testLoadFieldValueNotRegistered37 msPassed
testReadObjectFromOntology37 msPassed
testReadObjectJustPersisted39 msPassed
testReadObjectNullClass36 msPassed
testReadObjectNullContext34 msPassed
testReadObjectNullPrimaryKey36 msPassed
testRegisterExistingObject35 msPassed
testRegisterExistingObjectTwice36 msPassed
testRegisterNewObject35 msPassed
testRegisterNewObjectNull61 msPassed
testRegisterNewObjectNullDescriptor35 msPassed
testReleaseUnitOfWork35 msPassed
testRemoveNewObject37 msPassed
testRemoveObjectFromCache35 msPassed
testRemoveObjectNotRegistered34 msPassed
testRollback36 msPassed
testRollbackInactive35 msPassed
testSwitchQueryProcessingOntology34 msPassed
testUnregisterObject36 msPassed
testUseTransactionalOntologyForQueryProcessing34 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit42 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit40 msPassed
unregisterObjectRemovesItFromCloneBuilderCache36 msPassed
unwrapReturnsItselfWhenClassMatches48 msPassed