Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded39 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue41 msPassed
changesToRemovedObjectAreIgnoredOnCommit36 msPassed
clearCleansUpPersistenceContext39 msPassed
clearResetsCloneBuilder47 msPassed
commitDetachesPersistedInstance71 msPassed
commitEvictsInferredClassesFromCache40 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction37 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances50 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne58 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject53 msPassed
getManagedOriginalForDifferentContextReturnsNull52 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull58 msPassed
getManagedOriginalReturnsManagedOriginalInstance48 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects46 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType36 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction77 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance34 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject36 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute49 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject48 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute36 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance35 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject47 msPassed
isLoadedReturnsUnknownForUnregisteredObject35 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded38 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull48 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded47 msPassed
loadFieldLoadsLiteralValueAttribute56 msPassed
loadFieldLoadsManagedTypeAttribute39 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes37 msPassed
readAlreadyManagedObjectReturnsTheManagedOne71 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState49 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet49 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges37 msPassed
refreshOverwritesChangesSentToRepository38 msPassed
refreshOverwritesObjectPropertyChanges41 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance61 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity51 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance35 msPassed
refreshThrowsIllegalArgumentForRemovedInstance37 msPassed
registerExistingObjectInvokesPostCloneListeners73 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder52 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated47 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions37 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities37 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository35 msPassed
restoreDeletedRegistersObjectAgain36 msPassed
restoreDeletedReinsertsObjectIntoRepository71 msPassed
rollbackDetachesAllManagedEntities49 msPassed
testAttributeChanged36 msPassed
testAttributeChangedNotRegistered47 msPassed
testAttributeChangedOutsideTransaction36 msPassed
testCalculateDeletedObjects39 msPassed
testCalculateModificationsDataProperty37 msPassed
testCalculateModificationsObjectProperty40 msPassed
testCalculateNewObjects39 msPassed
testClearCacheAfterCommit39 msPassed
testCommitFailed51 msPassed
testCommitInactive0.2 secPassed
testContains37 msPassed
testGetContexts36 msPassed
testGetOriginal47 msPassed
testGetOriginalNull34 msPassed
testGetState36 msPassed
testGetStateWithDescriptor37 msPassed
testIsConsistent36 msPassed
testIsObjectManaged35 msPassed
testIsObjectManagerNull34 msPassed
testIsObjectNew44 msPassed
testIsObjectNewWithNullAndManaged36 msPassed
testLoadFieldValueNotRegistered47 msPassed
testReadObjectFromOntology36 msPassed
testReadObjectJustPersisted68 msPassed
testReadObjectNullClass37 msPassed
testReadObjectNullContext38 msPassed
testReadObjectNullPrimaryKey35 msPassed
testRegisterExistingObject51 msPassed
testRegisterExistingObjectTwice36 msPassed
testRegisterNewObject50 msPassed
testRegisterNewObjectNull38 msPassed
testRegisterNewObjectNullDescriptor67 msPassed
testReleaseUnitOfWork35 msPassed
testRemoveNewObject68 msPassed
testRemoveObjectFromCache46 msPassed
testRemoveObjectNotRegistered35 msPassed
testRollback37 msPassed
testRollbackInactive35 msPassed
testSwitchQueryProcessingOntology35 msPassed
testUnregisterObject65 msPassed
testUseTransactionalOntologyForQueryProcessing46 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit40 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit40 msPassed
unregisterObjectRemovesItFromCloneBuilderCache36 msPassed
unwrapReturnsItselfWhenClassMatches35 msPassed