Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded6 msPassed
changesToRemovedObjectAreIgnoredOnCommit7 msPassed
clearCleansUpPersistenceContext9 msPassed
clearResetsCloneBuilder7 msPassed
commitDetachesPersistedInstance7 msPassed
commitEvictsInferredClassesFromCache6 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction8 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances13 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject9 msPassed
getManagedOriginalForDifferentContextReturnsNull6 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull5 msPassed
getManagedOriginalReturnsManagedOriginalInstance11 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction9 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance6 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject6 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute7 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject5 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute7 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance6 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject12 msPassed
isLoadedReturnsUnknownForUnregisteredObject6 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded9 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull7 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded11 msPassed
loadFieldLoadsLiteralValueAttribute8 msPassed
loadFieldLoadsManagedTypeAttribute9 msPassed
readAlreadyManagedObjectReturnsTheManagedOne7 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState8 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet8 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges8 msPassed
refreshOverwritesChangesSentToRepository6 msPassed
refreshOverwritesObjectPropertyChanges9 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance13 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity7 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance5 msPassed
refreshThrowsIllegalArgumentForRemovedInstance7 msPassed
registerExistingObjectInvokesPostCloneListeners6 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder7 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated7 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions7 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities6 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository7 msPassed
restoreDeletedRegistersObjectAgain6 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities93 msPassed
testAttributeChanged6 msPassed
testAttributeChangedNotRegistered12 msPassed
testAttributeChangedOutsideTransaction6 msPassed
testCalculateDeletedObjects8 msPassed
testCalculateModificationsDataProperty7 msPassed
testCalculateModificationsObjectProperty8 msPassed
testCalculateNewObjects9 msPassed
testClearCacheAfterCommit7 msPassed
testCommitFailed7 msPassed
testCommitInactive7 msPassed
testContains7 msPassed
testGetContexts6 msPassed
testGetOriginal12 msPassed
testGetOriginalNull6 msPassed
testGetState7 msPassed
testGetStateWithDescriptor7 msPassed
testIsConsistent7 msPassed
testIsObjectManaged6 msPassed
testIsObjectManagerNull6 msPassed
testIsObjectNew7 msPassed
testIsObjectNewWithNullAndManaged7 msPassed
testLoadFieldValueNotRegistered11 msPassed
testReadObjectFromOntology6 msPassed
testReadObjectJustPersisted5 msPassed
testReadObjectNullClass5 msPassed
testReadObjectNullContext6 msPassed
testReadObjectNullPrimaryKey9 msPassed
testRegisterExistingObject7 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject6 msPassed
testRegisterNewObjectNull6 msPassed
testRegisterNewObjectNullDescriptor6 msPassed
testReleaseUnitOfWork6 msPassed
testRemoveNewObject5 msPassed
testRemoveObjectFromCache10 msPassed
testRemoveObjectNotRegistered6 msPassed
testRollback6 msPassed
testRollbackInactive6 msPassed
testSwitchQueryProcessingOntology6 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing6 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit8 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit10 msPassed
unregisterObjectRemovesItFromCloneBuilderCache7 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed