Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded6 msPassed
changesToRemovedObjectAreIgnoredOnCommit6 msPassed
clearCleansUpPersistenceContext7 msPassed
clearResetsCloneBuilder7 msPassed
commitDetachesPersistedInstance7 msPassed
commitEvictsInferredClassesFromCache7 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction7 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances9 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject7 msPassed
getManagedOriginalForDifferentContextReturnsNull6 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull5 msPassed
getManagedOriginalReturnsManagedOriginalInstance7 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects6 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType7 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction9 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance6 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject7 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute7 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject7 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute7 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance5 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject6 msPassed
isLoadedReturnsUnknownForUnregisteredObject6 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded7 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull7 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded7 msPassed
loadFieldLoadsLiteralValueAttribute7 msPassed
loadFieldLoadsManagedTypeAttribute8 msPassed
readAlreadyManagedObjectReturnsTheManagedOne5 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState7 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet8 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges7 msPassed
refreshOverwritesChangesSentToRepository7 msPassed
refreshOverwritesObjectPropertyChanges9 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance7 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity7 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance6 msPassed
refreshThrowsIllegalArgumentForRemovedInstance7 msPassed
registerExistingObjectInvokesPostCloneListeners5 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder7 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated7 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions7 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities7 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository7 msPassed
restoreDeletedRegistersObjectAgain6 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities11 msPassed
testAttributeChanged6 msPassed
testAttributeChangedNotRegistered6 msPassed
testAttributeChangedOutsideTransaction6 msPassed
testCalculateDeletedObjects7 msPassed
testCalculateModificationsDataProperty6 msPassed
testCalculateModificationsObjectProperty7 msPassed
testCalculateNewObjects8 msPassed
testClearCacheAfterCommit7 msPassed
testCommitFailed7 msPassed
testCommitInactive8 msPassed
testContains6 msPassed
testGetContexts6 msPassed
testGetOriginal7 msPassed
testGetOriginalNull6 msPassed
testGetState7 msPassed
testGetStateWithDescriptor7 msPassed
testIsConsistent7 msPassed
testIsObjectManaged7 msPassed
testIsObjectManagerNull6 msPassed
testIsObjectNew6 msPassed
testIsObjectNewWithNullAndManaged6 msPassed
testLoadFieldValueNotRegistered7 msPassed
testReadObjectFromOntology7 msPassed
testReadObjectJustPersisted5 msPassed
testReadObjectNullClass6 msPassed
testReadObjectNullContext5 msPassed
testReadObjectNullPrimaryKey6 msPassed
testRegisterExistingObject5 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject6 msPassed
testRegisterNewObjectNull7 msPassed
testRegisterNewObjectNullDescriptor6 msPassed
testReleaseUnitOfWork6 msPassed
testRemoveNewObject6 msPassed
testRemoveObjectFromCache7 msPassed
testRemoveObjectNotRegistered5 msPassed
testRollback6 msPassed
testRollbackInactive5 msPassed
testSwitchQueryProcessingOntology6 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing6 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit8 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit9 msPassed
unregisterObjectRemovesItFromCloneBuilderCache6 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed