Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded40 msPassed
changesToRemovedObjectAreIgnoredOnCommit23 msPassed
clearCleansUpPersistenceContext28 msPassed
clearResetsCloneBuilder34 msPassed
commitDetachesPersistedInstance29 msPassed
commitEvictsInferredClassesFromCache35 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction32 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances31 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne22 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject76 msPassed
getManagedOriginalForDifferentContextReturnsNull33 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull31 msPassed
getManagedOriginalReturnsManagedOriginalInstance22 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects30 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType23 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction40 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance21 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject21 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute37 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject32 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute89 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance37 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject24 msPassed
isLoadedReturnsUnknownForUnregisteredObject21 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded85 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull35 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded22 msPassed
loadFieldLoadsLiteralValueAttribute35 msPassed
loadFieldLoadsManagedTypeAttribute23 msPassed
readAlreadyManagedObjectReturnsTheManagedOne50 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState36 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet24 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges35 msPassed
refreshOverwritesChangesSentToRepository72 msPassed
refreshOverwritesObjectPropertyChanges0.29 secPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance24 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity29 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance21 msPassed
refreshThrowsIllegalArgumentForRemovedInstance27 msPassed
registerExistingObjectInvokesPostCloneListeners51 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder26 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated26 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions22 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities31 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository21 msPassed
restoreDeletedRegistersObjectAgain58 msPassed
restoreDeletedReinsertsObjectIntoRepository32 msPassed
rollbackDetachesAllManagedEntities22 msPassed
testAttributeChanged23 msPassed
testAttributeChangedNotRegistered20 msPassed
testAttributeChangedOutsideTransaction21 msPassed
testCalculateDeletedObjects29 msPassed
testCalculateModificationsDataProperty27 msPassed
testCalculateModificationsObjectProperty26 msPassed
testCalculateNewObjects27 msPassed
testClearCacheAfterCommit35 msPassed
testCommitFailed28 msPassed
testCommitInactive63 msPassed
testContains21 msPassed
testGetContexts20 msPassed
testGetOriginal34 msPassed
testGetOriginalNull20 msPassed
testGetState22 msPassed
testGetStateWithDescriptor33 msPassed
testIsConsistent20 msPassed
testIsObjectManaged22 msPassed
testIsObjectManagerNull21 msPassed
testIsObjectNew21 msPassed
testIsObjectNewWithNullAndManaged33 msPassed
testLoadFieldValueNotRegistered32 msPassed
testReadObjectFromOntology26 msPassed
testReadObjectJustPersisted48 msPassed
testReadObjectNullClass73 msPassed
testReadObjectNullContext20 msPassed
testReadObjectNullPrimaryKey23 msPassed
testRegisterExistingObject33 msPassed
testRegisterExistingObjectTwice70 msPassed
testRegisterNewObject20 msPassed
testRegisterNewObjectNull64 msPassed
testRegisterNewObjectNullDescriptor65 msPassed
testReleaseUnitOfWork20 msPassed
testRemoveNewObject43 msPassed
testRemoveObjectFromCache31 msPassed
testRemoveObjectNotRegistered31 msPassed
testRollback46 msPassed
testRollbackInactive20 msPassed
testSwitchQueryProcessingOntology32 msPassed
testUnregisterObject62 msPassed
testUseTransactionalOntologyForQueryProcessing32 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit81 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit40 msPassed
unregisterObjectRemovesItFromCloneBuilderCache33 msPassed
unwrapReturnsItselfWhenClassMatches50 msPassed