Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded36 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue36 msPassed
changesToRemovedObjectAreIgnoredOnCommit35 msPassed
clearCleansUpPersistenceContext37 msPassed
clearResetsCloneBuilder68 msPassed
commitDetachesPersistedInstance35 msPassed
commitEvictsInferredClassesFromCache36 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction49 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances70 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne36 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject40 msPassed
getManagedOriginalForDifferentContextReturnsNull47 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull34 msPassed
getManagedOriginalReturnsManagedOriginalInstance0.11 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects34 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType35 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction40 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance34 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject46 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute35 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject35 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute35 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance34 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject69 msPassed
isLoadedReturnsUnknownForUnregisteredObject33 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded37 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull36 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded51 msPassed
loadFieldLoadsLiteralValueAttribute37 msPassed
loadFieldLoadsManagedTypeAttribute49 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes37 msPassed
readAlreadyManagedObjectReturnsTheManagedOne35 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState38 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet37 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges46 msPassed
refreshOverwritesChangesSentToRepository37 msPassed
refreshOverwritesObjectPropertyChanges39 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance38 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity49 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance33 msPassed
refreshThrowsIllegalArgumentForRemovedInstance36 msPassed
registerExistingObjectInvokesPostCloneListeners35 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder35 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated36 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions46 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities36 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository34 msPassed
restoreDeletedRegistersObjectAgain35 msPassed
restoreDeletedReinsertsObjectIntoRepository34 msPassed
rollbackDetachesAllManagedEntities47 msPassed
testAttributeChanged34 msPassed
testAttributeChangedNotRegistered61 msPassed
testAttributeChangedOutsideTransaction57 msPassed
testCalculateDeletedObjects36 msPassed
testCalculateModificationsDataProperty35 msPassed
testCalculateModificationsObjectProperty37 msPassed
testCalculateNewObjects38 msPassed
testClearCacheAfterCommit36 msPassed
testCommitFailed45 msPassed
testCommitInactive35 msPassed
testContains34 msPassed
testGetContexts33 msPassed
testGetOriginal64 msPassed
testGetOriginalNull45 msPassed
testGetState37 msPassed
testGetStateWithDescriptor35 msPassed
testIsConsistent60 msPassed
testIsObjectManaged45 msPassed
testIsObjectManagerNull40 msPassed
testIsObjectNew45 msPassed
testIsObjectNewWithNullAndManaged46 msPassed
testLoadFieldValueNotRegistered62 msPassed
testReadObjectFromOntology46 msPassed
testReadObjectJustPersisted34 msPassed
testReadObjectNullClass34 msPassed
testReadObjectNullContext34 msPassed
testReadObjectNullPrimaryKey45 msPassed
testRegisterExistingObject43 msPassed
testRegisterExistingObjectTwice35 msPassed
testRegisterNewObject56 msPassed
testRegisterNewObjectNull33 msPassed
testRegisterNewObjectNullDescriptor34 msPassed
testReleaseUnitOfWork34 msPassed
testRemoveNewObject34 msPassed
testRemoveObjectFromCache60 msPassed
testRemoveObjectNotRegistered33 msPassed
testRollback35 msPassed
testRollbackInactive34 msPassed
testSwitchQueryProcessingOntology44 msPassed
testUnregisterObject35 msPassed
testUseTransactionalOntologyForQueryProcessing35 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit39 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit53 msPassed
unregisterObjectRemovesItFromCloneBuilderCache35 msPassed
unwrapReturnsItselfWhenClassMatches33 msPassed