Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded10 msPassed
changesToRemovedObjectAreIgnoredOnCommit19 msPassed
clearCleansUpPersistenceContext25 msPassed
clearResetsCloneBuilder10 msPassed
commitDetachesPersistedInstance22 msPassed
commitEvictsInferredClassesFromCache12 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction17 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances12 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne13 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject28 msPassed
getManagedOriginalForDifferentContextReturnsNull11 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull9 msPassed
getManagedOriginalReturnsManagedOriginalInstance10 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction24 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance11 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject11 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute24 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject9 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute22 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance10 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject35 msPassed
isLoadedReturnsUnknownForUnregisteredObject9 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded26 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull30 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded11 msPassed
loadFieldLoadsLiteralValueAttribute13 msPassed
loadFieldLoadsManagedTypeAttribute21 msPassed
readAlreadyManagedObjectReturnsTheManagedOne13 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState25 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet16 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges27 msPassed
refreshOverwritesChangesSentToRepository13 msPassed
refreshOverwritesObjectPropertyChanges30 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance27 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity15 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance10 msPassed
refreshThrowsIllegalArgumentForRemovedInstance24 msPassed
registerExistingObjectInvokesPostCloneListeners28 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder11 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated11 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions11 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities13 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository12 msPassed
restoreDeletedRegistersObjectAgain26 msPassed
restoreDeletedReinsertsObjectIntoRepository27 msPassed
rollbackDetachesAllManagedEntities13 msPassed
testAttributeChanged11 msPassed
testAttributeChangedNotRegistered9 msPassed
testAttributeChangedOutsideTransaction9 msPassed
testCalculateDeletedObjects28 msPassed
testCalculateModificationsDataProperty11 msPassed
testCalculateModificationsObjectProperty13 msPassed
testCalculateNewObjects14 msPassed
testClearCacheAfterCommit28 msPassed
testCommitFailed9 msPassed
testCommitInactive16 msPassed
testContains10 msPassed
testGetContexts10 msPassed
testGetOriginal18 msPassed
testGetOriginalNull10 msPassed
testGetState15 msPassed
testGetStateWithDescriptor23 msPassed
testIsConsistent15 msPassed
testIsObjectManaged11 msPassed
testIsObjectManagerNull9 msPassed
testIsObjectNew9 msPassed
testIsObjectNewWithNullAndManaged19 msPassed
testLoadFieldValueNotRegistered10 msPassed
testReadObjectFromOntology28 msPassed
testReadObjectJustPersisted19 msPassed
testReadObjectNullClass9 msPassed
testReadObjectNullContext10 msPassed
testReadObjectNullPrimaryKey10 msPassed
testRegisterExistingObject18 msPassed
testRegisterExistingObjectTwice22 msPassed
testRegisterNewObject10 msPassed
testRegisterNewObjectNull10 msPassed
testRegisterNewObjectNullDescriptor19 msPassed
testReleaseUnitOfWork22 msPassed
testRemoveNewObject20 msPassed
testRemoveObjectFromCache9 msPassed
testRemoveObjectNotRegistered2 msPassed
testRollback11 msPassed
testRollbackInactive26 msPassed
testSwitchQueryProcessingOntology30 msPassed
testUnregisterObject9 msPassed
testUseTransactionalOntologyForQueryProcessing19 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit51 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit30 msPassed
unregisterObjectRemovesItFromCloneBuilderCache38 msPassed
unwrapReturnsItselfWhenClassMatches10 msPassed