Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
93 tests (+2)
Took 1.1 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded9 msPassed
changesToRemovedObjectAreIgnoredOnCommit7 msPassed
clearCleansUpPersistenceContext8 msPassed
clearResetsCloneBuilder14 msPassed
commitDetachesPersistedInstance7 msPassed
commitEvictsInferredClassesFromCache10 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction15 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances14 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject7 msPassed
getManagedOriginalForDifferentContextReturnsNull14 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull13 msPassed
getManagedOriginalReturnsManagedOriginalInstance14 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects6 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType6 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction10 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance13 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject14 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute7 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject7 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute7 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance6 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject14 msPassed
isLoadedReturnsUnknownForUnregisteredObject13 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded7 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull6 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded14 msPassed
loadFieldLoadsLiteralValueAttribute14 msPassed
loadFieldLoadsManagedTypeAttribute17 msPassed
readAlreadyManagedObjectReturnsTheManagedOne7 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState7 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet9 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges20 msPassed
refreshOverwritesChangesSentToRepository8 msPassed
refreshOverwritesObjectPropertyChanges9 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance15 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity15 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.12 secPassed
refreshThrowsIllegalArgumentForRemovedInstance14 msPassed
registerExistingObjectInvokesPostCloneListeners6 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder6 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated7 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions15 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities14 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository14 msPassed
restoreDeletedRegistersObjectAgain6 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities15 msPassed
testAttributeChanged14 msPassed
testAttributeChangedNotRegistered14 msPassed
testAttributeChangedOutsideTransaction6 msPassed
testCalculateDeletedObjects6 msPassed
testCalculateModificationsDataProperty6 msPassed
testCalculateModificationsObjectProperty8 msPassed
testCalculateNewObjects10 msPassed
testClearCacheAfterCommit14 msPassed
testCommitFailed13 msPassed
testCommitInactive6 msPassed
testContains13 msPassed
testGetContexts6 msPassed
testGetOriginal14 msPassed
testGetOriginalNull13 msPassed
testGetState8 msPassed
testGetStateWithDescriptor15 msPassed
testIsConsistent14 msPassed
testIsObjectManaged14 msPassed
testIsObjectManagerNull14 msPassed
testIsObjectNew13 msPassed
testIsObjectNewWithNullAndManaged14 msPassed
testLoadFieldValueNotRegistered15 msPassed
testReadObjectFromOntology14 msPassed
testReadObjectJustPersisted7 msPassed
testReadObjectNullClass7 msPassed
testReadObjectNullContext13 msPassed
testReadObjectNullPrimaryKey14 msPassed
testRegisterExistingObject13 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject14 msPassed
testRegisterNewObjectNull6 msPassed
testRegisterNewObjectNullDescriptor7 msPassed
testReleaseUnitOfWork13 msPassed
testRemoveNewObject6 msPassed
testRemoveObjectFromCache13 msPassed
testRemoveObjectNotRegistered14 msPassed
testRollback6 msPassed
testRollbackInactive13 msPassed
testSwitchQueryProcessingOntology13 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing6 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit9 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit24 msPassed
unregisterObjectRemovesItFromCloneBuilderCache14 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed