Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded7 msPassed
changesToRemovedObjectAreIgnoredOnCommit7 msPassed
clearCleansUpPersistenceContext17 msPassed
clearResetsCloneBuilder15 msPassed
commitDetachesPersistedInstance7 msPassed
commitEvictsInferredClassesFromCache7 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction16 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances16 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject13 msPassed
getManagedOriginalForDifferentContextReturnsNull12 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull10 msPassed
getManagedOriginalReturnsManagedOriginalInstance14 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction10 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance6 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject13 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute16 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject13 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute11 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance6 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject14 msPassed
isLoadedReturnsUnknownForUnregisteredObject10 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded9 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull15 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded14 msPassed
loadFieldLoadsLiteralValueAttribute13 msPassed
loadFieldLoadsManagedTypeAttribute13 msPassed
readAlreadyManagedObjectReturnsTheManagedOne7 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState16 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet16 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges15 msPassed
refreshOverwritesChangesSentToRepository9 msPassed
refreshOverwritesObjectPropertyChanges20 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance16 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity13 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance6 msPassed
refreshThrowsIllegalArgumentForRemovedInstance12 msPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder15 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated14 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions13 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities12 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository12 msPassed
restoreDeletedRegistersObjectAgain7 msPassed
restoreDeletedReinsertsObjectIntoRepository7 msPassed
rollbackDetachesAllManagedEntities15 msPassed
testAttributeChanged6 msPassed
testAttributeChangedNotRegistered13 msPassed
testAttributeChangedOutsideTransaction13 msPassed
testCalculateDeletedObjects17 msPassed
testCalculateModificationsDataProperty7 msPassed
testCalculateModificationsObjectProperty9 msPassed
testCalculateNewObjects9 msPassed
testClearCacheAfterCommit12 msPassed
testCommitFailed12 msPassed
testCommitInactive16 msPassed
testContains6 msPassed
testGetContexts6 msPassed
testGetOriginal14 msPassed
testGetOriginalNull12 msPassed
testGetState17 msPassed
testGetStateWithDescriptor11 msPassed
testIsConsistent11 msPassed
testIsObjectManaged12 msPassed
testIsObjectManagerNull11 msPassed
testIsObjectNew14 msPassed
testIsObjectNewWithNullAndManaged14 msPassed
testLoadFieldValueNotRegistered14 msPassed
testReadObjectFromOntology19 msPassed
testReadObjectJustPersisted8 msPassed
testReadObjectNullClass7 msPassed
testReadObjectNullContext96 msPassed
testReadObjectNullPrimaryKey13 msPassed
testRegisterExistingObject11 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject13 msPassed
testRegisterNewObjectNull7 msPassed
testRegisterNewObjectNullDescriptor7 msPassed
testReleaseUnitOfWork12 msPassed
testRemoveNewObject7 msPassed
testRemoveObjectFromCache14 msPassed
testRemoveObjectNotRegistered11 msPassed
testRollback7 msPassed
testRollbackInactive12 msPassed
testSwitchQueryProcessingOntology13 msPassed
testUnregisterObject7 msPassed
testUseTransactionalOntologyForQueryProcessing13 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit15 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit19 msPassed
unregisterObjectRemovesItFromCloneBuilderCache11 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed