Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded30 msPassed
changesToRemovedObjectAreIgnoredOnCommit29 msPassed
clearCleansUpPersistenceContext41 msPassed
clearResetsCloneBuilder27 msPassed
commitDetachesPersistedInstance30 msPassed
commitEvictsInferredClassesFromCache30 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction30 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances29 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne29 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject32 msPassed
getManagedOriginalForDifferentContextReturnsNull31 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull28 msPassed
getManagedOriginalReturnsManagedOriginalInstance28 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects28 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType28 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction36 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance29 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject28 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute30 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject27 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute30 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance28 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject28 msPassed
isLoadedReturnsUnknownForUnregisteredObject29 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded31 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull29 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded28 msPassed
loadFieldLoadsLiteralValueAttribute31 msPassed
loadFieldLoadsManagedTypeAttribute33 msPassed
readAlreadyManagedObjectReturnsTheManagedOne28 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState30 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet31 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges29 msPassed
refreshOverwritesChangesSentToRepository30 msPassed
refreshOverwritesObjectPropertyChanges34 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance30 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity34 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance28 msPassed
refreshThrowsIllegalArgumentForRemovedInstance29 msPassed
registerExistingObjectInvokesPostCloneListeners29 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder33 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated28 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions28 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities29 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository28 msPassed
restoreDeletedRegistersObjectAgain28 msPassed
restoreDeletedReinsertsObjectIntoRepository30 msPassed
rollbackDetachesAllManagedEntities29 msPassed
testAttributeChanged30 msPassed
testAttributeChangedNotRegistered27 msPassed
testAttributeChangedOutsideTransaction29 msPassed
testCalculateDeletedObjects34 msPassed
testCalculateModificationsDataProperty32 msPassed
testCalculateModificationsObjectProperty32 msPassed
testCalculateNewObjects31 msPassed
testClearCacheAfterCommit30 msPassed
testCommitFailed29 msPassed
testCommitInactive34 msPassed
testContains29 msPassed
testGetContexts26 msPassed
testGetOriginal28 msPassed
testGetOriginalNull27 msPassed
testGetState30 msPassed
testGetStateWithDescriptor28 msPassed
testIsConsistent27 msPassed
testIsObjectManaged28 msPassed
testIsObjectManagerNull30 msPassed
testIsObjectNew27 msPassed
testIsObjectNewWithNullAndManaged27 msPassed
testLoadFieldValueNotRegistered27 msPassed
testReadObjectFromOntology27 msPassed
testReadObjectJustPersisted27 msPassed
testReadObjectNullClass29 msPassed
testReadObjectNullContext29 msPassed
testReadObjectNullPrimaryKey27 msPassed
testRegisterExistingObject29 msPassed
testRegisterExistingObjectTwice27 msPassed
testRegisterNewObject28 msPassed
testRegisterNewObjectNull26 msPassed
testRegisterNewObjectNullDescriptor28 msPassed
testReleaseUnitOfWork27 msPassed
testRemoveNewObject28 msPassed
testRemoveObjectFromCache27 msPassed
testRemoveObjectNotRegistered27 msPassed
testRollback30 msPassed
testRollbackInactive28 msPassed
testSwitchQueryProcessingOntology28 msPassed
testUnregisterObject29 msPassed
testUseTransactionalOntologyForQueryProcessing27 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit33 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit32 msPassed
unregisterObjectRemovesItFromCloneBuilderCache43 msPassed
unwrapReturnsItselfWhenClassMatches27 msPassed