Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded18 msPassed
changesToRemovedObjectAreIgnoredOnCommit18 msPassed
clearCleansUpPersistenceContext20 msPassed
clearResetsCloneBuilder17 msPassed
commitDetachesPersistedInstance18 msPassed
commitEvictsInferredClassesFromCache19 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction18 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances18 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne19 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject19 msPassed
getManagedOriginalForDifferentContextReturnsNull18 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull17 msPassed
getManagedOriginalReturnsManagedOriginalInstance18 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects17 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType18 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction22 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance17 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject37 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute18 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject18 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute18 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance17 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject18 msPassed
isLoadedReturnsUnknownForUnregisteredObject17 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded19 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull17 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded18 msPassed
loadFieldLoadsLiteralValueAttribute18 msPassed
loadFieldLoadsManagedTypeAttribute20 msPassed
readAlreadyManagedObjectReturnsTheManagedOne17 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState19 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet20 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges18 msPassed
refreshOverwritesChangesSentToRepository19 msPassed
refreshOverwritesObjectPropertyChanges21 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance19 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity20 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance17 msPassed
refreshThrowsIllegalArgumentForRemovedInstance40 msPassed
registerExistingObjectInvokesPostCloneListeners18 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder20 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated17 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions41 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities19 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository43 msPassed
restoreDeletedRegistersObjectAgain18 msPassed
restoreDeletedReinsertsObjectIntoRepository19 msPassed
rollbackDetachesAllManagedEntities18 msPassed
testAttributeChanged18 msPassed
testAttributeChangedNotRegistered17 msPassed
testAttributeChangedOutsideTransaction17 msPassed
testCalculateDeletedObjects19 msPassed
testCalculateModificationsDataProperty18 msPassed
testCalculateModificationsObjectProperty20 msPassed
testCalculateNewObjects21 msPassed
testClearCacheAfterCommit31 msPassed
testCommitFailed17 msPassed
testCommitInactive17 msPassed
testContains18 msPassed
testGetContexts16 msPassed
testGetOriginal18 msPassed
testGetOriginalNull30 msPassed
testGetState18 msPassed
testGetStateWithDescriptor19 msPassed
testIsConsistent17 msPassed
testIsObjectManaged38 msPassed
testIsObjectManagerNull17 msPassed
testIsObjectNew18 msPassed
testIsObjectNewWithNullAndManaged17 msPassed
testLoadFieldValueNotRegistered18 msPassed
testReadObjectFromOntology26 msPassed
testReadObjectJustPersisted17 msPassed
testReadObjectNullClass17 msPassed
testReadObjectNullContext17 msPassed
testReadObjectNullPrimaryKey17 msPassed
testRegisterExistingObject17 msPassed
testRegisterExistingObjectTwice18 msPassed
testRegisterNewObject17 msPassed
testRegisterNewObjectNull19 msPassed
testRegisterNewObjectNullDescriptor16 msPassed
testReleaseUnitOfWork17 msPassed
testRemoveNewObject18 msPassed
testRemoveObjectFromCache17 msPassed
testRemoveObjectNotRegistered17 msPassed
testRollback18 msPassed
testRollbackInactive17 msPassed
testSwitchQueryProcessingOntology17 msPassed
testUnregisterObject17 msPassed
testUseTransactionalOntologyForQueryProcessing17 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit21 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit20 msPassed
unregisterObjectRemovesItFromCloneBuilderCache18 msPassed
unwrapReturnsItselfWhenClassMatches16 msPassed