Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
93 tests (±0)
Took 2.1 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded19 msPassed
changesToRemovedObjectAreIgnoredOnCommit20 msPassed
clearCleansUpPersistenceContext22 msPassed
clearResetsCloneBuilder19 msPassed
commitDetachesPersistedInstance20 msPassed
commitEvictsInferredClassesFromCache20 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction33 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances22 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne20 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject35 msPassed
getManagedOriginalForDifferentContextReturnsNull19 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull18 msPassed
getManagedOriginalReturnsManagedOriginalInstance19 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects20 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType19 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction24 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance19 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject19 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute21 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject19 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute19 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance18 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject23 msPassed
isLoadedReturnsUnknownForUnregisteredObject19 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded45 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull20 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded20 msPassed
loadFieldLoadsLiteralValueAttribute20 msPassed
loadFieldLoadsManagedTypeAttribute22 msPassed
readAlreadyManagedObjectReturnsTheManagedOne19 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState20 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet21 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges20 msPassed
refreshOverwritesChangesSentToRepository43 msPassed
refreshOverwritesObjectPropertyChanges24 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance20 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity21 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance19 msPassed
refreshThrowsIllegalArgumentForRemovedInstance20 msPassed
registerExistingObjectInvokesPostCloneListeners19 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder19 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated19 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions19 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities20 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository19 msPassed
restoreDeletedRegistersObjectAgain41 msPassed
restoreDeletedReinsertsObjectIntoRepository20 msPassed
rollbackDetachesAllManagedEntities21 msPassed
testAttributeChanged19 msPassed
testAttributeChangedNotRegistered21 msPassed
testAttributeChangedOutsideTransaction19 msPassed
testCalculateDeletedObjects20 msPassed
testCalculateModificationsDataProperty20 msPassed
testCalculateModificationsObjectProperty21 msPassed
testCalculateNewObjects21 msPassed
testClearCacheAfterCommit20 msPassed
testCommitFailed19 msPassed
testCommitInactive19 msPassed
testContains20 msPassed
testGetContexts19 msPassed
testGetOriginal22 msPassed
testGetOriginalNull26 msPassed
testGetState21 msPassed
testGetStateWithDescriptor19 msPassed
testIsConsistent20 msPassed
testIsObjectManaged19 msPassed
testIsObjectManagerNull18 msPassed
testIsObjectNew19 msPassed
testIsObjectNewWithNullAndManaged41 msPassed
testLoadFieldValueNotRegistered20 msPassed
testReadObjectFromOntology43 msPassed
testReadObjectJustPersisted18 msPassed
testReadObjectNullClass24 msPassed
testReadObjectNullContext19 msPassed
testReadObjectNullPrimaryKey19 msPassed
testRegisterExistingObject19 msPassed
testRegisterExistingObjectTwice41 msPassed
testRegisterNewObject21 msPassed
testRegisterNewObjectNull19 msPassed
testRegisterNewObjectNullDescriptor39 msPassed
testReleaseUnitOfWork19 msPassed
testRemoveNewObject18 msPassed
testRemoveObjectFromCache19 msPassed
testRemoveObjectNotRegistered19 msPassed
testRollback20 msPassed
testRollbackInactive19 msPassed
testSwitchQueryProcessingOntology18 msPassed
testUnregisterObject19 msPassed
testUseTransactionalOntologyForQueryProcessing18 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit49 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit49 msPassed
unregisterObjectRemovesItFromCloneBuilderCache19 msPassed
unwrapReturnsItselfWhenClassMatches41 msPassed