Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded18 msPassed
changesToRemovedObjectAreIgnoredOnCommit18 msPassed
clearCleansUpPersistenceContext20 msPassed
clearResetsCloneBuilder18 msPassed
commitDetachesPersistedInstance18 msPassed
commitEvictsInferredClassesFromCache18 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction18 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances19 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne18 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject43 msPassed
getManagedOriginalForDifferentContextReturnsNull18 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull17 msPassed
getManagedOriginalReturnsManagedOriginalInstance17 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects18 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType17 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction22 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance16 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject19 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute19 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject17 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute18 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance17 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject18 msPassed
isLoadedReturnsUnknownForUnregisteredObject17 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded41 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull18 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded17 msPassed
loadFieldLoadsLiteralValueAttribute18 msPassed
loadFieldLoadsManagedTypeAttribute20 msPassed
readAlreadyManagedObjectReturnsTheManagedOne22 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState19 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet20 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges18 msPassed
refreshOverwritesChangesSentToRepository41 msPassed
refreshOverwritesObjectPropertyChanges21 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance19 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity19 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance17 msPassed
refreshThrowsIllegalArgumentForRemovedInstance22 msPassed
registerExistingObjectInvokesPostCloneListeners31 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder18 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated18 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions19 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities21 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository18 msPassed
restoreDeletedRegistersObjectAgain39 msPassed
restoreDeletedReinsertsObjectIntoRepository18 msPassed
rollbackDetachesAllManagedEntities18 msPassed
testAttributeChanged17 msPassed
testAttributeChangedNotRegistered17 msPassed
testAttributeChangedOutsideTransaction17 msPassed
testCalculateDeletedObjects19 msPassed
testCalculateModificationsDataProperty18 msPassed
testCalculateModificationsObjectProperty20 msPassed
testCalculateNewObjects20 msPassed
testClearCacheAfterCommit19 msPassed
testCommitFailed18 msPassed
testCommitInactive17 msPassed
testContains17 msPassed
testGetContexts17 msPassed
testGetOriginal17 msPassed
testGetOriginalNull17 msPassed
testGetState18 msPassed
testGetStateWithDescriptor21 msPassed
testIsConsistent49 msPassed
testIsObjectManaged18 msPassed
testIsObjectManagerNull17 msPassed
testIsObjectNew17 msPassed
testIsObjectNewWithNullAndManaged18 msPassed
testLoadFieldValueNotRegistered17 msPassed
testReadObjectFromOntology18 msPassed
testReadObjectJustPersisted17 msPassed
testReadObjectNullClass37 msPassed
testReadObjectNullContext16 msPassed
testReadObjectNullPrimaryKey17 msPassed
testRegisterExistingObject18 msPassed
testRegisterExistingObjectTwice39 msPassed
testRegisterNewObject18 msPassed
testRegisterNewObjectNull17 msPassed
testRegisterNewObjectNullDescriptor37 msPassed
testReleaseUnitOfWork17 msPassed
testRemoveNewObject18 msPassed
testRemoveObjectFromCache17 msPassed
testRemoveObjectNotRegistered17 msPassed
testRollback18 msPassed
testRollbackInactive17 msPassed
testSwitchQueryProcessingOntology17 msPassed
testUnregisterObject38 msPassed
testUseTransactionalOntologyForQueryProcessing17 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit47 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit22 msPassed
unregisterObjectRemovesItFromCloneBuilderCache21 msPassed
unwrapReturnsItselfWhenClassMatches38 msPassed