Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
91 tests (±0)
Took 0.94 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded7 msPassed
changesToRemovedObjectAreIgnoredOnCommit7 msPassed
clearCleansUpPersistenceContext15 msPassed
clearResetsCloneBuilder12 msPassed
commitDetachesPersistedInstance7 msPassed
commitEvictsInferredClassesFromCache7 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction13 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances12 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne8 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject8 msPassed
getManagedOriginalForDifferentContextReturnsNull7 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull6 msPassed
getManagedOriginalReturnsManagedOriginalInstance11 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction9 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance6 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject12 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute12 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject10 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute13 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance6 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject11 msPassed
isLoadedReturnsUnknownForUnregisteredObject6 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded8 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull12 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded12 msPassed
loadFieldLoadsLiteralValueAttribute8 msPassed
loadFieldLoadsManagedTypeAttribute9 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState13 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet14 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges13 msPassed
refreshOverwritesChangesSentToRepository8 msPassed
refreshOverwritesObjectPropertyChanges20 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance13 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity8 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance6 msPassed
refreshThrowsIllegalArgumentForRemovedInstance11 msPassed
registerExistingObjectInvokesPostCloneListeners6 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder11 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated12 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions12 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities6 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository12 msPassed
restoreDeletedRegistersObjectAgain6 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities14 msPassed
testAttributeChanged6 msPassed
testAttributeChangedNotRegistered12 msPassed
testAttributeChangedOutsideTransaction12 msPassed
testCalculateDeletedObjects13 msPassed
testCalculateModificationsDataProperty7 msPassed
testCalculateModificationsObjectProperty8 msPassed
testCalculateNewObjects9 msPassed
testClearCacheAfterCommit98 msPassed
testCommitFailed7 msPassed
testCommitInactive12 msPassed
testContains7 msPassed
testGetContexts6 msPassed
testGetOriginal11 msPassed
testGetOriginalNull10 msPassed
testGetState13 msPassed
testGetStateWithDescriptor7 msPassed
testIsConsistent11 msPassed
testIsObjectManaged11 msPassed
testIsObjectManagerNull6 msPassed
testIsObjectNew14 msPassed
testIsObjectNewWithNullAndManaged11 msPassed
testLoadFieldValueNotRegistered11 msPassed
testReadObjectFromOntology12 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass6 msPassed
testReadObjectNullContext6 msPassed
testReadObjectNullPrimaryKey11 msPassed
testRegisterExistingObject6 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject11 msPassed
testRegisterNewObjectNull10 msPassed
testRegisterNewObjectNullDescriptor6 msPassed
testReleaseUnitOfWork6 msPassed
testRemoveNewObject6 msPassed
testRemoveObjectFromCache11 msPassed
testRemoveObjectNotRegistered6 msPassed
testRollback7 msPassed
testRollbackInactive6 msPassed
testSwitchQueryProcessingOntology12 msPassed
testUnregisterObject7 msPassed
testUseTransactionalOntologyForQueryProcessing10 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit9 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit17 msPassed
unregisterObjectRemovesItFromCloneBuilderCache7 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed