Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded27 msPassed
changesToRemovedObjectAreIgnoredOnCommit29 msPassed
clearCleansUpPersistenceContext29 msPassed
clearResetsCloneBuilder27 msPassed
commitDetachesPersistedInstance29 msPassed
commitEvictsInferredClassesFromCache28 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction29 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances31 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne29 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject29 msPassed
getManagedOriginalForDifferentContextReturnsNull27 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull23 msPassed
getManagedOriginalReturnsManagedOriginalInstance27 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects27 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType29 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction33 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance26 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject28 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute31 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject26 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute30 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance27 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject29 msPassed
isLoadedReturnsUnknownForUnregisteredObject26 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded31 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull33 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded28 msPassed
loadFieldLoadsLiteralValueAttribute28 msPassed
loadFieldLoadsManagedTypeAttribute32 msPassed
readAlreadyManagedObjectReturnsTheManagedOne27 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState29 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet29 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges29 msPassed
refreshOverwritesChangesSentToRepository31 msPassed
refreshOverwritesObjectPropertyChanges31 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance31 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity28 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance26 msPassed
refreshThrowsIllegalArgumentForRemovedInstance30 msPassed
registerExistingObjectInvokesPostCloneListeners28 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder27 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated28 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions28 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities29 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository28 msPassed
restoreDeletedRegistersObjectAgain28 msPassed
restoreDeletedReinsertsObjectIntoRepository29 msPassed
rollbackDetachesAllManagedEntities30 msPassed
testAttributeChanged27 msPassed
testAttributeChangedNotRegistered21 msPassed
testAttributeChangedOutsideTransaction27 msPassed
testCalculateDeletedObjects29 msPassed
testCalculateModificationsDataProperty29 msPassed
testCalculateModificationsObjectProperty31 msPassed
testCalculateNewObjects30 msPassed
testClearCacheAfterCommit31 msPassed
testCommitFailed27 msPassed
testCommitInactive27 msPassed
testContains27 msPassed
testGetContexts27 msPassed
testGetOriginal29 msPassed
testGetOriginalNull27 msPassed
testGetState29 msPassed
testGetStateWithDescriptor27 msPassed
testIsConsistent27 msPassed
testIsObjectManaged29 msPassed
testIsObjectManagerNull28 msPassed
testIsObjectNew28 msPassed
testIsObjectNewWithNullAndManaged25 msPassed
testLoadFieldValueNotRegistered27 msPassed
testReadObjectFromOntology28 msPassed
testReadObjectJustPersisted28 msPassed
testReadObjectNullClass28 msPassed
testReadObjectNullContext27 msPassed
testReadObjectNullPrimaryKey28 msPassed
testRegisterExistingObject27 msPassed
testRegisterExistingObjectTwice30 msPassed
testRegisterNewObject35 msPassed
testRegisterNewObjectNull22 msPassed
testRegisterNewObjectNullDescriptor27 msPassed
testReleaseUnitOfWork27 msPassed
testRemoveNewObject27 msPassed
testRemoveObjectFromCache25 msPassed
testRemoveObjectNotRegistered27 msPassed
testRollback29 msPassed
testRollbackInactive27 msPassed
testSwitchQueryProcessingOntology27 msPassed
testUnregisterObject27 msPassed
testUseTransactionalOntologyForQueryProcessing26 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit35 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit32 msPassed
unregisterObjectRemovesItFromCloneBuilderCache44 msPassed
unwrapReturnsItselfWhenClassMatches28 msPassed