Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded22 msPassed
changesToRemovedObjectAreIgnoredOnCommit24 msPassed
clearCleansUpPersistenceContext56 msPassed
clearResetsCloneBuilder22 msPassed
commitDetachesPersistedInstance23 msPassed
commitEvictsInferredClassesFromCache23 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction24 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances22 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne23 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject22 msPassed
getManagedOriginalForDifferentContextReturnsNull21 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull21 msPassed
getManagedOriginalReturnsManagedOriginalInstance22 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects21 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType24 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction27 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance21 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject21 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.12 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject21 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute51 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance23 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject21 msPassed
isLoadedReturnsUnknownForUnregisteredObject20 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded23 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull23 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded22 msPassed
loadFieldLoadsLiteralValueAttribute22 msPassed
loadFieldLoadsManagedTypeAttribute24 msPassed
readAlreadyManagedObjectReturnsTheManagedOne21 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState22 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet23 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges24 msPassed
refreshOverwritesChangesSentToRepository23 msPassed
refreshOverwritesObjectPropertyChanges57 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance23 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity22 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance26 msPassed
refreshThrowsIllegalArgumentForRemovedInstance21 msPassed
registerExistingObjectInvokesPostCloneListeners21 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder53 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated21 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions22 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities22 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository21 msPassed
restoreDeletedRegistersObjectAgain21 msPassed
restoreDeletedReinsertsObjectIntoRepository24 msPassed
rollbackDetachesAllManagedEntities23 msPassed
testAttributeChanged22 msPassed
testAttributeChangedNotRegistered21 msPassed
testAttributeChangedOutsideTransaction22 msPassed
testCalculateDeletedObjects51 msPassed
testCalculateModificationsDataProperty22 msPassed
testCalculateModificationsObjectProperty27 msPassed
testCalculateNewObjects24 msPassed
testClearCacheAfterCommit22 msPassed
testCommitFailed20 msPassed
testCommitInactive46 msPassed
testContains28 msPassed
testGetContexts21 msPassed
testGetOriginal21 msPassed
testGetOriginalNull20 msPassed
testGetState23 msPassed
testGetStateWithDescriptor21 msPassed
testIsConsistent20 msPassed
testIsObjectManaged21 msPassed
testIsObjectManagerNull20 msPassed
testIsObjectNew21 msPassed
testIsObjectNewWithNullAndManaged21 msPassed
testLoadFieldValueNotRegistered21 msPassed
testReadObjectFromOntology21 msPassed
testReadObjectJustPersisted20 msPassed
testReadObjectNullClass21 msPassed
testReadObjectNullContext20 msPassed
testReadObjectNullPrimaryKey22 msPassed
testRegisterExistingObject21 msPassed
testRegisterExistingObjectTwice21 msPassed
testRegisterNewObject20 msPassed
testRegisterNewObjectNull50 msPassed
testRegisterNewObjectNullDescriptor21 msPassed
testReleaseUnitOfWork20 msPassed
testRemoveNewObject20 msPassed
testRemoveObjectFromCache18 msPassed
testRemoveObjectNotRegistered20 msPassed
testRollback22 msPassed
testRollbackInactive20 msPassed
testSwitchQueryProcessingOntology22 msPassed
testUnregisterObject20 msPassed
testUseTransactionalOntologyForQueryProcessing22 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit25 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit26 msPassed
unregisterObjectRemovesItFromCloneBuilderCache21 msPassed
unwrapReturnsItselfWhenClassMatches20 msPassed