Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded17 msPassed
changesToRemovedObjectAreIgnoredOnCommit18 msPassed
clearCleansUpPersistenceContext42 msPassed
clearResetsCloneBuilder18 msPassed
commitDetachesPersistedInstance18 msPassed
commitEvictsInferredClassesFromCache19 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction18 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances18 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne18 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject18 msPassed
getManagedOriginalForDifferentContextReturnsNull17 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull16 msPassed
getManagedOriginalReturnsManagedOriginalInstance17 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects19 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType18 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction22 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance38 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject18 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute19 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject17 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute38 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance17 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject17 msPassed
isLoadedReturnsUnknownForUnregisteredObject17 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded19 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull17 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded17 msPassed
loadFieldLoadsLiteralValueAttribute18 msPassed
loadFieldLoadsManagedTypeAttribute20 msPassed
readAlreadyManagedObjectReturnsTheManagedOne18 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState19 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet19 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges18 msPassed
refreshOverwritesChangesSentToRepository19 msPassed
refreshOverwritesObjectPropertyChanges45 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance20 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity19 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance17 msPassed
refreshThrowsIllegalArgumentForRemovedInstance17 msPassed
registerExistingObjectInvokesPostCloneListeners17 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder18 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated18 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions23 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities18 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository17 msPassed
restoreDeletedRegistersObjectAgain17 msPassed
restoreDeletedReinsertsObjectIntoRepository18 msPassed
rollbackDetachesAllManagedEntities18 msPassed
testAttributeChanged22 msPassed
testAttributeChangedNotRegistered17 msPassed
testAttributeChangedOutsideTransaction17 msPassed
testCalculateDeletedObjects79 msPassed
testCalculateModificationsDataProperty18 msPassed
testCalculateModificationsObjectProperty19 msPassed
testCalculateNewObjects20 msPassed
testClearCacheAfterCommit18 msPassed
testCommitFailed16 msPassed
testCommitInactive35 msPassed
testContains17 msPassed
testGetContexts17 msPassed
testGetOriginal17 msPassed
testGetOriginalNull16 msPassed
testGetState19 msPassed
testGetStateWithDescriptor18 msPassed
testIsConsistent16 msPassed
testIsObjectManaged17 msPassed
testIsObjectManagerNull16 msPassed
testIsObjectNew16 msPassed
testIsObjectNewWithNullAndManaged17 msPassed
testLoadFieldValueNotRegistered17 msPassed
testReadObjectFromOntology17 msPassed
testReadObjectJustPersisted17 msPassed
testReadObjectNullClass16 msPassed
testReadObjectNullContext17 msPassed
testReadObjectNullPrimaryKey19 msPassed
testRegisterExistingObject17 msPassed
testRegisterExistingObjectTwice17 msPassed
testRegisterNewObject17 msPassed
testRegisterNewObjectNull37 msPassed
testRegisterNewObjectNullDescriptor17 msPassed
testReleaseUnitOfWork16 msPassed
testRemoveNewObject17 msPassed
testRemoveObjectFromCache17 msPassed
testRemoveObjectNotRegistered17 msPassed
testRollback37 msPassed
testRollbackInactive17 msPassed
testSwitchQueryProcessingOntology20 msPassed
testUnregisterObject18 msPassed
testUseTransactionalOntologyForQueryProcessing16 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit21 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit21 msPassed
unregisterObjectRemovesItFromCloneBuilderCache17 msPassed
unwrapReturnsItselfWhenClassMatches16 msPassed