Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded30 msPassed
changesToRemovedObjectAreIgnoredOnCommit29 msPassed
clearCleansUpPersistenceContext48 msPassed
clearResetsCloneBuilder30 msPassed
commitDetachesPersistedInstance30 msPassed
commitEvictsInferredClassesFromCache31 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction32 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances39 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne32 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject33 msPassed
getManagedOriginalForDifferentContextReturnsNull31 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull43 msPassed
getManagedOriginalReturnsManagedOriginalInstance29 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects29 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType29 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction38 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance29 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject26 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute31 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject29 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute38 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance28 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject31 msPassed
isLoadedReturnsUnknownForUnregisteredObject28 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded32 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull29 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded30 msPassed
loadFieldLoadsLiteralValueAttribute30 msPassed
loadFieldLoadsManagedTypeAttribute33 msPassed
readAlreadyManagedObjectReturnsTheManagedOne30 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState32 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet33 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges31 msPassed
refreshOverwritesChangesSentToRepository32 msPassed
refreshOverwritesObjectPropertyChanges42 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance32 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity31 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance28 msPassed
refreshThrowsIllegalArgumentForRemovedInstance31 msPassed
registerExistingObjectInvokesPostCloneListeners29 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder30 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated30 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions32 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities29 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository31 msPassed
restoreDeletedRegistersObjectAgain30 msPassed
restoreDeletedReinsertsObjectIntoRepository31 msPassed
rollbackDetachesAllManagedEntities30 msPassed
testAttributeChanged30 msPassed
testAttributeChangedNotRegistered33 msPassed
testAttributeChangedOutsideTransaction29 msPassed
testCalculateDeletedObjects32 msPassed
testCalculateModificationsDataProperty29 msPassed
testCalculateModificationsObjectProperty35 msPassed
testCalculateNewObjects34 msPassed
testClearCacheAfterCommit31 msPassed
testCommitFailed30 msPassed
testCommitInactive37 msPassed
testContains29 msPassed
testGetContexts31 msPassed
testGetOriginal35 msPassed
testGetOriginalNull30 msPassed
testGetState31 msPassed
testGetStateWithDescriptor31 msPassed
testIsConsistent29 msPassed
testIsObjectManaged32 msPassed
testIsObjectManagerNull30 msPassed
testIsObjectNew28 msPassed
testIsObjectNewWithNullAndManaged30 msPassed
testLoadFieldValueNotRegistered36 msPassed
testReadObjectFromOntology29 msPassed
testReadObjectJustPersisted29 msPassed
testReadObjectNullClass28 msPassed
testReadObjectNullContext31 msPassed
testReadObjectNullPrimaryKey29 msPassed
testRegisterExistingObject28 msPassed
testRegisterExistingObjectTwice30 msPassed
testRegisterNewObject29 msPassed
testRegisterNewObjectNull37 msPassed
testRegisterNewObjectNullDescriptor30 msPassed
testReleaseUnitOfWork28 msPassed
testRemoveNewObject30 msPassed
testRemoveObjectFromCache28 msPassed
testRemoveObjectNotRegistered30 msPassed
testRollback31 msPassed
testRollbackInactive31 msPassed
testSwitchQueryProcessingOntology28 msPassed
testUnregisterObject29 msPassed
testUseTransactionalOntologyForQueryProcessing29 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit37 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit34 msPassed
unregisterObjectRemovesItFromCloneBuilderCache49 msPassed
unwrapReturnsItselfWhenClassMatches39 msPassed