Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded7 msPassed
changesToRemovedObjectAreIgnoredOnCommit8 msPassed
clearCleansUpPersistenceContext15 msPassed
clearResetsCloneBuilder15 msPassed
commitDetachesPersistedInstance7 msPassed
commitEvictsInferredClassesFromCache8 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction16 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances12 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne8 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject8 msPassed
getManagedOriginalForDifferentContextReturnsNull13 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.1 secPassed
getManagedOriginalReturnsManagedOriginalInstance15 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction11 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance5 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject14 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute19 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject15 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute6 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance6 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject13 msPassed
isLoadedReturnsUnknownForUnregisteredObject14 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded8 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull17 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded15 msPassed
loadFieldLoadsLiteralValueAttribute17 msPassed
loadFieldLoadsManagedTypeAttribute16 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState18 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet16 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges13 msPassed
refreshOverwritesChangesSentToRepository7 msPassed
refreshOverwritesObjectPropertyChanges15 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance14 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity16 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance6 msPassed
refreshThrowsIllegalArgumentForRemovedInstance13 msPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder15 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated17 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions14 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities14 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository12 msPassed
restoreDeletedRegistersObjectAgain6 msPassed
restoreDeletedReinsertsObjectIntoRepository7 msPassed
rollbackDetachesAllManagedEntities18 msPassed
testAttributeChanged6 msPassed
testAttributeChangedNotRegistered14 msPassed
testAttributeChangedOutsideTransaction15 msPassed
testCalculateDeletedObjects17 msPassed
testCalculateModificationsDataProperty8 msPassed
testCalculateModificationsObjectProperty8 msPassed
testCalculateNewObjects9 msPassed
testClearCacheAfterCommit15 msPassed
testCommitFailed12 msPassed
testCommitInactive9 msPassed
testContains7 msPassed
testGetContexts6 msPassed
testGetOriginal12 msPassed
testGetOriginalNull15 msPassed
testGetState16 msPassed
testGetStateWithDescriptor14 msPassed
testIsConsistent14 msPassed
testIsObjectManaged12 msPassed
testIsObjectManagerNull12 msPassed
testIsObjectNew14 msPassed
testIsObjectNewWithNullAndManaged15 msPassed
testLoadFieldValueNotRegistered11 msPassed
testReadObjectFromOntology16 msPassed
testReadObjectJustPersisted7 msPassed
testReadObjectNullClass6 msPassed
testReadObjectNullContext6 msPassed
testReadObjectNullPrimaryKey16 msPassed
testRegisterExistingObject13 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject14 msPassed
testRegisterNewObjectNull7 msPassed
testRegisterNewObjectNullDescriptor6 msPassed
testReleaseUnitOfWork13 msPassed
testRemoveNewObject6 msPassed
testRemoveObjectFromCache15 msPassed
testRemoveObjectNotRegistered14 msPassed
testRollback7 msPassed
testRollbackInactive15 msPassed
testSwitchQueryProcessingOntology12 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing13 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit8 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit20 msPassed
unregisterObjectRemovesItFromCloneBuilderCache15 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed