Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded24 msPassed
changesToRemovedObjectAreIgnoredOnCommit22 msPassed
clearCleansUpPersistenceContext57 msPassed
clearResetsCloneBuilder21 msPassed
commitDetachesPersistedInstance51 msPassed
commitEvictsInferredClassesFromCache21 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction23 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances23 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne48 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject31 msPassed
getManagedOriginalForDifferentContextReturnsNull22 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull33 msPassed
getManagedOriginalReturnsManagedOriginalInstance33 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects20 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType25 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction55 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance20 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject30 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.18 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject33 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute53 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance23 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject21 msPassed
isLoadedReturnsUnknownForUnregisteredObject31 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded24 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull39 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded30 msPassed
loadFieldLoadsLiteralValueAttribute29 msPassed
loadFieldLoadsManagedTypeAttribute23 msPassed
readAlreadyManagedObjectReturnsTheManagedOne55 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState34 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet39 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges23 msPassed
refreshOverwritesChangesSentToRepository28 msPassed
refreshOverwritesObjectPropertyChanges60 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance26 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity24 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance20 msPassed
refreshThrowsIllegalArgumentForRemovedInstance21 msPassed
registerExistingObjectInvokesPostCloneListeners59 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder96 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated26 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions33 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities22 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository21 msPassed
restoreDeletedRegistersObjectAgain26 msPassed
restoreDeletedReinsertsObjectIntoRepository47 msPassed
rollbackDetachesAllManagedEntities34 msPassed
testAttributeChanged20 msPassed
testAttributeChangedNotRegistered25 msPassed
testAttributeChangedOutsideTransaction32 msPassed
testCalculateDeletedObjects0.25 secPassed
testCalculateModificationsDataProperty21 msPassed
testCalculateModificationsObjectProperty27 msPassed
testCalculateNewObjects23 msPassed
testClearCacheAfterCommit23 msPassed
testCommitFailed20 msPassed
testCommitInactive51 msPassed
testContains20 msPassed
testGetContexts40 msPassed
testGetOriginal22 msPassed
testGetOriginalNull27 msPassed
testGetState34 msPassed
testGetStateWithDescriptor22 msPassed
testIsConsistent40 msPassed
testIsObjectManaged24 msPassed
testIsObjectManagerNull24 msPassed
testIsObjectNew32 msPassed
testIsObjectNewWithNullAndManaged32 msPassed
testLoadFieldValueNotRegistered21 msPassed
testReadObjectFromOntology31 msPassed
testReadObjectJustPersisted53 msPassed
testReadObjectNullClass23 msPassed
testReadObjectNullContext25 msPassed
testReadObjectNullPrimaryKey25 msPassed
testRegisterExistingObject20 msPassed
testRegisterExistingObjectTwice20 msPassed
testRegisterNewObject36 msPassed
testRegisterNewObjectNull38 msPassed
testRegisterNewObjectNullDescriptor53 msPassed
testReleaseUnitOfWork32 msPassed
testRemoveNewObject54 msPassed
testRemoveObjectFromCache28 msPassed
testRemoveObjectNotRegistered31 msPassed
testRollback21 msPassed
testRollbackInactive30 msPassed
testSwitchQueryProcessingOntology21 msPassed
testUnregisterObject55 msPassed
testUseTransactionalOntologyForQueryProcessing36 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit26 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit35 msPassed
unregisterObjectRemovesItFromCloneBuilderCache30 msPassed
unwrapReturnsItselfWhenClassMatches19 msPassed