Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded28 msPassed
changesToRemovedObjectAreIgnoredOnCommit28 msPassed
clearCleansUpPersistenceContext31 msPassed
clearResetsCloneBuilder51 msPassed
commitDetachesPersistedInstance28 msPassed
commitEvictsInferredClassesFromCache40 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction55 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances28 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne29 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject31 msPassed
getManagedOriginalForDifferentContextReturnsNull18 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull42 msPassed
getManagedOriginalReturnsManagedOriginalInstance29 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects36 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType28 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction34 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance27 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject53 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute35 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject27 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute28 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance27 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject28 msPassed
isLoadedReturnsUnknownForUnregisteredObject34 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded29 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull35 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded30 msPassed
loadFieldLoadsLiteralValueAttribute48 msPassed
loadFieldLoadsManagedTypeAttribute31 msPassed
readAlreadyManagedObjectReturnsTheManagedOne28 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState29 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet30 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges49 msPassed
refreshOverwritesChangesSentToRepository30 msPassed
refreshOverwritesObjectPropertyChanges32 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance30 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity40 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance28 msPassed
refreshThrowsIllegalArgumentForRemovedInstance51 msPassed
registerExistingObjectInvokesPostCloneListeners40 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder57 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated36 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions51 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities55 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository50 msPassed
restoreDeletedRegistersObjectAgain27 msPassed
restoreDeletedReinsertsObjectIntoRepository27 msPassed
rollbackDetachesAllManagedEntities29 msPassed
testAttributeChanged28 msPassed
testAttributeChangedNotRegistered26 msPassed
testAttributeChangedOutsideTransaction27 msPassed
testCalculateDeletedObjects29 msPassed
testCalculateModificationsDataProperty31 msPassed
testCalculateModificationsObjectProperty28 msPassed
testCalculateNewObjects33 msPassed
testClearCacheAfterCommit56 msPassed
testCommitFailed26 msPassed
testCommitInactive27 msPassed
testContains28 msPassed
testGetContexts26 msPassed
testGetOriginal28 msPassed
testGetOriginalNull50 msPassed
testGetState28 msPassed
testGetStateWithDescriptor50 msPassed
testIsConsistent27 msPassed
testIsObjectManaged50 msPassed
testIsObjectManagerNull27 msPassed
testIsObjectNew28 msPassed
testIsObjectNewWithNullAndManaged50 msPassed
testLoadFieldValueNotRegistered27 msPassed
testReadObjectFromOntology49 msPassed
testReadObjectJustPersisted26 msPassed
testReadObjectNullClass27 msPassed
testReadObjectNullContext40 msPassed
testReadObjectNullPrimaryKey27 msPassed
testRegisterExistingObject28 msPassed
testRegisterExistingObjectTwice53 msPassed
testRegisterNewObject27 msPassed
testRegisterNewObjectNull30 msPassed
testRegisterNewObjectNullDescriptor27 msPassed
testReleaseUnitOfWork42 msPassed
testRemoveNewObject28 msPassed
testRemoveObjectFromCache42 msPassed
testRemoveObjectNotRegistered50 msPassed
testRollback28 msPassed
testRollbackInactive53 msPassed
testSwitchQueryProcessingOntology40 msPassed
testUnregisterObject28 msPassed
testUseTransactionalOntologyForQueryProcessing26 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit32 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit61 msPassed
unregisterObjectRemovesItFromCloneBuilderCache51 msPassed
unwrapReturnsItselfWhenClassMatches39 msPassed