Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded6 msPassed
changesToRemovedObjectAreIgnoredOnCommit7 msPassed
clearCleansUpPersistenceContext10 msPassed
clearResetsCloneBuilder12 msPassed
commitDetachesPersistedInstance8 msPassed
commitEvictsInferredClassesFromCache9 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction8 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances12 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne9 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject9 msPassed
getManagedOriginalForDifferentContextReturnsNull6 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull7 msPassed
getManagedOriginalReturnsManagedOriginalInstance11 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction11 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance6 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject6 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute11 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute2 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance6 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject12 msPassed
isLoadedReturnsUnknownForUnregisteredObject6 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded8 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull15 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded11 msPassed
loadFieldLoadsLiteralValueAttribute8 msPassed
loadFieldLoadsManagedTypeAttribute9 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState14 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet11 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges4 msPassed
refreshOverwritesChangesSentToRepository15 msPassed
refreshOverwritesObjectPropertyChanges2 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance11 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity9 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance6 msPassed
refreshThrowsIllegalArgumentForRemovedInstance7 msPassed
registerExistingObjectInvokesPostCloneListeners6 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder11 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated14 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions7 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities6 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository7 msPassed
restoreDeletedRegistersObjectAgain7 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities12 msPassed
testAttributeChanged7 msPassed
testAttributeChangedNotRegistered8 msPassed
testAttributeChangedOutsideTransaction9 msPassed
testCalculateDeletedObjects8 msPassed
testCalculateModificationsDataProperty7 msPassed
testCalculateModificationsObjectProperty8 msPassed
testCalculateNewObjects8 msPassed
testClearCacheAfterCommit8 msPassed
testCommitFailed7 msPassed
testCommitInactive2 msPassed
testContains6 msPassed
testGetContexts6 msPassed
testGetOriginal9 msPassed
testGetOriginalNull6 msPassed
testGetState12 msPassed
testGetStateWithDescriptor8 msPassed
testIsConsistent21 msPassed
testIsObjectManaged6 msPassed
testIsObjectManagerNull6 msPassed
testIsObjectNew9 msPassed
testIsObjectNewWithNullAndManaged7 msPassed
testLoadFieldValueNotRegistered9 msPassed
testReadObjectFromOntology7 msPassed
testReadObjectJustPersisted7 msPassed
testReadObjectNullClass6 msPassed
testReadObjectNullContext6 msPassed
testReadObjectNullPrimaryKey10 msPassed
testRegisterExistingObject6 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject0 msPassed
testRegisterNewObjectNull0 msPassed
testRegisterNewObjectNullDescriptor6 msPassed
testReleaseUnitOfWork6 msPassed
testRemoveNewObject9 msPassed
testRemoveObjectFromCache8 msPassed
testRemoveObjectNotRegistered6 msPassed
testRollback7 msPassed
testRollbackInactive7 msPassed
testSwitchQueryProcessingOntology15 msPassed
testUnregisterObject7 msPassed
testUseTransactionalOntologyForQueryProcessing9 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit14 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit10 msPassed
unregisterObjectRemovesItFromCloneBuilderCache7 msPassed
unwrapReturnsItselfWhenClassMatches7 msPassed