Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
93 tests (±0)
Took 2 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded18 msPassed
changesToRemovedObjectAreIgnoredOnCommit18 msPassed
clearCleansUpPersistenceContext20 msPassed
clearResetsCloneBuilder18 msPassed
commitDetachesPersistedInstance23 msPassed
commitEvictsInferredClassesFromCache18 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction19 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances19 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne18 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject42 msPassed
getManagedOriginalForDifferentContextReturnsNull18 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull17 msPassed
getManagedOriginalReturnsManagedOriginalInstance18 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects18 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType18 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction22 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance17 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject17 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute20 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject17 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute19 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance17 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject19 msPassed
isLoadedReturnsUnknownForUnregisteredObject16 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded41 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull18 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded18 msPassed
loadFieldLoadsLiteralValueAttribute19 msPassed
loadFieldLoadsManagedTypeAttribute19 msPassed
readAlreadyManagedObjectReturnsTheManagedOne38 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState19 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet21 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges19 msPassed
refreshOverwritesChangesSentToRepository42 msPassed
refreshOverwritesObjectPropertyChanges21 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance19 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity20 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance17 msPassed
refreshThrowsIllegalArgumentForRemovedInstance20 msPassed
registerExistingObjectInvokesPostCloneListeners40 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder18 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated18 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions21 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities19 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository19 msPassed
restoreDeletedRegistersObjectAgain39 msPassed
restoreDeletedReinsertsObjectIntoRepository19 msPassed
rollbackDetachesAllManagedEntities20 msPassed
testAttributeChanged17 msPassed
testAttributeChangedNotRegistered17 msPassed
testAttributeChangedOutsideTransaction17 msPassed
testCalculateDeletedObjects20 msPassed
testCalculateModificationsDataProperty18 msPassed
testCalculateModificationsObjectProperty20 msPassed
testCalculateNewObjects21 msPassed
testClearCacheAfterCommit21 msPassed
testCommitFailed18 msPassed
testCommitInactive18 msPassed
testContains17 msPassed
testGetContexts17 msPassed
testGetOriginal18 msPassed
testGetOriginalNull16 msPassed
testGetState19 msPassed
testGetStateWithDescriptor18 msPassed
testIsConsistent18 msPassed
testIsObjectManaged18 msPassed
testIsObjectManagerNull17 msPassed
testIsObjectNew18 msPassed
testIsObjectNewWithNullAndManaged17 msPassed
testLoadFieldValueNotRegistered17 msPassed
testReadObjectFromOntology17 msPassed
testReadObjectJustPersisted39 msPassed
testReadObjectNullClass39 msPassed
testReadObjectNullContext17 msPassed
testReadObjectNullPrimaryKey19 msPassed
testRegisterExistingObject17 msPassed
testRegisterExistingObjectTwice38 msPassed
testRegisterNewObject17 msPassed
testRegisterNewObjectNull17 msPassed
testRegisterNewObjectNullDescriptor40 msPassed
testReleaseUnitOfWork17 msPassed
testRemoveNewObject40 msPassed
testRemoveObjectFromCache17 msPassed
testRemoveObjectNotRegistered17 msPassed
testRollback18 msPassed
testRollbackInactive18 msPassed
testSwitchQueryProcessingOntology18 msPassed
testUnregisterObject39 msPassed
testUseTransactionalOntologyForQueryProcessing56 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit47 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit22 msPassed
unregisterObjectRemovesItFromCloneBuilderCache18 msPassed
unwrapReturnsItselfWhenClassMatches37 msPassed