Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded0.23 secPassed
changesToRemovedObjectAreIgnoredOnCommit17 msPassed
clearCleansUpPersistenceContext4 msPassed
clearResetsCloneBuilder15 msPassed
commitDetachesPersistedInstance24 msPassed
commitEvictsInferredClassesFromCache18 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction21 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances6 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne32 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject26 msPassed
getManagedOriginalForDifferentContextReturnsNull36 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull30 msPassed
getManagedOriginalReturnsManagedOriginalInstance17 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction19 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance44 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject17 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute4 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute3 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance9 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject1 msPassed
isLoadedReturnsUnknownForUnregisteredObject15 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded14 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull1 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded30 msPassed
loadFieldLoadsLiteralValueAttribute26 msPassed
loadFieldLoadsManagedTypeAttribute38 msPassed
readAlreadyManagedObjectReturnsTheManagedOne27 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState2 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet1 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges20 msPassed
refreshOverwritesChangesSentToRepository14 msPassed
refreshOverwritesObjectPropertyChanges14 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance20 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity25 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance15 msPassed
refreshThrowsIllegalArgumentForRemovedInstance18 msPassed
registerExistingObjectInvokesPostCloneListeners12 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder3 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated0 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions17 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities16 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository18 msPassed
restoreDeletedRegistersObjectAgain11 msPassed
restoreDeletedReinsertsObjectIntoRepository28 msPassed
rollbackDetachesAllManagedEntities39 msPassed
testAttributeChanged25 msPassed
testAttributeChangedNotRegistered0 msPassed
testAttributeChangedOutsideTransaction0 msPassed
testCalculateDeletedObjects5 msPassed
testCalculateModificationsDataProperty11 msPassed
testCalculateModificationsObjectProperty24 msPassed
testCalculateNewObjects20 msPassed
testClearCacheAfterCommit19 msPassed
testCommitFailed31 msPassed
testCommitInactive3 msPassed
testContains27 msPassed
testGetContexts15 msPassed
testGetOriginal22 msPassed
testGetOriginalNull18 msPassed
testGetState1 msPassed
testGetStateWithDescriptor17 msPassed
testIsConsistent0 msPassed
testIsObjectManaged16 msPassed
testIsObjectManagerNull15 msPassed
testIsObjectNew17 msPassed
testIsObjectNewWithNullAndManaged16 msPassed
testLoadFieldValueNotRegistered16 msPassed
testReadObjectFromOntology16 msPassed
testReadObjectJustPersisted24 msPassed
testReadObjectNullClass10 msPassed
testReadObjectNullContext30 msPassed
testReadObjectNullPrimaryKey15 msPassed
testRegisterExistingObject28 msPassed
testRegisterExistingObjectTwice17 msPassed
testRegisterNewObject0 msPassed
testRegisterNewObjectNull0 msPassed
testRegisterNewObjectNullDescriptor22 msPassed
testReleaseUnitOfWork15 msPassed
testRemoveNewObject10 msPassed
testRemoveObjectFromCache14 msPassed
testRemoveObjectNotRegistered18 msPassed
testRollback26 msPassed
testRollbackInactive16 msPassed
testSwitchQueryProcessingOntology21 msPassed
testUnregisterObject28 msPassed
testUseTransactionalOntologyForQueryProcessing0 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit47 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit25 msPassed
unregisterObjectRemovesItFromCloneBuilderCache17 msPassed
unwrapReturnsItselfWhenClassMatches25 msPassed