Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded7 msPassed
changesToRemovedObjectAreIgnoredOnCommit6 msPassed
clearCleansUpPersistenceContext9 msPassed
clearResetsCloneBuilder12 msPassed
commitDetachesPersistedInstance6 msPassed
commitEvictsInferredClassesFromCache7 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction13 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances9 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject7 msPassed
getManagedOriginalForDifferentContextReturnsNull6 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull5 msPassed
getManagedOriginalReturnsManagedOriginalInstance11 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction9 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance6 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject6 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute8 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject6 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute7 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance6 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject7 msPassed
isLoadedReturnsUnknownForUnregisteredObject6 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded7 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull7 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded10 msPassed
loadFieldLoadsLiteralValueAttribute7 msPassed
loadFieldLoadsManagedTypeAttribute8 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState8 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet8 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges13 msPassed
refreshOverwritesChangesSentToRepository7 msPassed
refreshOverwritesObjectPropertyChanges9 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance14 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity7 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance6 msPassed
refreshThrowsIllegalArgumentForRemovedInstance7 msPassed
registerExistingObjectInvokesPostCloneListeners6 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder7 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated7 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions6 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities7 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository6 msPassed
restoreDeletedRegistersObjectAgain6 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities9 msPassed
testAttributeChanged6 msPassed
testAttributeChangedNotRegistered7 msPassed
testAttributeChangedOutsideTransaction7 msPassed
testCalculateDeletedObjects8 msPassed
testCalculateModificationsDataProperty7 msPassed
testCalculateModificationsObjectProperty7 msPassed
testCalculateNewObjects9 msPassed
testClearCacheAfterCommit7 msPassed
testCommitFailed6 msPassed
testCommitInactive7 msPassed
testContains6 msPassed
testGetContexts6 msPassed
testGetOriginal7 msPassed
testGetOriginalNull5 msPassed
testGetState8 msPassed
testGetStateWithDescriptor7 msPassed
testIsConsistent6 msPassed
testIsObjectManaged7 msPassed
testIsObjectManagerNull6 msPassed
testIsObjectNew11 msPassed
testIsObjectNewWithNullAndManaged11 msPassed
testLoadFieldValueNotRegistered11 msPassed
testReadObjectFromOntology6 msPassed
testReadObjectJustPersisted5 msPassed
testReadObjectNullClass6 msPassed
testReadObjectNullContext6 msPassed
testReadObjectNullPrimaryKey11 msPassed
testRegisterExistingObject6 msPassed
testRegisterExistingObjectTwice7 msPassed
testRegisterNewObject7 msPassed
testRegisterNewObjectNull7 msPassed
testRegisterNewObjectNullDescriptor6 msPassed
testReleaseUnitOfWork5 msPassed
testRemoveNewObject6 msPassed
testRemoveObjectFromCache10 msPassed
testRemoveObjectNotRegistered6 msPassed
testRollback7 msPassed
testRollbackInactive6 msPassed
testSwitchQueryProcessingOntology11 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing6 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit9 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit96 msPassed
unregisterObjectRemovesItFromCloneBuilderCache6 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed