Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded7 msPassed
changesToRemovedObjectAreIgnoredOnCommit4 msPassed
clearCleansUpPersistenceContext11 msPassed
clearResetsCloneBuilder10 msPassed
commitDetachesPersistedInstance8 msPassed
commitEvictsInferredClassesFromCache8 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction10 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances12 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne8 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject15 msPassed
getManagedOriginalForDifferentContextReturnsNull9 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull10 msPassed
getManagedOriginalReturnsManagedOriginalInstance10 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction11 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance7 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject7 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute11 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject10 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute9 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance6 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject36 msPassed
isLoadedReturnsUnknownForUnregisteredObject4 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded14 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull8 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded14 msPassed
loadFieldLoadsLiteralValueAttribute9 msPassed
loadFieldLoadsManagedTypeAttribute11 msPassed
readAlreadyManagedObjectReturnsTheManagedOne8 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState12 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet12 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges14 msPassed
refreshOverwritesChangesSentToRepository6 msPassed
refreshOverwritesObjectPropertyChanges16 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance19 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity12 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance6 msPassed
refreshThrowsIllegalArgumentForRemovedInstance7 msPassed
registerExistingObjectInvokesPostCloneListeners6 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder8 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated11 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions8 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities6 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository6 msPassed
restoreDeletedRegistersObjectAgain8 msPassed
restoreDeletedReinsertsObjectIntoRepository8 msPassed
rollbackDetachesAllManagedEntities4 msPassed
testAttributeChanged7 msPassed
testAttributeChangedNotRegistered9 msPassed
testAttributeChangedOutsideTransaction9 msPassed
testCalculateDeletedObjects13 msPassed
testCalculateModificationsDataProperty10 msPassed
testCalculateModificationsObjectProperty15 msPassed
testCalculateNewObjects9 msPassed
testClearCacheAfterCommit9 msPassed
testCommitFailed6 msPassed
testCommitInactive10 msPassed
testContains6 msPassed
testGetContexts8 msPassed
testGetOriginal14 msPassed
testGetOriginalNull7 msPassed
testGetState11 msPassed
testGetStateWithDescriptor7 msPassed
testIsConsistent14 msPassed
testIsObjectManaged7 msPassed
testIsObjectManagerNull6 msPassed
testIsObjectNew10 msPassed
testIsObjectNewWithNullAndManaged10 msPassed
testLoadFieldValueNotRegistered9 msPassed
testReadObjectFromOntology10 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass2 msPassed
testReadObjectNullContext9 msPassed
testReadObjectNullPrimaryKey10 msPassed
testRegisterExistingObject8 msPassed
testRegisterExistingObjectTwice8 msPassed
testRegisterNewObject10 msPassed
testRegisterNewObjectNull9 msPassed
testRegisterNewObjectNullDescriptor6 msPassed
testReleaseUnitOfWork8 msPassed
testRemoveNewObject6 msPassed
testRemoveObjectFromCache11 msPassed
testRemoveObjectNotRegistered5 msPassed
testRollback7 msPassed
testRollbackInactive9 msPassed
testSwitchQueryProcessingOntology3 msPassed
testUnregisterObject7 msPassed
testUseTransactionalOntologyForQueryProcessing8 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit12 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit15 msPassed
unregisterObjectRemovesItFromCloneBuilderCache9 msPassed
unwrapReturnsItselfWhenClassMatches11 msPassed