Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
93 tests (+2)
Took 2 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded18 msPassed
changesToRemovedObjectAreIgnoredOnCommit18 msPassed
clearCleansUpPersistenceContext30 msPassed
clearResetsCloneBuilder18 msPassed
commitDetachesPersistedInstance18 msPassed
commitEvictsInferredClassesFromCache18 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction39 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances19 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne19 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject19 msPassed
getManagedOriginalForDifferentContextReturnsNull23 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull17 msPassed
getManagedOriginalReturnsManagedOriginalInstance18 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects18 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType17 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction22 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance17 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject36 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute19 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject17 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute18 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance17 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject17 msPassed
isLoadedReturnsUnknownForUnregisteredObject17 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded18 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull17 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded18 msPassed
loadFieldLoadsLiteralValueAttribute18 msPassed
loadFieldLoadsManagedTypeAttribute21 msPassed
readAlreadyManagedObjectReturnsTheManagedOne17 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState19 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet19 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges39 msPassed
refreshOverwritesChangesSentToRepository19 msPassed
refreshOverwritesObjectPropertyChanges33 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance38 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity21 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance17 msPassed
refreshThrowsIllegalArgumentForRemovedInstance37 msPassed
registerExistingObjectInvokesPostCloneListeners17 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder18 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated17 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions37 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities26 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository36 msPassed
restoreDeletedRegistersObjectAgain17 msPassed
restoreDeletedReinsertsObjectIntoRepository18 msPassed
rollbackDetachesAllManagedEntities28 msPassed
testAttributeChanged18 msPassed
testAttributeChangedNotRegistered18 msPassed
testAttributeChangedOutsideTransaction17 msPassed
testCalculateDeletedObjects23 msPassed
testCalculateModificationsDataProperty18 msPassed
testCalculateModificationsObjectProperty19 msPassed
testCalculateNewObjects20 msPassed
testClearCacheAfterCommit19 msPassed
testCommitFailed27 msPassed
testCommitInactive17 msPassed
testContains18 msPassed
testGetContexts16 msPassed
testGetOriginal17 msPassed
testGetOriginalNull35 msPassed
testGetState19 msPassed
testGetStateWithDescriptor29 msPassed
testIsConsistent17 msPassed
testIsObjectManaged44 msPassed
testIsObjectManagerNull17 msPassed
testIsObjectNew34 msPassed
testIsObjectNewWithNullAndManaged37 msPassed
testLoadFieldValueNotRegistered17 msPassed
testReadObjectFromOntology36 msPassed
testReadObjectJustPersisted16 msPassed
testReadObjectNullClass17 msPassed
testReadObjectNullContext17 msPassed
testReadObjectNullPrimaryKey35 msPassed
testRegisterExistingObject23 msPassed
testRegisterExistingObjectTwice17 msPassed
testRegisterNewObject18 msPassed
testRegisterNewObjectNull19 msPassed
testRegisterNewObjectNullDescriptor17 msPassed
testReleaseUnitOfWork17 msPassed
testRemoveNewObject17 msPassed
testRemoveObjectFromCache17 msPassed
testRemoveObjectNotRegistered26 msPassed
testRollback17 msPassed
testRollbackInactive18 msPassed
testSwitchQueryProcessingOntology35 msPassed
testUnregisterObject18 msPassed
testUseTransactionalOntologyForQueryProcessing16 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit23 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit43 msPassed
unregisterObjectRemovesItFromCloneBuilderCache28 msPassed
unwrapReturnsItselfWhenClassMatches16 msPassed