Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded30 msPassed
changesToRemovedObjectAreIgnoredOnCommit30 msPassed
clearCleansUpPersistenceContext32 msPassed
clearResetsCloneBuilder60 msPassed
commitDetachesPersistedInstance29 msPassed
commitEvictsInferredClassesFromCache32 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction40 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances63 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne30 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject31 msPassed
getManagedOriginalForDifferentContextReturnsNull38 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull28 msPassed
getManagedOriginalReturnsManagedOriginalInstance60 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects28 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType28 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction36 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance28 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject37 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute31 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject29 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute34 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance29 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject52 msPassed
isLoadedReturnsUnknownForUnregisteredObject36 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded32 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull30 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded59 msPassed
loadFieldLoadsLiteralValueAttribute38 msPassed
loadFieldLoadsManagedTypeAttribute41 msPassed
readAlreadyManagedObjectReturnsTheManagedOne29 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState32 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet31 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges43 msPassed
refreshOverwritesChangesSentToRepository31 msPassed
refreshOverwritesObjectPropertyChanges33 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance84 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity40 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance28 msPassed
refreshThrowsIllegalArgumentForRemovedInstance37 msPassed
registerExistingObjectInvokesPostCloneListeners29 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder30 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated30 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions38 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities37 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository40 msPassed
restoreDeletedRegistersObjectAgain29 msPassed
restoreDeletedReinsertsObjectIntoRepository29 msPassed
rollbackDetachesAllManagedEntities52 msPassed
testAttributeChanged29 msPassed
testAttributeChangedNotRegistered48 msPassed
testAttributeChangedOutsideTransaction29 msPassed
testCalculateDeletedObjects31 msPassed
testCalculateModificationsDataProperty29 msPassed
testCalculateModificationsObjectProperty31 msPassed
testCalculateNewObjects33 msPassed
testClearCacheAfterCommit39 msPassed
testCommitFailed31 msPassed
testCommitInactive34 msPassed
testContains28 msPassed
testGetContexts27 msPassed
testGetOriginal55 msPassed
testGetOriginalNull36 msPassed
testGetState38 msPassed
testGetStateWithDescriptor36 msPassed
testIsConsistent62 msPassed
testIsObjectManaged36 msPassed
testIsObjectManagerNull36 msPassed
testIsObjectNew50 msPassed
testIsObjectNewWithNullAndManaged37 msPassed
testLoadFieldValueNotRegistered60 msPassed
testReadObjectFromOntology39 msPassed
testReadObjectJustPersisted28 msPassed
testReadObjectNullClass30 msPassed
testReadObjectNullContext28 msPassed
testReadObjectNullPrimaryKey48 msPassed
testRegisterExistingObject27 msPassed
testRegisterExistingObjectTwice28 msPassed
testRegisterNewObject47 msPassed
testRegisterNewObjectNull26 msPassed
testRegisterNewObjectNullDescriptor29 msPassed
testReleaseUnitOfWork37 msPassed
testRemoveNewObject29 msPassed
testRemoveObjectFromCache59 msPassed
testRemoveObjectNotRegistered37 msPassed
testRollback29 msPassed
testRollbackInactive36 msPassed
testSwitchQueryProcessingOntology28 msPassed
testUnregisterObject29 msPassed
testUseTransactionalOntologyForQueryProcessing29 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit33 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit45 msPassed
unregisterObjectRemovesItFromCloneBuilderCache41 msPassed
unwrapReturnsItselfWhenClassMatches27 msPassed