Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
95 tests (±0)
Took 4.5 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded35 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue37 msPassed
changesToRemovedObjectAreIgnoredOnCommit40 msPassed
clearCleansUpPersistenceContext41 msPassed
clearResetsCloneBuilder66 msPassed
commitDetachesPersistedInstance38 msPassed
commitEvictsInferredClassesFromCache41 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction67 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances71 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne42 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject44 msPassed
getManagedOriginalForDifferentContextReturnsNull37 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull36 msPassed
getManagedOriginalReturnsManagedOriginalInstance66 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects40 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType38 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction43 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance37 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject55 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute39 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject66 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute39 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance40 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject62 msPassed
isLoadedReturnsUnknownForUnregisteredObject37 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded39 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull63 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded0.21 secPassed
loadFieldLoadsLiteralValueAttribute38 msPassed
loadFieldLoadsManagedTypeAttribute40 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes54 msPassed
readAlreadyManagedObjectReturnsTheManagedOne39 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState72 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet76 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges39 msPassed
refreshOverwritesChangesSentToRepository38 msPassed
refreshOverwritesObjectPropertyChanges46 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance41 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity39 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance37 msPassed
refreshThrowsIllegalArgumentForRemovedInstance46 msPassed
registerExistingObjectInvokesPostCloneListeners36 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder36 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated53 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions57 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities63 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository53 msPassed
restoreDeletedRegistersObjectAgain36 msPassed
restoreDeletedReinsertsObjectIntoRepository37 msPassed
rollbackDetachesAllManagedEntities39 msPassed
testAttributeChanged38 msPassed
testAttributeChangedNotRegistered60 msPassed
testAttributeChangedOutsideTransaction61 msPassed
testCalculateDeletedObjects37 msPassed
testCalculateModificationsDataProperty38 msPassed
testCalculateModificationsObjectProperty41 msPassed
testCalculateNewObjects42 msPassed
testClearCacheAfterCommit53 msPassed
testCommitFailed37 msPassed
testCommitInactive38 msPassed
testContains35 msPassed
testGetContexts37 msPassed
testGetOriginal60 msPassed
testGetOriginalNull51 msPassed
testGetState62 msPassed
testGetStateWithDescriptor60 msPassed
testIsConsistent65 msPassed
testIsObjectManaged54 msPassed
testIsObjectManagerNull36 msPassed
testIsObjectNew36 msPassed
testIsObjectNewWithNullAndManaged42 msPassed
testLoadFieldValueNotRegistered65 msPassed
testReadObjectFromOntology61 msPassed
testReadObjectJustPersisted37 msPassed
testReadObjectNullClass37 msPassed
testReadObjectNullContext36 msPassed
testReadObjectNullPrimaryKey35 msPassed
testRegisterExistingObject37 msPassed
testRegisterExistingObjectTwice43 msPassed
testRegisterNewObject68 msPassed
testRegisterNewObjectNull42 msPassed
testRegisterNewObjectNullDescriptor38 msPassed
testReleaseUnitOfWork36 msPassed
testRemoveNewObject37 msPassed
testRemoveObjectFromCache65 msPassed
testRemoveObjectNotRegistered37 msPassed
testRollback37 msPassed
testRollbackInactive46 msPassed
testSwitchQueryProcessingOntology34 msPassed
testUnregisterObject37 msPassed
testUseTransactionalOntologyForQueryProcessing64 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit42 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit52 msPassed
unregisterObjectRemovesItFromCloneBuilderCache40 msPassed
unwrapReturnsItselfWhenClassMatches37 msPassed