Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded18 msPassed
changesToRemovedObjectAreIgnoredOnCommit18 msPassed
clearCleansUpPersistenceContext19 msPassed
clearResetsCloneBuilder18 msPassed
commitDetachesPersistedInstance37 msPassed
commitEvictsInferredClassesFromCache18 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction18 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances18 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne19 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject39 msPassed
getManagedOriginalForDifferentContextReturnsNull17 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull16 msPassed
getManagedOriginalReturnsManagedOriginalInstance17 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects17 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType18 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction39 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance17 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject18 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute19 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject63 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute17 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance17 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject18 msPassed
isLoadedReturnsUnknownForUnregisteredObject17 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded39 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull18 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded18 msPassed
loadFieldLoadsLiteralValueAttribute19 msPassed
loadFieldLoadsManagedTypeAttribute20 msPassed
readAlreadyManagedObjectReturnsTheManagedOne38 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState37 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet20 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges18 msPassed
refreshOverwritesChangesSentToRepository39 msPassed
refreshOverwritesObjectPropertyChanges21 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance18 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity19 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance16 msPassed
refreshThrowsIllegalArgumentForRemovedInstance19 msPassed
registerExistingObjectInvokesPostCloneListeners36 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder17 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated18 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions22 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities19 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository19 msPassed
restoreDeletedRegistersObjectAgain36 msPassed
restoreDeletedReinsertsObjectIntoRepository32 msPassed
rollbackDetachesAllManagedEntities18 msPassed
testAttributeChanged18 msPassed
testAttributeChangedNotRegistered17 msPassed
testAttributeChangedOutsideTransaction16 msPassed
testCalculateDeletedObjects20 msPassed
testCalculateModificationsDataProperty17 msPassed
testCalculateModificationsObjectProperty20 msPassed
testCalculateNewObjects20 msPassed
testClearCacheAfterCommit21 msPassed
testCommitFailed16 msPassed
testCommitInactive17 msPassed
testContains17 msPassed
testGetContexts17 msPassed
testGetOriginal18 msPassed
testGetOriginalNull16 msPassed
testGetState18 msPassed
testGetStateWithDescriptor20 msPassed
testIsConsistent18 msPassed
testIsObjectManaged18 msPassed
testIsObjectManagerNull17 msPassed
testIsObjectNew16 msPassed
testIsObjectNewWithNullAndManaged18 msPassed
testLoadFieldValueNotRegistered17 msPassed
testReadObjectFromOntology17 msPassed
testReadObjectJustPersisted35 msPassed
testReadObjectNullClass36 msPassed
testReadObjectNullContext17 msPassed
testReadObjectNullPrimaryKey17 msPassed
testRegisterExistingObject17 msPassed
testRegisterExistingObjectTwice17 msPassed
testRegisterNewObject17 msPassed
testRegisterNewObjectNull17 msPassed
testRegisterNewObjectNullDescriptor34 msPassed
testReleaseUnitOfWork16 msPassed
testRemoveNewObject36 msPassed
testRemoveObjectFromCache17 msPassed
testRemoveObjectNotRegistered18 msPassed
testRollback18 msPassed
testRollbackInactive17 msPassed
testSwitchQueryProcessingOntology17 msPassed
testUnregisterObject36 msPassed
testUseTransactionalOntologyForQueryProcessing17 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit31 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit21 msPassed
unregisterObjectRemovesItFromCloneBuilderCache20 msPassed
unwrapReturnsItselfWhenClassMatches17 msPassed