Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
90 tests (±0)
Took 1.1 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded8 msPassed
clearCleansUpPersistenceContext9 msPassed
clearResetsCloneBuilder12 msPassed
commitDetachesPersistedInstance7 msPassed
commitEvictsInferredClassesFromCache8 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction14 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances13 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne8 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject8 msPassed
getManagedOriginalForDifferentContextReturnsNull15 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull11 msPassed
getManagedOriginalReturnsManagedOriginalInstance12 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction10 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance7 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject17 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute14 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject13 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute8 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance6 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject13 msPassed
isLoadedReturnsUnknownForUnregisteredObject13 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded8 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull7 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded12 msPassed
loadFieldLoadsLiteralValueAttribute0.12 secPassed
loadFieldLoadsManagedTypeAttribute17 msPassed
readAlreadyManagedObjectReturnsTheManagedOne7 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState8 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet15 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges13 msPassed
refreshOverwritesChangesSentToRepository8 msPassed
refreshOverwritesObjectPropertyChanges12 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance14 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity17 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance8 msPassed
refreshThrowsIllegalArgumentForRemovedInstance21 msPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder13 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated8 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions19 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities12 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository16 msPassed
restoreDeletedRegistersObjectAgain7 msPassed
restoreDeletedReinsertsObjectIntoRepository7 msPassed
rollbackDetachesAllManagedEntities14 msPassed
testAttributeChanged7 msPassed
testAttributeChangedNotRegistered12 msPassed
testAttributeChangedOutsideTransaction12 msPassed
testCalculateDeletedObjects13 msPassed
testCalculateModificationsDataProperty7 msPassed
testCalculateModificationsObjectProperty9 msPassed
testCalculateNewObjects10 msPassed
testClearCacheAfterCommit14 msPassed
testCommitFailed14 msPassed
testCommitInactive8 msPassed
testContains7 msPassed
testGetContexts7 msPassed
testGetOriginal13 msPassed
testGetOriginalNull18 msPassed
testGetState13 msPassed
testGetStateWithDescriptor12 msPassed
testIsConsistent12 msPassed
testIsObjectManaged20 msPassed
testIsObjectManagerNull13 msPassed
testIsObjectNew13 msPassed
testIsObjectNewWithNullAndManaged12 msPassed
testLoadFieldValueNotRegistered12 msPassed
testReadObjectFromOntology13 msPassed
testReadObjectJustPersisted7 msPassed
testReadObjectNullClass7 msPassed
testReadObjectNullContext6 msPassed
testReadObjectNullPrimaryKey13 msPassed
testRegisterExistingObject14 msPassed
testRegisterExistingObjectTwice7 msPassed
testRegisterNewObject12 msPassed
testRegisterNewObjectNull8 msPassed
testRegisterNewObjectNullDescriptor7 msPassed
testReleaseUnitOfWork13 msPassed
testRemoveNewObject6 msPassed
testRemoveObjectFromCache11 msPassed
testRemoveObjectNotRegistered13 msPassed
testRollback8 msPassed
testRollbackInactive14 msPassed
testSwitchQueryProcessingOntology12 msPassed
testUnregisterObject7 msPassed
testUseTransactionalOntologyForQueryProcessing12 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit11 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit17 msPassed
unregisterObjectRemovesItFromCloneBuilderCache13 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed