Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded13 msPassed
changesToRemovedObjectAreIgnoredOnCommit7 msPassed
clearCleansUpPersistenceContext9 msPassed
clearResetsCloneBuilder13 msPassed
commitDetachesPersistedInstance8 msPassed
commitEvictsInferredClassesFromCache14 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction15 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances15 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject9 msPassed
getManagedOriginalForDifferentContextReturnsNull12 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull11 msPassed
getManagedOriginalReturnsManagedOriginalInstance13 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction10 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance12 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject13 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute7 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject6 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute3 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance99 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject8 msPassed
isLoadedReturnsUnknownForUnregisteredObject11 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded9 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull7 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded13 msPassed
loadFieldLoadsLiteralValueAttribute13 msPassed
loadFieldLoadsManagedTypeAttribute14 msPassed
readAlreadyManagedObjectReturnsTheManagedOne7 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState7 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet8 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges15 msPassed
refreshOverwritesChangesSentToRepository7 msPassed
refreshOverwritesObjectPropertyChanges10 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance14 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity14 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance13 msPassed
refreshThrowsIllegalArgumentForRemovedInstance12 msPassed
registerExistingObjectInvokesPostCloneListeners6 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder7 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated7 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions12 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities12 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository13 msPassed
restoreDeletedRegistersObjectAgain7 msPassed
restoreDeletedReinsertsObjectIntoRepository7 msPassed
rollbackDetachesAllManagedEntities13 msPassed
testAttributeChanged12 msPassed
testAttributeChangedNotRegistered7 msPassed
testAttributeChangedOutsideTransaction6 msPassed
testCalculateDeletedObjects7 msPassed
testCalculateModificationsDataProperty7 msPassed
testCalculateModificationsObjectProperty8 msPassed
testCalculateNewObjects15 msPassed
testClearCacheAfterCommit13 msPassed
testCommitFailed11 msPassed
testCommitInactive7 msPassed
testContains12 msPassed
testGetContexts6 msPassed
testGetOriginal14 msPassed
testGetOriginalNull11 msPassed
testGetState6 msPassed
testGetStateWithDescriptor13 msPassed
testIsConsistent5 msPassed
testIsObjectManaged12 msPassed
testIsObjectManagerNull11 msPassed
testIsObjectNew11 msPassed
testIsObjectNewWithNullAndManaged12 msPassed
testLoadFieldValueNotRegistered12 msPassed
testReadObjectFromOntology12 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass6 msPassed
testReadObjectNullContext12 msPassed
testReadObjectNullPrimaryKey12 msPassed
testRegisterExistingObject11 msPassed
testRegisterExistingObjectTwice12 msPassed
testRegisterNewObject6 msPassed
testRegisterNewObjectNull0 msPassed
testRegisterNewObjectNullDescriptor7 msPassed
testReleaseUnitOfWork11 msPassed
testRemoveNewObject6 msPassed
testRemoveObjectFromCache12 msPassed
testRemoveObjectNotRegistered11 msPassed
testRollback13 msPassed
testRollbackInactive12 msPassed
testSwitchQueryProcessingOntology11 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing6 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit10 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit18 msPassed
unregisterObjectRemovesItFromCloneBuilderCache12 msPassed
unwrapReturnsItselfWhenClassMatches11 msPassed