Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
91 tests (+1)
Took 1.1 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded7 msPassed
changesToRemovedObjectAreIgnoredOnCommit8 msPassed
clearCleansUpPersistenceContext14 msPassed
clearResetsCloneBuilder13 msPassed
commitDetachesPersistedInstance8 msPassed
commitEvictsInferredClassesFromCache9 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction14 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances14 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne8 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject9 msPassed
getManagedOriginalForDifferentContextReturnsNull13 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull11 msPassed
getManagedOriginalReturnsManagedOriginalInstance13 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction11 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.1 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject13 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute14 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject12 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute10 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance7 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject13 msPassed
isLoadedReturnsUnknownForUnregisteredObject12 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded8 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull13 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded13 msPassed
loadFieldLoadsLiteralValueAttribute14 msPassed
loadFieldLoadsManagedTypeAttribute15 msPassed
readAlreadyManagedObjectReturnsTheManagedOne7 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState14 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet15 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges14 msPassed
refreshOverwritesChangesSentToRepository8 msPassed
refreshOverwritesObjectPropertyChanges11 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance15 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity15 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance7 msPassed
refreshThrowsIllegalArgumentForRemovedInstance13 msPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder14 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated13 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions13 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities13 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository12 msPassed
restoreDeletedRegistersObjectAgain7 msPassed
restoreDeletedReinsertsObjectIntoRepository7 msPassed
rollbackDetachesAllManagedEntities14 msPassed
testAttributeChanged8 msPassed
testAttributeChangedNotRegistered13 msPassed
testAttributeChangedOutsideTransaction13 msPassed
testCalculateDeletedObjects15 msPassed
testCalculateModificationsDataProperty10 msPassed
testCalculateModificationsObjectProperty9 msPassed
testCalculateNewObjects9 msPassed
testClearCacheAfterCommit14 msPassed
testCommitFailed13 msPassed
testCommitInactive8 msPassed
testContains7 msPassed
testGetContexts7 msPassed
testGetOriginal12 msPassed
testGetOriginalNull12 msPassed
testGetState15 msPassed
testGetStateWithDescriptor15 msPassed
testIsConsistent14 msPassed
testIsObjectManaged12 msPassed
testIsObjectManagerNull12 msPassed
testIsObjectNew14 msPassed
testIsObjectNewWithNullAndManaged12 msPassed
testLoadFieldValueNotRegistered13 msPassed
testReadObjectFromOntology13 msPassed
testReadObjectJustPersisted7 msPassed
testReadObjectNullClass7 msPassed
testReadObjectNullContext12 msPassed
testReadObjectNullPrimaryKey13 msPassed
testRegisterExistingObject13 msPassed
testRegisterExistingObjectTwice7 msPassed
testRegisterNewObject12 msPassed
testRegisterNewObjectNull13 msPassed
testRegisterNewObjectNullDescriptor7 msPassed
testReleaseUnitOfWork12 msPassed
testRemoveNewObject7 msPassed
testRemoveObjectFromCache12 msPassed
testRemoveObjectNotRegistered12 msPassed
testRollback8 msPassed
testRollbackInactive12 msPassed
testSwitchQueryProcessingOntology12 msPassed
testUnregisterObject7 msPassed
testUseTransactionalOntologyForQueryProcessing12 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit10 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit17 msPassed
unregisterObjectRemovesItFromCloneBuilderCache12 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed