Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded22 msPassed
changesToRemovedObjectAreIgnoredOnCommit26 msPassed
clearCleansUpPersistenceContext66 msPassed
clearResetsCloneBuilder21 msPassed
commitDetachesPersistedInstance47 msPassed
commitEvictsInferredClassesFromCache22 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction22 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances34 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne49 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject50 msPassed
getManagedOriginalForDifferentContextReturnsNull21 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull20 msPassed
getManagedOriginalReturnsManagedOriginalInstance20 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects21 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType16 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction57 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance20 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject21 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute23 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject30 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute48 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance21 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject21 msPassed
isLoadedReturnsUnknownForUnregisteredObject20 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded53 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull22 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded25 msPassed
loadFieldLoadsLiteralValueAttribute22 msPassed
loadFieldLoadsManagedTypeAttribute23 msPassed
readAlreadyManagedObjectReturnsTheManagedOne45 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState36 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet36 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges22 msPassed
refreshOverwritesChangesSentToRepository49 msPassed
refreshOverwritesObjectPropertyChanges69 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance22 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity22 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance20 msPassed
refreshThrowsIllegalArgumentForRemovedInstance21 msPassed
registerExistingObjectInvokesPostCloneListeners49 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder23 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated26 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions21 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities20 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository20 msPassed
restoreDeletedRegistersObjectAgain50 msPassed
restoreDeletedReinsertsObjectIntoRepository55 msPassed
rollbackDetachesAllManagedEntities21 msPassed
testAttributeChanged21 msPassed
testAttributeChangedNotRegistered21 msPassed
testAttributeChangedOutsideTransaction27 msPassed
testCalculateDeletedObjects0.13 secPassed
testCalculateModificationsDataProperty23 msPassed
testCalculateModificationsObjectProperty23 msPassed
testCalculateNewObjects23 msPassed
testClearCacheAfterCommit22 msPassed
testCommitFailed20 msPassed
testCommitInactive46 msPassed
testContains20 msPassed
testGetContexts20 msPassed
testGetOriginal24 msPassed
testGetOriginalNull20 msPassed
testGetState21 msPassed
testGetStateWithDescriptor20 msPassed
testIsConsistent21 msPassed
testIsObjectManaged20 msPassed
testIsObjectManagerNull20 msPassed
testIsObjectNew20 msPassed
testIsObjectNewWithNullAndManaged21 msPassed
testLoadFieldValueNotRegistered25 msPassed
testReadObjectFromOntology20 msPassed
testReadObjectJustPersisted45 msPassed
testReadObjectNullClass47 msPassed
testReadObjectNullContext20 msPassed
testReadObjectNullPrimaryKey20 msPassed
testRegisterExistingObject20 msPassed
testRegisterExistingObjectTwice21 msPassed
testRegisterNewObject22 msPassed
testRegisterNewObjectNull55 msPassed
testRegisterNewObjectNullDescriptor44 msPassed
testReleaseUnitOfWork20 msPassed
testRemoveNewObject44 msPassed
testRemoveObjectFromCache20 msPassed
testRemoveObjectNotRegistered21 msPassed
testRollback22 msPassed
testRollbackInactive20 msPassed
testSwitchQueryProcessingOntology20 msPassed
testUnregisterObject49 msPassed
testUseTransactionalOntologyForQueryProcessing33 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit47 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit26 msPassed
unregisterObjectRemovesItFromCloneBuilderCache20 msPassed
unwrapReturnsItselfWhenClassMatches19 msPassed