Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded11 msPassed
changesToRemovedObjectAreIgnoredOnCommit24 msPassed
clearCleansUpPersistenceContext37 msPassed
clearResetsCloneBuilder25 msPassed
commitDetachesPersistedInstance34 msPassed
commitEvictsInferredClassesFromCache13 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction21 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances40 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne26 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject14 msPassed
getManagedOriginalForDifferentContextReturnsNull11 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull9 msPassed
getManagedOriginalReturnsManagedOriginalInstance34 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction41 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance10 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject26 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute26 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject11 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute40 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance12 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject25 msPassed
isLoadedReturnsUnknownForUnregisteredObject9 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded13 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull11 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded12 msPassed
loadFieldLoadsLiteralValueAttribute13 msPassed
loadFieldLoadsManagedTypeAttribute24 msPassed
readAlreadyManagedObjectReturnsTheManagedOne10 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState26 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet23 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges36 msPassed
refreshOverwritesChangesSentToRepository13 msPassed
refreshOverwritesObjectPropertyChanges30 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance30 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity14 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance11 msPassed
refreshThrowsIllegalArgumentForRemovedInstance11 msPassed
registerExistingObjectInvokesPostCloneListeners10 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder31 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated31 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions36 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities11 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository28 msPassed
restoreDeletedRegistersObjectAgain11 msPassed
restoreDeletedReinsertsObjectIntoRepository11 msPassed
rollbackDetachesAllManagedEntities22 msPassed
testAttributeChanged11 msPassed
testAttributeChangedNotRegistered26 msPassed
testAttributeChangedOutsideTransaction10 msPassed
testCalculateDeletedObjects19 msPassed
testCalculateModificationsDataProperty34 msPassed
testCalculateModificationsObjectProperty13 msPassed
testCalculateNewObjects14 msPassed
testClearCacheAfterCommit36 msPassed
testCommitFailed10 msPassed
testCommitInactive44 msPassed
testContains9 msPassed
testGetContexts14 msPassed
testGetOriginal10 msPassed
testGetOriginalNull22 msPassed
testGetState30 msPassed
testGetStateWithDescriptor29 msPassed
testIsConsistent13 msPassed
testIsObjectManaged22 msPassed
testIsObjectManagerNull9 msPassed
testIsObjectNew15 msPassed
testIsObjectNewWithNullAndManaged38 msPassed
testLoadFieldValueNotRegistered10 msPassed
testReadObjectFromOntology33 msPassed
testReadObjectJustPersisted10 msPassed
testReadObjectNullClass9 msPassed
testReadObjectNullContext9 msPassed
testReadObjectNullPrimaryKey26 msPassed
testRegisterExistingObject10 msPassed
testRegisterExistingObjectTwice21 msPassed
testRegisterNewObject17 msPassed
testRegisterNewObjectNull10 msPassed
testRegisterNewObjectNullDescriptor9 msPassed
testReleaseUnitOfWork9 msPassed
testRemoveNewObject22 msPassed
testRemoveObjectFromCache10 msPassed
testRemoveObjectNotRegistered9 msPassed
testRollback20 msPassed
testRollbackInactive10 msPassed
testSwitchQueryProcessingOntology10 msPassed
testUnregisterObject10 msPassed
testUseTransactionalOntologyForQueryProcessing19 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit31 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit37 msPassed
unregisterObjectRemovesItFromCloneBuilderCache11 msPassed
unwrapReturnsItselfWhenClassMatches26 msPassed