Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded25 msPassed
changesToRemovedObjectAreIgnoredOnCommit26 msPassed
clearCleansUpPersistenceContext60 msPassed
clearResetsCloneBuilder28 msPassed
commitDetachesPersistedInstance26 msPassed
commitEvictsInferredClassesFromCache27 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction28 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances27 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne27 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject28 msPassed
getManagedOriginalForDifferentContextReturnsNull25 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull25 msPassed
getManagedOriginalReturnsManagedOriginalInstance26 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects26 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType26 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction31 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance26 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject24 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute36 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject33 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute51 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance24 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject26 msPassed
isLoadedReturnsUnknownForUnregisteredObject25 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded28 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull35 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded26 msPassed
loadFieldLoadsLiteralValueAttribute26 msPassed
loadFieldLoadsManagedTypeAttribute29 msPassed
readAlreadyManagedObjectReturnsTheManagedOne26 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState38 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet33 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges27 msPassed
refreshOverwritesChangesSentToRepository27 msPassed
refreshOverwritesObjectPropertyChanges61 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance27 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity27 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance25 msPassed
refreshThrowsIllegalArgumentForRemovedInstance26 msPassed
registerExistingObjectInvokesPostCloneListeners25 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder35 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated34 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions26 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities25 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository26 msPassed
restoreDeletedRegistersObjectAgain26 msPassed
restoreDeletedReinsertsObjectIntoRepository26 msPassed
rollbackDetachesAllManagedEntities27 msPassed
testAttributeChanged25 msPassed
testAttributeChangedNotRegistered26 msPassed
testAttributeChangedOutsideTransaction27 msPassed
testCalculateDeletedObjects0.2 secPassed
testCalculateModificationsDataProperty26 msPassed
testCalculateModificationsObjectProperty29 msPassed
testCalculateNewObjects29 msPassed
testClearCacheAfterCommit27 msPassed
testCommitFailed25 msPassed
testCommitInactive52 msPassed
testContains26 msPassed
testGetContexts25 msPassed
testGetOriginal25 msPassed
testGetOriginalNull25 msPassed
testGetState27 msPassed
testGetStateWithDescriptor26 msPassed
testIsConsistent25 msPassed
testIsObjectManaged25 msPassed
testIsObjectManagerNull24 msPassed
testIsObjectNew26 msPassed
testIsObjectNewWithNullAndManaged26 msPassed
testLoadFieldValueNotRegistered26 msPassed
testReadObjectFromOntology25 msPassed
testReadObjectJustPersisted25 msPassed
testReadObjectNullClass25 msPassed
testReadObjectNullContext24 msPassed
testReadObjectNullPrimaryKey26 msPassed
testRegisterExistingObject26 msPassed
testRegisterExistingObjectTwice25 msPassed
testRegisterNewObject24 msPassed
testRegisterNewObjectNull54 msPassed
testRegisterNewObjectNullDescriptor24 msPassed
testReleaseUnitOfWork26 msPassed
testRemoveNewObject25 msPassed
testRemoveObjectFromCache27 msPassed
testRemoveObjectNotRegistered25 msPassed
testRollback27 msPassed
testRollbackInactive25 msPassed
testSwitchQueryProcessingOntology25 msPassed
testUnregisterObject26 msPassed
testUseTransactionalOntologyForQueryProcessing33 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit31 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit30 msPassed
unregisterObjectRemovesItFromCloneBuilderCache25 msPassed
unwrapReturnsItselfWhenClassMatches47 msPassed