Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded36 msPassed
changesToRemovedObjectAreIgnoredOnCommit30 msPassed
clearCleansUpPersistenceContext49 msPassed
clearResetsCloneBuilder23 msPassed
commitDetachesPersistedInstance33 msPassed
commitEvictsInferredClassesFromCache34 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction28 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances21 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne28 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject25 msPassed
getManagedOriginalForDifferentContextReturnsNull29 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull24 msPassed
getManagedOriginalReturnsManagedOriginalInstance20 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects32 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType31 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction36 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance27 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject22 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute56 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject65 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute52 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance30 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject23 msPassed
isLoadedReturnsUnknownForUnregisteredObject32 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded35 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull51 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded19 msPassed
loadFieldLoadsLiteralValueAttribute30 msPassed
loadFieldLoadsManagedTypeAttribute37 msPassed
readAlreadyManagedObjectReturnsTheManagedOne24 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState59 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet60 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges32 msPassed
refreshOverwritesChangesSentToRepository35 msPassed
refreshOverwritesObjectPropertyChanges61 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance28 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity36 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance20 msPassed
refreshThrowsIllegalArgumentForRemovedInstance29 msPassed
registerExistingObjectInvokesPostCloneListeners30 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder61 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated52 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions31 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities21 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository33 msPassed
restoreDeletedRegistersObjectAgain32 msPassed
restoreDeletedReinsertsObjectIntoRepository30 msPassed
rollbackDetachesAllManagedEntities34 msPassed
testAttributeChanged21 msPassed
testAttributeChangedNotRegistered0.11 secPassed
testAttributeChangedOutsideTransaction50 msPassed
testCalculateDeletedObjects70 msPassed
testCalculateModificationsDataProperty33 msPassed
testCalculateModificationsObjectProperty36 msPassed
testCalculateNewObjects40 msPassed
testClearCacheAfterCommit29 msPassed
testCommitFailed28 msPassed
testCommitInactive49 msPassed
testContains14 msPassed
testGetContexts25 msPassed
testGetOriginal20 msPassed
testGetOriginalNull19 msPassed
testGetState49 msPassed
testGetStateWithDescriptor31 msPassed
testIsConsistent46 msPassed
testIsObjectManaged22 msPassed
testIsObjectManagerNull31 msPassed
testIsObjectNew26 msPassed
testIsObjectNewWithNullAndManaged21 msPassed
testLoadFieldValueNotRegistered19 msPassed
testReadObjectFromOntology21 msPassed
testReadObjectJustPersisted29 msPassed
testReadObjectNullClass28 msPassed
testReadObjectNullContext26 msPassed
testReadObjectNullPrimaryKey41 msPassed
testRegisterExistingObject33 msPassed
testRegisterExistingObjectTwice25 msPassed
testRegisterNewObject45 msPassed
testRegisterNewObjectNull21 msPassed
testRegisterNewObjectNullDescriptor21 msPassed
testReleaseUnitOfWork33 msPassed
testRemoveNewObject34 msPassed
testRemoveObjectFromCache21 msPassed
testRemoveObjectNotRegistered30 msPassed
testRollback36 msPassed
testRollbackInactive20 msPassed
testSwitchQueryProcessingOntology26 msPassed
testUnregisterObject22 msPassed
testUseTransactionalOntologyForQueryProcessing59 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit29 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit27 msPassed
unregisterObjectRemovesItFromCloneBuilderCache29 msPassed
unwrapReturnsItselfWhenClassMatches20 msPassed