Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
90 tests (+12)
Took 1 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded7 msPassed
clearCleansUpPersistenceContext12 msPassed
clearResetsCloneBuilder16 msPassed
commitDetachesPersistedInstance7 msPassed
commitEvictsInferredClassesFromCache8 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction15 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances15 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne8 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject9 msPassed
getManagedOriginalForDifferentContextReturnsNull0.1 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull7 msPassed
getManagedOriginalReturnsManagedOriginalInstance13 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction10 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance6 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject15 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute12 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject12 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute9 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance6 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject13 msPassed
isLoadedReturnsUnknownForUnregisteredObject14 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded8 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull8 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded14 msPassed
loadFieldLoadsLiteralValueAttribute8 msPassed
loadFieldLoadsManagedTypeAttribute14 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState12 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet15 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges14 msPassed
refreshOverwritesChangesSentToRepository8 msPassed
refreshOverwritesObjectPropertyChanges15 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance14 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity14 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance7 msPassed
refreshThrowsIllegalArgumentForRemovedInstance13 msPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder15 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated7 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions14 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities13 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository13 msPassed
restoreDeletedRegistersObjectAgain7 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities17 msPassed
testAttributeChanged8 msPassed
testAttributeChangedNotRegistered12 msPassed
testAttributeChangedOutsideTransaction14 msPassed
testCalculateDeletedObjects16 msPassed
testCalculateModificationsDataProperty8 msPassed
testCalculateModificationsObjectProperty9 msPassed
testCalculateNewObjects10 msPassed
testClearCacheAfterCommit14 msPassed
testCommitFailed7 msPassed
testCommitInactive8 msPassed
testContains5 msPassed
testGetContexts7 msPassed
testGetOriginal13 msPassed
testGetOriginalNull12 msPassed
testGetState16 msPassed
testGetStateWithDescriptor13 msPassed
testIsConsistent17 msPassed
testIsObjectManaged14 msPassed
testIsObjectManagerNull12 msPassed
testIsObjectNew11 msPassed
testIsObjectNewWithNullAndManaged13 msPassed
testLoadFieldValueNotRegistered13 msPassed
testReadObjectFromOntology13 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass7 msPassed
testReadObjectNullContext6 msPassed
testReadObjectNullPrimaryKey13 msPassed
testRegisterExistingObject6 msPassed
testRegisterExistingObjectTwice7 msPassed
testRegisterNewObject13 msPassed
testRegisterNewObjectNull8 msPassed
testRegisterNewObjectNullDescriptor6 msPassed
testReleaseUnitOfWork13 msPassed
testRemoveNewObject7 msPassed
testRemoveObjectFromCache12 msPassed
testRemoveObjectNotRegistered11 msPassed
testRollback8 msPassed
testRollbackInactive12 msPassed
testSwitchQueryProcessingOntology13 msPassed
testUnregisterObject7 msPassed
testUseTransactionalOntologyForQueryProcessing12 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit11 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit18 msPassed
unregisterObjectRemovesItFromCloneBuilderCache13 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed