Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded20 msPassed
changesToRemovedObjectAreIgnoredOnCommit20 msPassed
clearCleansUpPersistenceContext21 msPassed
clearResetsCloneBuilder19 msPassed
commitDetachesPersistedInstance20 msPassed
commitEvictsInferredClassesFromCache21 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction20 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances20 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne20 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject21 msPassed
getManagedOriginalForDifferentContextReturnsNull19 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull18 msPassed
getManagedOriginalReturnsManagedOriginalInstance19 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects19 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType19 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction23 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance19 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject34 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute20 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject18 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute19 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance19 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject19 msPassed
isLoadedReturnsUnknownForUnregisteredObject19 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded21 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull20 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded19 msPassed
loadFieldLoadsLiteralValueAttribute20 msPassed
loadFieldLoadsManagedTypeAttribute21 msPassed
readAlreadyManagedObjectReturnsTheManagedOne19 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState22 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet20 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges20 msPassed
refreshOverwritesChangesSentToRepository20 msPassed
refreshOverwritesObjectPropertyChanges23 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance21 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity21 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance19 msPassed
refreshThrowsIllegalArgumentForRemovedInstance44 msPassed
registerExistingObjectInvokesPostCloneListeners19 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder20 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated19 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions50 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities48 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository49 msPassed
restoreDeletedRegistersObjectAgain19 msPassed
restoreDeletedReinsertsObjectIntoRepository20 msPassed
rollbackDetachesAllManagedEntities21 msPassed
testAttributeChanged19 msPassed
testAttributeChangedNotRegistered19 msPassed
testAttributeChangedOutsideTransaction19 msPassed
testCalculateDeletedObjects20 msPassed
testCalculateModificationsDataProperty19 msPassed
testCalculateModificationsObjectProperty21 msPassed
testCalculateNewObjects22 msPassed
testClearCacheAfterCommit48 msPassed
testCommitFailed18 msPassed
testCommitInactive19 msPassed
testContains19 msPassed
testGetContexts18 msPassed
testGetOriginal19 msPassed
testGetOriginalNull41 msPassed
testGetState21 msPassed
testGetStateWithDescriptor45 msPassed
testIsConsistent19 msPassed
testIsObjectManaged48 msPassed
testIsObjectManagerNull19 msPassed
testIsObjectNew18 msPassed
testIsObjectNewWithNullAndManaged19 msPassed
testLoadFieldValueNotRegistered19 msPassed
testReadObjectFromOntology19 msPassed
testReadObjectJustPersisted19 msPassed
testReadObjectNullClass18 msPassed
testReadObjectNullContext19 msPassed
testReadObjectNullPrimaryKey20 msPassed
testRegisterExistingObject18 msPassed
testRegisterExistingObjectTwice19 msPassed
testRegisterNewObject19 msPassed
testRegisterNewObjectNull19 msPassed
testRegisterNewObjectNullDescriptor19 msPassed
testReleaseUnitOfWork19 msPassed
testRemoveNewObject19 msPassed
testRemoveObjectFromCache18 msPassed
testRemoveObjectNotRegistered44 msPassed
testRollback19 msPassed
testRollbackInactive44 msPassed
testSwitchQueryProcessingOntology18 msPassed
testUnregisterObject19 msPassed
testUseTransactionalOntologyForQueryProcessing19 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit23 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit23 msPassed
unregisterObjectRemovesItFromCloneBuilderCache47 msPassed
unwrapReturnsItselfWhenClassMatches18 msPassed