Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded20 msPassed
changesToRemovedObjectAreIgnoredOnCommit20 msPassed
clearCleansUpPersistenceContext21 msPassed
clearResetsCloneBuilder20 msPassed
commitDetachesPersistedInstance20 msPassed
commitEvictsInferredClassesFromCache20 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction21 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances20 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne20 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject20 msPassed
getManagedOriginalForDifferentContextReturnsNull20 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull19 msPassed
getManagedOriginalReturnsManagedOriginalInstance19 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects19 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType20 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction24 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance19 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject19 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute20 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject20 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute19 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance19 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject20 msPassed
isLoadedReturnsUnknownForUnregisteredObject49 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded22 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull21 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded19 msPassed
loadFieldLoadsLiteralValueAttribute20 msPassed
loadFieldLoadsManagedTypeAttribute55 msPassed
readAlreadyManagedObjectReturnsTheManagedOne20 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState21 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet22 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges20 msPassed
refreshOverwritesChangesSentToRepository21 msPassed
refreshOverwritesObjectPropertyChanges23 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance21 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity23 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance18 msPassed
refreshThrowsIllegalArgumentForRemovedInstance54 msPassed
registerExistingObjectInvokesPostCloneListeners19 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder20 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated19 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions20 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities50 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository35 msPassed
restoreDeletedRegistersObjectAgain19 msPassed
restoreDeletedReinsertsObjectIntoRepository20 msPassed
rollbackDetachesAllManagedEntities20 msPassed
testAttributeChanged19 msPassed
testAttributeChangedNotRegistered21 msPassed
testAttributeChangedOutsideTransaction20 msPassed
testCalculateDeletedObjects20 msPassed
testCalculateModificationsDataProperty21 msPassed
testCalculateModificationsObjectProperty22 msPassed
testCalculateNewObjects21 msPassed
testClearCacheAfterCommit56 msPassed
testCommitFailed19 msPassed
testCommitInactive19 msPassed
testContains19 msPassed
testGetContexts19 msPassed
testGetOriginal20 msPassed
testGetOriginalNull18 msPassed
testGetState23 msPassed
testGetStateWithDescriptor55 msPassed
testIsConsistent19 msPassed
testIsObjectManaged19 msPassed
testIsObjectManagerNull47 msPassed
testIsObjectNew18 msPassed
testIsObjectNewWithNullAndManaged18 msPassed
testLoadFieldValueNotRegistered18 msPassed
testReadObjectFromOntology19 msPassed
testReadObjectJustPersisted19 msPassed
testReadObjectNullClass19 msPassed
testReadObjectNullContext18 msPassed
testReadObjectNullPrimaryKey18 msPassed
testRegisterExistingObject19 msPassed
testRegisterExistingObjectTwice19 msPassed
testRegisterNewObject26 msPassed
testRegisterNewObjectNull19 msPassed
testRegisterNewObjectNullDescriptor19 msPassed
testReleaseUnitOfWork51 msPassed
testRemoveNewObject19 msPassed
testRemoveObjectFromCache18 msPassed
testRemoveObjectNotRegistered53 msPassed
testRollback20 msPassed
testRollbackInactive53 msPassed
testSwitchQueryProcessingOntology18 msPassed
testUnregisterObject19 msPassed
testUseTransactionalOntologyForQueryProcessing22 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit24 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit22 msPassed
unregisterObjectRemovesItFromCloneBuilderCache55 msPassed
unwrapReturnsItselfWhenClassMatches18 msPassed