Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded7 msPassed
changesToRemovedObjectAreIgnoredOnCommit6 msPassed
clearCleansUpPersistenceContext8 msPassed
clearResetsCloneBuilder6 msPassed
commitDetachesPersistedInstance6 msPassed
commitEvictsInferredClassesFromCache7 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction8 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances7 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject7 msPassed
getManagedOriginalForDifferentContextReturnsNull6 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull6 msPassed
getManagedOriginalReturnsManagedOriginalInstance7 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction9 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance6 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject9 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute7 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject6 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute7 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance6 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject11 msPassed
isLoadedReturnsUnknownForUnregisteredObject5 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded8 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull8 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded6 msPassed
loadFieldLoadsLiteralValueAttribute8 msPassed
loadFieldLoadsManagedTypeAttribute9 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState8 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet9 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges7 msPassed
refreshOverwritesChangesSentToRepository7 msPassed
refreshOverwritesObjectPropertyChanges10 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance8 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity7 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance6 msPassed
refreshThrowsIllegalArgumentForRemovedInstance6 msPassed
registerExistingObjectInvokesPostCloneListeners6 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder7 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated7 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions9 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities7 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository6 msPassed
restoreDeletedRegistersObjectAgain6 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities6 msPassed
testAttributeChanged7 msPassed
testAttributeChangedNotRegistered6 msPassed
testAttributeChangedOutsideTransaction7 msPassed
testCalculateDeletedObjects8 msPassed
testCalculateModificationsDataProperty6 msPassed
testCalculateModificationsObjectProperty8 msPassed
testCalculateNewObjects9 msPassed
testClearCacheAfterCommit6 msPassed
testCommitFailed40 msPassed
testCommitInactive7 msPassed
testContains6 msPassed
testGetContexts9 msPassed
testGetOriginal6 msPassed
testGetOriginalNull6 msPassed
testGetState8 msPassed
testGetStateWithDescriptor7 msPassed
testIsConsistent6 msPassed
testIsObjectManaged6 msPassed
testIsObjectManagerNull6 msPassed
testIsObjectNew6 msPassed
testIsObjectNewWithNullAndManaged7 msPassed
testLoadFieldValueNotRegistered7 msPassed
testReadObjectFromOntology6 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass6 msPassed
testReadObjectNullContext6 msPassed
testReadObjectNullPrimaryKey6 msPassed
testRegisterExistingObject6 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject6 msPassed
testRegisterNewObjectNull7 msPassed
testRegisterNewObjectNullDescriptor6 msPassed
testReleaseUnitOfWork6 msPassed
testRemoveNewObject6 msPassed
testRemoveObjectFromCache6 msPassed
testRemoveObjectNotRegistered6 msPassed
testRollback7 msPassed
testRollbackInactive6 msPassed
testSwitchQueryProcessingOntology6 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing7 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit9 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit9 msPassed
unregisterObjectRemovesItFromCloneBuilderCache7 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed