Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded20 msPassed
changesToRemovedObjectAreIgnoredOnCommit20 msPassed
clearCleansUpPersistenceContext21 msPassed
clearResetsCloneBuilder20 msPassed
commitDetachesPersistedInstance20 msPassed
commitEvictsInferredClassesFromCache20 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction44 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances20 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne21 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject21 msPassed
getManagedOriginalForDifferentContextReturnsNull19 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull18 msPassed
getManagedOriginalReturnsManagedOriginalInstance19 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects19 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType21 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction24 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance19 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject20 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute21 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject22 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute20 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance18 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject19 msPassed
isLoadedReturnsUnknownForUnregisteredObject20 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded21 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull21 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded19 msPassed
loadFieldLoadsLiteralValueAttribute20 msPassed
loadFieldLoadsManagedTypeAttribute22 msPassed
readAlreadyManagedObjectReturnsTheManagedOne19 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState21 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet22 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges44 msPassed
refreshOverwritesChangesSentToRepository20 msPassed
refreshOverwritesObjectPropertyChanges23 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance28 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity21 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance18 msPassed
refreshThrowsIllegalArgumentForRemovedInstance20 msPassed
registerExistingObjectInvokesPostCloneListeners19 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder20 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated20 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions19 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities20 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository20 msPassed
restoreDeletedRegistersObjectAgain19 msPassed
restoreDeletedReinsertsObjectIntoRepository20 msPassed
rollbackDetachesAllManagedEntities20 msPassed
testAttributeChanged19 msPassed
testAttributeChangedNotRegistered19 msPassed
testAttributeChangedOutsideTransaction18 msPassed
testCalculateDeletedObjects20 msPassed
testCalculateModificationsDataProperty19 msPassed
testCalculateModificationsObjectProperty21 msPassed
testCalculateNewObjects22 msPassed
testClearCacheAfterCommit20 msPassed
testCommitFailed19 msPassed
testCommitInactive20 msPassed
testContains20 msPassed
testGetContexts18 msPassed
testGetOriginal20 msPassed
testGetOriginalNull18 msPassed
testGetState20 msPassed
testGetStateWithDescriptor19 msPassed
testIsConsistent19 msPassed
testIsObjectManaged19 msPassed
testIsObjectManagerNull20 msPassed
testIsObjectNew18 msPassed
testIsObjectNewWithNullAndManaged40 msPassed
testLoadFieldValueNotRegistered18 msPassed
testReadObjectFromOntology29 msPassed
testReadObjectJustPersisted19 msPassed
testReadObjectNullClass19 msPassed
testReadObjectNullContext18 msPassed
testReadObjectNullPrimaryKey19 msPassed
testRegisterExistingObject19 msPassed
testRegisterExistingObjectTwice19 msPassed
testRegisterNewObject19 msPassed
testRegisterNewObjectNull17 msPassed
testRegisterNewObjectNullDescriptor19 msPassed
testReleaseUnitOfWork20 msPassed
testRemoveNewObject19 msPassed
testRemoveObjectFromCache19 msPassed
testRemoveObjectNotRegistered19 msPassed
testRollback20 msPassed
testRollbackInactive19 msPassed
testSwitchQueryProcessingOntology40 msPassed
testUnregisterObject19 msPassed
testUseTransactionalOntologyForQueryProcessing18 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit24 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit48 msPassed
unregisterObjectRemovesItFromCloneBuilderCache20 msPassed
unwrapReturnsItselfWhenClassMatches18 msPassed