Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded7 msPassed
changesToRemovedObjectAreIgnoredOnCommit7 msPassed
clearCleansUpPersistenceContext14 msPassed
clearResetsCloneBuilder11 msPassed
commitDetachesPersistedInstance6 msPassed
commitEvictsInferredClassesFromCache8 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction13 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances12 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne8 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject8 msPassed
getManagedOriginalForDifferentContextReturnsNull12 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull6 msPassed
getManagedOriginalReturnsManagedOriginalInstance11 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction9 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance6 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject11 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute13 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject11 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute12 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance5 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject17 msPassed
isLoadedReturnsUnknownForUnregisteredObject13 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded7 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull12 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded12 msPassed
loadFieldLoadsLiteralValueAttribute0.1 secPassed
loadFieldLoadsManagedTypeAttribute14 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState14 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet13 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges13 msPassed
refreshOverwritesChangesSentToRepository7 msPassed
refreshOverwritesObjectPropertyChanges17 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance14 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity13 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance6 msPassed
refreshThrowsIllegalArgumentForRemovedInstance11 msPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder12 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated12 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions11 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities12 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository12 msPassed
restoreDeletedRegistersObjectAgain7 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities15 msPassed
testAttributeChanged6 msPassed
testAttributeChangedNotRegistered11 msPassed
testAttributeChangedOutsideTransaction11 msPassed
testCalculateDeletedObjects13 msPassed
testCalculateModificationsDataProperty6 msPassed
testCalculateModificationsObjectProperty9 msPassed
testCalculateNewObjects9 msPassed
testClearCacheAfterCommit12 msPassed
testCommitFailed11 msPassed
testCommitInactive12 msPassed
testContains6 msPassed
testGetContexts9 msPassed
testGetOriginal11 msPassed
testGetOriginalNull11 msPassed
testGetState12 msPassed
testGetStateWithDescriptor11 msPassed
testIsConsistent11 msPassed
testIsObjectManaged11 msPassed
testIsObjectManagerNull10 msPassed
testIsObjectNew11 msPassed
testIsObjectNewWithNullAndManaged11 msPassed
testLoadFieldValueNotRegistered11 msPassed
testReadObjectFromOntology13 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass6 msPassed
testReadObjectNullContext6 msPassed
testReadObjectNullPrimaryKey11 msPassed
testRegisterExistingObject12 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject11 msPassed
testRegisterNewObjectNull11 msPassed
testRegisterNewObjectNullDescriptor6 msPassed
testReleaseUnitOfWork11 msPassed
testRemoveNewObject6 msPassed
testRemoveObjectFromCache11 msPassed
testRemoveObjectNotRegistered10 msPassed
testRollback7 msPassed
testRollbackInactive11 msPassed
testSwitchQueryProcessingOntology11 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing12 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit10 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit16 msPassed
unregisterObjectRemovesItFromCloneBuilderCache12 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed