Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded17 msPassed
changesToRemovedObjectAreIgnoredOnCommit18 msPassed
clearCleansUpPersistenceContext20 msPassed
clearResetsCloneBuilder17 msPassed
commitDetachesPersistedInstance18 msPassed
commitEvictsInferredClassesFromCache18 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction27 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances18 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne19 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject18 msPassed
getManagedOriginalForDifferentContextReturnsNull18 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull16 msPassed
getManagedOriginalReturnsManagedOriginalInstance18 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects18 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType18 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction22 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance17 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject18 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute18 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject16 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute41 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance16 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject18 msPassed
isLoadedReturnsUnknownForUnregisteredObject17 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded19 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull19 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded18 msPassed
loadFieldLoadsLiteralValueAttribute19 msPassed
loadFieldLoadsManagedTypeAttribute19 msPassed
readAlreadyManagedObjectReturnsTheManagedOne17 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState18 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet19 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges18 msPassed
refreshOverwritesChangesSentToRepository19 msPassed
refreshOverwritesObjectPropertyChanges22 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance19 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity19 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance17 msPassed
refreshThrowsIllegalArgumentForRemovedInstance18 msPassed
registerExistingObjectInvokesPostCloneListeners17 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder17 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated18 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions19 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities29 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository18 msPassed
restoreDeletedRegistersObjectAgain17 msPassed
restoreDeletedReinsertsObjectIntoRepository17 msPassed
rollbackDetachesAllManagedEntities19 msPassed
testAttributeChanged18 msPassed
testAttributeChangedNotRegistered17 msPassed
testAttributeChangedOutsideTransaction17 msPassed
testCalculateDeletedObjects19 msPassed
testCalculateModificationsDataProperty18 msPassed
testCalculateModificationsObjectProperty20 msPassed
testCalculateNewObjects20 msPassed
testClearCacheAfterCommit26 msPassed
testCommitFailed17 msPassed
testCommitInactive76 msPassed
testContains23 msPassed
testGetContexts17 msPassed
testGetOriginal18 msPassed
testGetOriginalNull17 msPassed
testGetState18 msPassed
testGetStateWithDescriptor21 msPassed
testIsConsistent16 msPassed
testIsObjectManaged19 msPassed
testIsObjectManagerNull18 msPassed
testIsObjectNew16 msPassed
testIsObjectNewWithNullAndManaged27 msPassed
testLoadFieldValueNotRegistered17 msPassed
testReadObjectFromOntology23 msPassed
testReadObjectJustPersisted17 msPassed
testReadObjectNullClass18 msPassed
testReadObjectNullContext17 msPassed
testReadObjectNullPrimaryKey17 msPassed
testRegisterExistingObject17 msPassed
testRegisterExistingObjectTwice17 msPassed
testRegisterNewObject17 msPassed
testRegisterNewObjectNull39 msPassed
testRegisterNewObjectNullDescriptor16 msPassed
testReleaseUnitOfWork17 msPassed
testRemoveNewObject17 msPassed
testRemoveObjectFromCache17 msPassed
testRemoveObjectNotRegistered17 msPassed
testRollback17 msPassed
testRollbackInactive17 msPassed
testSwitchQueryProcessingOntology17 msPassed
testUnregisterObject18 msPassed
testUseTransactionalOntologyForQueryProcessing16 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit21 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit34 msPassed
unregisterObjectRemovesItFromCloneBuilderCache17 msPassed
unwrapReturnsItselfWhenClassMatches17 msPassed