Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
91 tests (±0)
Took 1 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded7 msPassed
changesToRemovedObjectAreIgnoredOnCommit7 msPassed
clearCleansUpPersistenceContext16 msPassed
clearResetsCloneBuilder12 msPassed
commitDetachesPersistedInstance9 msPassed
commitEvictsInferredClassesFromCache7 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction17 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances14 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject8 msPassed
getManagedOriginalForDifferentContextReturnsNull7 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull6 msPassed
getManagedOriginalReturnsManagedOriginalInstance12 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction10 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance6 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject12 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute13 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject13 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute7 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance6 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject13 msPassed
isLoadedReturnsUnknownForUnregisteredObject5 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded8 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull14 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded11 msPassed
loadFieldLoadsLiteralValueAttribute7 msPassed
loadFieldLoadsManagedTypeAttribute8 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState15 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet15 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges17 msPassed
refreshOverwritesChangesSentToRepository8 msPassed
refreshOverwritesObjectPropertyChanges20 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance16 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity8 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance6 msPassed
refreshThrowsIllegalArgumentForRemovedInstance13 msPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder12 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated13 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions12 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities11 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository13 msPassed
restoreDeletedRegistersObjectAgain6 msPassed
restoreDeletedReinsertsObjectIntoRepository7 msPassed
rollbackDetachesAllManagedEntities13 msPassed
testAttributeChanged6 msPassed
testAttributeChangedNotRegistered14 msPassed
testAttributeChangedOutsideTransaction14 msPassed
testCalculateDeletedObjects15 msPassed
testCalculateModificationsDataProperty7 msPassed
testCalculateModificationsObjectProperty8 msPassed
testCalculateNewObjects8 msPassed
testClearCacheAfterCommit12 msPassed
testCommitFailed7 msPassed
testCommitInactive10 msPassed
testContains7 msPassed
testGetContexts5 msPassed
testGetOriginal13 msPassed
testGetOriginalNull11 msPassed
testGetState15 msPassed
testGetStateWithDescriptor0.12 secPassed
testIsConsistent14 msPassed
testIsObjectManaged11 msPassed
testIsObjectManagerNull7 msPassed
testIsObjectNew14 msPassed
testIsObjectNewWithNullAndManaged14 msPassed
testLoadFieldValueNotRegistered12 msPassed
testReadObjectFromOntology13 msPassed
testReadObjectJustPersisted4 msPassed
testReadObjectNullClass6 msPassed
testReadObjectNullContext6 msPassed
testReadObjectNullPrimaryKey12 msPassed
testRegisterExistingObject6 msPassed
testRegisterExistingObjectTwice7 msPassed
testRegisterNewObject13 msPassed
testRegisterNewObjectNull6 msPassed
testRegisterNewObjectNullDescriptor6 msPassed
testReleaseUnitOfWork6 msPassed
testRemoveNewObject6 msPassed
testRemoveObjectFromCache11 msPassed
testRemoveObjectNotRegistered6 msPassed
testRollback7 msPassed
testRollbackInactive6 msPassed
testSwitchQueryProcessingOntology15 msPassed
testUnregisterObject7 msPassed
testUseTransactionalOntologyForQueryProcessing12 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit9 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit18 msPassed
unregisterObjectRemovesItFromCloneBuilderCache7 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed