Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded30 msPassed
changesToRemovedObjectAreIgnoredOnCommit28 msPassed
clearCleansUpPersistenceContext0.24 secPassed
clearResetsCloneBuilder27 msPassed
commitDetachesPersistedInstance29 msPassed
commitEvictsInferredClassesFromCache32 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction29 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances28 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne27 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject29 msPassed
getManagedOriginalForDifferentContextReturnsNull29 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull26 msPassed
getManagedOriginalReturnsManagedOriginalInstance27 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects30 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType27 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction34 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance30 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject27 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute29 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject28 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute53 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance27 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject28 msPassed
isLoadedReturnsUnknownForUnregisteredObject28 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded29 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull29 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded27 msPassed
loadFieldLoadsLiteralValueAttribute30 msPassed
loadFieldLoadsManagedTypeAttribute33 msPassed
readAlreadyManagedObjectReturnsTheManagedOne28 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState31 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet31 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges30 msPassed
refreshOverwritesChangesSentToRepository29 msPassed
refreshOverwritesObjectPropertyChanges61 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance29 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity31 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance28 msPassed
refreshThrowsIllegalArgumentForRemovedInstance29 msPassed
registerExistingObjectInvokesPostCloneListeners28 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder29 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated28 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions29 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities28 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository29 msPassed
restoreDeletedRegistersObjectAgain27 msPassed
restoreDeletedReinsertsObjectIntoRepository28 msPassed
rollbackDetachesAllManagedEntities28 msPassed
testAttributeChanged28 msPassed
testAttributeChangedNotRegistered27 msPassed
testAttributeChangedOutsideTransaction29 msPassed
testCalculateDeletedObjects31 msPassed
testCalculateModificationsDataProperty29 msPassed
testCalculateModificationsObjectProperty31 msPassed
testCalculateNewObjects33 msPassed
testClearCacheAfterCommit30 msPassed
testCommitFailed28 msPassed
testCommitInactive55 msPassed
testContains28 msPassed
testGetContexts26 msPassed
testGetOriginal28 msPassed
testGetOriginalNull26 msPassed
testGetState29 msPassed
testGetStateWithDescriptor28 msPassed
testIsConsistent27 msPassed
testIsObjectManaged29 msPassed
testIsObjectManagerNull28 msPassed
testIsObjectNew28 msPassed
testIsObjectNewWithNullAndManaged27 msPassed
testLoadFieldValueNotRegistered27 msPassed
testReadObjectFromOntology28 msPassed
testReadObjectJustPersisted26 msPassed
testReadObjectNullClass27 msPassed
testReadObjectNullContext28 msPassed
testReadObjectNullPrimaryKey28 msPassed
testRegisterExistingObject28 msPassed
testRegisterExistingObjectTwice28 msPassed
testRegisterNewObject27 msPassed
testRegisterNewObjectNull43 msPassed
testRegisterNewObjectNullDescriptor26 msPassed
testReleaseUnitOfWork30 msPassed
testRemoveNewObject27 msPassed
testRemoveObjectFromCache26 msPassed
testRemoveObjectNotRegistered27 msPassed
testRollback30 msPassed
testRollbackInactive28 msPassed
testSwitchQueryProcessingOntology26 msPassed
testUnregisterObject27 msPassed
testUseTransactionalOntologyForQueryProcessing29 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit33 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit32 msPassed
unregisterObjectRemovesItFromCloneBuilderCache29 msPassed
unwrapReturnsItselfWhenClassMatches26 msPassed