Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded20 msPassed
changesToRemovedObjectAreIgnoredOnCommit21 msPassed
clearCleansUpPersistenceContext22 msPassed
clearResetsCloneBuilder19 msPassed
commitDetachesPersistedInstance20 msPassed
commitEvictsInferredClassesFromCache20 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction22 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances20 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne20 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject22 msPassed
getManagedOriginalForDifferentContextReturnsNull20 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull20 msPassed
getManagedOriginalReturnsManagedOriginalInstance20 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects19 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType19 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction23 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance19 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject31 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute21 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject19 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute19 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance19 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject21 msPassed
isLoadedReturnsUnknownForUnregisteredObject19 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded21 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull20 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded19 msPassed
loadFieldLoadsLiteralValueAttribute20 msPassed
loadFieldLoadsManagedTypeAttribute22 msPassed
readAlreadyManagedObjectReturnsTheManagedOne20 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState21 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet21 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges20 msPassed
refreshOverwritesChangesSentToRepository24 msPassed
refreshOverwritesObjectPropertyChanges23 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance21 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity21 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance18 msPassed
refreshThrowsIllegalArgumentForRemovedInstance43 msPassed
registerExistingObjectInvokesPostCloneListeners20 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder20 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated19 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions43 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities44 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository45 msPassed
restoreDeletedRegistersObjectAgain19 msPassed
restoreDeletedReinsertsObjectIntoRepository19 msPassed
rollbackDetachesAllManagedEntities20 msPassed
testAttributeChanged19 msPassed
testAttributeChangedNotRegistered22 msPassed
testAttributeChangedOutsideTransaction21 msPassed
testCalculateDeletedObjects21 msPassed
testCalculateModificationsDataProperty19 msPassed
testCalculateModificationsObjectProperty22 msPassed
testCalculateNewObjects22 msPassed
testClearCacheAfterCommit45 msPassed
testCommitFailed19 msPassed
testCommitInactive19 msPassed
testContains20 msPassed
testGetContexts19 msPassed
testGetOriginal20 msPassed
testGetOriginalNull22 msPassed
testGetState21 msPassed
testGetStateWithDescriptor47 msPassed
testIsConsistent21 msPassed
testIsObjectManaged43 msPassed
testIsObjectManagerNull18 msPassed
testIsObjectNew19 msPassed
testIsObjectNewWithNullAndManaged20 msPassed
testLoadFieldValueNotRegistered19 msPassed
testReadObjectFromOntology19 msPassed
testReadObjectJustPersisted19 msPassed
testReadObjectNullClass19 msPassed
testReadObjectNullContext19 msPassed
testReadObjectNullPrimaryKey19 msPassed
testRegisterExistingObject20 msPassed
testRegisterExistingObjectTwice20 msPassed
testRegisterNewObject21 msPassed
testRegisterNewObjectNull19 msPassed
testRegisterNewObjectNullDescriptor18 msPassed
testReleaseUnitOfWork19 msPassed
testRemoveNewObject19 msPassed
testRemoveObjectFromCache19 msPassed
testRemoveObjectNotRegistered19 msPassed
testRollback19 msPassed
testRollbackInactive19 msPassed
testSwitchQueryProcessingOntology18 msPassed
testUnregisterObject19 msPassed
testUseTransactionalOntologyForQueryProcessing19 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit24 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit23 msPassed
unregisterObjectRemovesItFromCloneBuilderCache43 msPassed
unwrapReturnsItselfWhenClassMatches18 msPassed