Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded6 msPassed
changesToRemovedObjectAreIgnoredOnCommit7 msPassed
clearCleansUpPersistenceContext7 msPassed
clearResetsCloneBuilder7 msPassed
commitDetachesPersistedInstance6 msPassed
commitEvictsInferredClassesFromCache7 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction7 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances7 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject7 msPassed
getManagedOriginalForDifferentContextReturnsNull6 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull5 msPassed
getManagedOriginalReturnsManagedOriginalInstance5 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects6 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType7 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction9 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance6 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject6 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute7 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject5 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute6 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance5 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject6 msPassed
isLoadedReturnsUnknownForUnregisteredObject6 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded7 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull6 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded6 msPassed
loadFieldLoadsLiteralValueAttribute7 msPassed
loadFieldLoadsManagedTypeAttribute7 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState7 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet7 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges7 msPassed
refreshOverwritesChangesSentToRepository7 msPassed
refreshOverwritesObjectPropertyChanges9 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance7 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity7 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance8 msPassed
refreshThrowsIllegalArgumentForRemovedInstance6 msPassed
registerExistingObjectInvokesPostCloneListeners6 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder7 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated7 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions6 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities6 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository6 msPassed
restoreDeletedRegistersObjectAgain6 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities6 msPassed
testAttributeChanged6 msPassed
testAttributeChangedNotRegistered7 msPassed
testAttributeChangedOutsideTransaction6 msPassed
testCalculateDeletedObjects6 msPassed
testCalculateModificationsDataProperty7 msPassed
testCalculateModificationsObjectProperty7 msPassed
testCalculateNewObjects8 msPassed
testClearCacheAfterCommit7 msPassed
testCommitFailed6 msPassed
testCommitInactive6 msPassed
testContains31 msPassed
testGetContexts6 msPassed
testGetOriginal6 msPassed
testGetOriginalNull6 msPassed
testGetState7 msPassed
testGetStateWithDescriptor6 msPassed
testIsConsistent6 msPassed
testIsObjectManaged6 msPassed
testIsObjectManagerNull6 msPassed
testIsObjectNew5 msPassed
testIsObjectNewWithNullAndManaged6 msPassed
testLoadFieldValueNotRegistered6 msPassed
testReadObjectFromOntology6 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass6 msPassed
testReadObjectNullContext6 msPassed
testReadObjectNullPrimaryKey6 msPassed
testRegisterExistingObject6 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject6 msPassed
testRegisterNewObjectNull7 msPassed
testRegisterNewObjectNullDescriptor5 msPassed
testReleaseUnitOfWork5 msPassed
testRemoveNewObject6 msPassed
testRemoveObjectFromCache5 msPassed
testRemoveObjectNotRegistered6 msPassed
testRollback6 msPassed
testRollbackInactive5 msPassed
testSwitchQueryProcessingOntology5 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing5 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit8 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit8 msPassed
unregisterObjectRemovesItFromCloneBuilderCache7 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed