Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded22 msPassed
changesToRemovedObjectAreIgnoredOnCommit25 msPassed
clearCleansUpPersistenceContext23 msPassed
clearResetsCloneBuilder46 msPassed
commitDetachesPersistedInstance21 msPassed
commitEvictsInferredClassesFromCache22 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction51 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances48 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne22 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject22 msPassed
getManagedOriginalForDifferentContextReturnsNull21 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull20 msPassed
getManagedOriginalReturnsManagedOriginalInstance46 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects21 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType22 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction26 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance22 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject45 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute21 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject20 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute23 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance24 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject40 msPassed
isLoadedReturnsUnknownForUnregisteredObject20 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded21 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull20 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded47 msPassed
loadFieldLoadsLiteralValueAttribute23 msPassed
loadFieldLoadsManagedTypeAttribute24 msPassed
readAlreadyManagedObjectReturnsTheManagedOne21 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState22 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet22 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges50 msPassed
refreshOverwritesChangesSentToRepository22 msPassed
refreshOverwritesObjectPropertyChanges24 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance49 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity23 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance20 msPassed
refreshThrowsIllegalArgumentForRemovedInstance22 msPassed
registerExistingObjectInvokesPostCloneListeners20 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder21 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated21 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions0.1 secPassed
releaseRemovesIndirectCollectionsFromManagedEntities22 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository25 msPassed
restoreDeletedRegistersObjectAgain20 msPassed
restoreDeletedReinsertsObjectIntoRepository21 msPassed
rollbackDetachesAllManagedEntities44 msPassed
testAttributeChanged21 msPassed
testAttributeChangedNotRegistered44 msPassed
testAttributeChangedOutsideTransaction20 msPassed
testCalculateDeletedObjects22 msPassed
testCalculateModificationsDataProperty23 msPassed
testCalculateModificationsObjectProperty26 msPassed
testCalculateNewObjects24 msPassed
testClearCacheAfterCommit23 msPassed
testCommitFailed21 msPassed
testCommitInactive21 msPassed
testContains20 msPassed
testGetContexts23 msPassed
testGetOriginal43 msPassed
testGetOriginalNull45 msPassed
testGetState21 msPassed
testGetStateWithDescriptor21 msPassed
testIsConsistent38 msPassed
testIsObjectManaged26 msPassed
testIsObjectManagerNull20 msPassed
testIsObjectNew43 msPassed
testIsObjectNewWithNullAndManaged44 msPassed
testLoadFieldValueNotRegistered46 msPassed
testReadObjectFromOntology49 msPassed
testReadObjectJustPersisted20 msPassed
testReadObjectNullClass20 msPassed
testReadObjectNullContext21 msPassed
testReadObjectNullPrimaryKey44 msPassed
testRegisterExistingObject20 msPassed
testRegisterExistingObjectTwice20 msPassed
testRegisterNewObject45 msPassed
testRegisterNewObjectNull21 msPassed
testRegisterNewObjectNullDescriptor20 msPassed
testReleaseUnitOfWork21 msPassed
testRemoveNewObject20 msPassed
testRemoveObjectFromCache43 msPassed
testRemoveObjectNotRegistered20 msPassed
testRollback23 msPassed
testRollbackInactive20 msPassed
testSwitchQueryProcessingOntology45 msPassed
testUnregisterObject21 msPassed
testUseTransactionalOntologyForQueryProcessing22 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit24 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit56 msPassed
unregisterObjectRemovesItFromCloneBuilderCache21 msPassed
unwrapReturnsItselfWhenClassMatches20 msPassed