Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
95 tests (±0)
Took 2.6 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded23 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue24 msPassed
changesToRemovedObjectAreIgnoredOnCommit22 msPassed
clearCleansUpPersistenceContext24 msPassed
clearResetsCloneBuilder21 msPassed
commitDetachesPersistedInstance22 msPassed
commitEvictsInferredClassesFromCache22 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction22 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances23 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne22 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject22 msPassed
getManagedOriginalForDifferentContextReturnsNull44 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull21 msPassed
getManagedOriginalReturnsManagedOriginalInstance21 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects22 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType22 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction25 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper22 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged22 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance21 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject21 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.11 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject21 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute23 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance21 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject22 msPassed
isLoadedReturnsUnknownForUnregisteredObject52 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded23 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull24 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded21 msPassed
loadFieldLoadsLiteralValueAttribute24 msPassed
loadFieldLoadsManagedTypeAttribute49 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes56 msPassed
readAlreadyManagedObjectReturnsTheManagedOne21 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState26 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet23 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges22 msPassed
refreshOverwritesChangesSentToRepository22 msPassed
refreshOverwritesObjectPropertyChanges25 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance32 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity49 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance22 msPassed
refreshThrowsIllegalArgumentForRemovedInstance22 msPassed
registerExistingObjectInvokesPostCloneListeners21 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.18 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated23 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions21 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities22 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository21 msPassed
restoreDeletedRegistersObjectAgain21 msPassed
restoreDeletedReinsertsObjectIntoRepository22 msPassed
rollbackDetachesAllManagedEntities24 msPassed
testAttributeChanged23 msPassed
testAttributeChangedNotRegistered22 msPassed
testAttributeChangedOutsideTransaction22 msPassed
testCalculateDeletedObjects23 msPassed
testCalculateModificationsDataProperty23 msPassed
testCalculateModificationsObjectProperty25 msPassed
testCalculateNewObjects24 msPassed
testClearCacheAfterCommit23 msPassed
testCommitFailed0.15 secPassed
testCommitInactive21 msPassed
testContains23 msPassed
testGetContexts22 msPassed
testGetOriginal22 msPassed
testGetOriginalNull20 msPassed
testGetState22 msPassed
testGetStateWithDescriptor21 msPassed
testIsConsistent22 msPassed
testIsObjectManaged22 msPassed
testIsObjectManagerNull51 msPassed
testIsObjectNew21 msPassed
testIsObjectNewWithNullAndManaged21 msPassed
testLoadFieldValueNotRegistered21 msPassed
testReadObjectFromOntology22 msPassed
testReadObjectJustPersisted21 msPassed
testReadObjectNullClass21 msPassed
testReadObjectNullContext21 msPassed
testReadObjectNullPrimaryKey21 msPassed
testRegisterExistingObject22 msPassed
testRegisterExistingObjectTwice21 msPassed
testRegisterNewObject21 msPassed
testRegisterNewObjectNull18 msPassed
testRegisterNewObjectNullDescriptor20 msPassed
testReleaseUnitOfWork49 msPassed
testRemoveNewObject21 msPassed
testRemoveObjectFromCache21 msPassed
testRemoveObjectNotRegistered20 msPassed
testRollback24 msPassed
testRollbackInactive21 msPassed
testUnregisterObject20 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit27 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit25 msPassed
unregisterObjectRemovesItFromCloneBuilderCache22 msPassed
unwrapReturnsItselfWhenClassMatches21 msPassed