Skip to content

Test Result : UnitOfWorkTest

0 failures (-95)
95 tests (±0)
Took 3.5 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded46 msFixed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue48 msFixed
changesToRemovedObjectAreIgnoredOnCommit46 msFixed
clearCleansUpPersistenceContext31 msFixed
clearResetsCloneBuilder26 msFixed
commitDetachesPersistedInstance22 msFixed
commitEvictsInferredClassesFromCache49 msFixed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction27 msFixed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances28 msFixed
detachReplacesInheritedIndirectCollectionWithRegularOne24 msFixed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject28 msFixed
getManagedOriginalForDifferentContextReturnsNull48 msFixed
getManagedOriginalForUnknownIdentifierReturnsNull46 msFixed
getManagedOriginalReturnsManagedOriginalInstance26 msFixed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects68 msFixed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType44 msFixed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction26 msFixed
isInferredChecksForValueInferredStatusWithConnectionWrapper27 msFixed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged43 msFixed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance66 msFixed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject26 msFixed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute95 msFixed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject27 msFixed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute28 msFixed
isLoadedReturnsLoadedForNewlyRegisteredInstance44 msFixed
isLoadedReturnsLoadedForRegisteredExistingObject29 msFixed
isLoadedReturnsUnknownForUnregisteredObject23 msFixed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded28 msFixed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull31 msFixed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded25 msFixed
loadFieldLoadsLiteralValueAttribute50 msFixed
loadFieldLoadsManagedTypeAttribute25 msFixed
persistSkipsCardinalityConstraintValidationOfInferredAttributes24 msFixed
readAlreadyManagedObjectReturnsTheManagedOne24 msFixed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState32 msFixed
refreshCancelsObjectChangesInUnitOfWorkChangeSet29 msFixed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges27 msFixed
refreshOverwritesChangesSentToRepository29 msFixed
refreshOverwritesObjectPropertyChanges38 msFixed
refreshSetsUpdatesCloneMappingForRefreshedInstance55 msFixed
refreshThrowsEntityNotFoundForNonExistentEntity82 msFixed
refreshThrowsIllegalArgumentForNonManagedInstance96 msFixed
refreshThrowsIllegalArgumentForRemovedInstance26 msFixed
registerExistingObjectInvokesPostCloneListeners28 msFixed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.22 secFixed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated28 msFixed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions26 msFixed
releaseRemovesIndirectCollectionsFromManagedEntities25 msFixed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository26 msFixed
restoreDeletedRegistersObjectAgain26 msFixed
restoreDeletedReinsertsObjectIntoRepository22 msFixed
rollbackDetachesAllManagedEntities29 msFixed
testAttributeChanged67 msFixed
testAttributeChangedNotRegistered0.12 secFixed
testAttributeChangedOutsideTransaction26 msFixed
testCalculateDeletedObjects28 msFixed
testCalculateModificationsDataProperty45 msFixed
testCalculateModificationsObjectProperty49 msFixed
testCalculateNewObjects55 msFixed
testClearCacheAfterCommit27 msFixed
testCommitFailed49 msFixed
testCommitInactive28 msFixed
testContains60 msFixed
testGetContexts43 msFixed
testGetOriginal28 msFixed
testGetOriginalNull24 msFixed
testGetState28 msFixed
testGetStateWithDescriptor26 msFixed
testIsConsistent25 msFixed
testIsObjectManaged25 msFixed
testIsObjectManagerNull23 msFixed
testIsObjectNew26 msFixed
testIsObjectNewWithNullAndManaged25 msFixed
testLoadFieldValueNotRegistered26 msFixed
testReadObjectFromOntology26 msFixed
testReadObjectJustPersisted21 msFixed
testReadObjectNullClass26 msFixed
testReadObjectNullContext47 msFixed
testReadObjectNullPrimaryKey26 msFixed
testRegisterExistingObject48 msFixed
testRegisterExistingObjectTwice25 msFixed
testRegisterNewObject55 msFixed
testRegisterNewObjectNull40 msFixed
testRegisterNewObjectNullDescriptor26 msFixed
testReleaseUnitOfWork21 msFixed
testRemoveNewObject24 msFixed
testRemoveObjectFromCache25 msFixed
testRemoveObjectNotRegistered21 msFixed
testRollback49 msFixed
testRollbackInactive22 msFixed
testUnregisterObject26 msFixed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit32 msFixed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit30 msFixed
unregisterObjectRemovesItFromCloneBuilderCache27 msFixed
unwrapReturnsItselfWhenClassMatches22 msFixed