Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded18 msPassed
changesToRemovedObjectAreIgnoredOnCommit18 msPassed
clearCleansUpPersistenceContext19 msPassed
clearResetsCloneBuilder36 msPassed
commitDetachesPersistedInstance18 msPassed
commitEvictsInferredClassesFromCache21 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction20 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances19 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne17 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject20 msPassed
getManagedOriginalForDifferentContextReturnsNull18 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull17 msPassed
getManagedOriginalReturnsManagedOriginalInstance38 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects18 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType18 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction23 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance18 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject18 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute19 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject17 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute19 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance19 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject18 msPassed
isLoadedReturnsUnknownForUnregisteredObject17 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded20 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull18 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded38 msPassed
loadFieldLoadsLiteralValueAttribute18 msPassed
loadFieldLoadsManagedTypeAttribute20 msPassed
readAlreadyManagedObjectReturnsTheManagedOne17 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState20 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet20 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges19 msPassed
refreshOverwritesChangesSentToRepository19 msPassed
refreshOverwritesObjectPropertyChanges22 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance40 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity21 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance18 msPassed
refreshThrowsIllegalArgumentForRemovedInstance20 msPassed
registerExistingObjectInvokesPostCloneListeners17 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder18 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated17 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions19 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities23 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository19 msPassed
restoreDeletedRegistersObjectAgain17 msPassed
restoreDeletedReinsertsObjectIntoRepository18 msPassed
rollbackDetachesAllManagedEntities38 msPassed
testAttributeChanged19 msPassed
testAttributeChangedNotRegistered18 msPassed
testAttributeChangedOutsideTransaction17 msPassed
testCalculateDeletedObjects20 msPassed
testCalculateModificationsDataProperty18 msPassed
testCalculateModificationsObjectProperty21 msPassed
testCalculateNewObjects21 msPassed
testClearCacheAfterCommit23 msPassed
testCommitFailed18 msPassed
testCommitInactive18 msPassed
testContains19 msPassed
testGetContexts20 msPassed
testGetOriginal18 msPassed
testGetOriginalNull17 msPassed
testGetState18 msPassed
testGetStateWithDescriptor22 msPassed
testIsConsistent18 msPassed
testIsObjectManaged19 msPassed
testIsObjectManagerNull17 msPassed
testIsObjectNew36 msPassed
testIsObjectNewWithNullAndManaged18 msPassed
testLoadFieldValueNotRegistered31 msPassed
testReadObjectFromOntology17 msPassed
testReadObjectJustPersisted17 msPassed
testReadObjectNullClass17 msPassed
testReadObjectNullContext17 msPassed
testReadObjectNullPrimaryKey36 msPassed
testRegisterExistingObject17 msPassed
testRegisterExistingObjectTwice19 msPassed
testRegisterNewObject17 msPassed
testRegisterNewObjectNull18 msPassed
testRegisterNewObjectNullDescriptor17 msPassed
testReleaseUnitOfWork17 msPassed
testRemoveNewObject18 msPassed
testRemoveObjectFromCache30 msPassed
testRemoveObjectNotRegistered17 msPassed
testRollback18 msPassed
testRollbackInactive17 msPassed
testSwitchQueryProcessingOntology35 msPassed
testUnregisterObject18 msPassed
testUseTransactionalOntologyForQueryProcessing17 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit23 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit22 msPassed
unregisterObjectRemovesItFromCloneBuilderCache19 msPassed
unwrapReturnsItselfWhenClassMatches18 msPassed