Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded19 msPassed
changesToRemovedObjectAreIgnoredOnCommit20 msPassed
clearCleansUpPersistenceContext22 msPassed
clearResetsCloneBuilder20 msPassed
commitDetachesPersistedInstance20 msPassed
commitEvictsInferredClassesFromCache20 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction21 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances21 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne23 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject21 msPassed
getManagedOriginalForDifferentContextReturnsNull44 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull19 msPassed
getManagedOriginalReturnsManagedOriginalInstance20 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects19 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType20 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction24 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance20 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject19 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute20 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject19 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute20 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance20 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject20 msPassed
isLoadedReturnsUnknownForUnregisteredObject40 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded22 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull20 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded20 msPassed
loadFieldLoadsLiteralValueAttribute43 msPassed
loadFieldLoadsManagedTypeAttribute47 msPassed
readAlreadyManagedObjectReturnsTheManagedOne20 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState21 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet21 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges21 msPassed
refreshOverwritesChangesSentToRepository22 msPassed
refreshOverwritesObjectPropertyChanges23 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance21 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity48 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance19 msPassed
refreshThrowsIllegalArgumentForRemovedInstance20 msPassed
registerExistingObjectInvokesPostCloneListeners20 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder20 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated19 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions22 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities21 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository20 msPassed
restoreDeletedRegistersObjectAgain19 msPassed
restoreDeletedReinsertsObjectIntoRepository20 msPassed
rollbackDetachesAllManagedEntities21 msPassed
testAttributeChanged23 msPassed
testAttributeChangedNotRegistered22 msPassed
testAttributeChangedOutsideTransaction20 msPassed
testCalculateDeletedObjects22 msPassed
testCalculateModificationsDataProperty20 msPassed
testCalculateModificationsObjectProperty21 msPassed
testCalculateNewObjects23 msPassed
testClearCacheAfterCommit20 msPassed
testCommitFailed41 msPassed
testCommitInactive19 msPassed
testContains19 msPassed
testGetContexts18 msPassed
testGetOriginal22 msPassed
testGetOriginalNull19 msPassed
testGetState22 msPassed
testGetStateWithDescriptor34 msPassed
testIsConsistent21 msPassed
testIsObjectManaged19 msPassed
testIsObjectManagerNull41 msPassed
testIsObjectNew19 msPassed
testIsObjectNewWithNullAndManaged20 msPassed
testLoadFieldValueNotRegistered20 msPassed
testReadObjectFromOntology20 msPassed
testReadObjectJustPersisted19 msPassed
testReadObjectNullClass20 msPassed
testReadObjectNullContext20 msPassed
testReadObjectNullPrimaryKey19 msPassed
testRegisterExistingObject46 msPassed
testRegisterExistingObjectTwice20 msPassed
testRegisterNewObject22 msPassed
testRegisterNewObjectNull19 msPassed
testRegisterNewObjectNullDescriptor19 msPassed
testReleaseUnitOfWork41 msPassed
testRemoveNewObject20 msPassed
testRemoveObjectFromCache19 msPassed
testRemoveObjectNotRegistered41 msPassed
testRollback20 msPassed
testRollbackInactive41 msPassed
testSwitchQueryProcessingOntology19 msPassed
testUnregisterObject19 msPassed
testUseTransactionalOntologyForQueryProcessing20 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit24 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit23 msPassed
unregisterObjectRemovesItFromCloneBuilderCache42 msPassed
unwrapReturnsItselfWhenClassMatches19 msPassed