Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded7 msPassed
clearCleansUpPersistenceContext14 msPassed
clearResetsCloneBuilder13 msPassed
commitDetachesPersistedInstance7 msPassed
commitEvictsInferredClassesFromCache8 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction14 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances13 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne8 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject8 msPassed
getManagedOriginalForDifferentContextReturnsNull7 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull7 msPassed
getManagedOriginalReturnsManagedOriginalInstance12 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction11 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance7 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject12 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute13 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject12 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute12 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance6 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject12 msPassed
isLoadedReturnsUnknownForUnregisteredObject7 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded9 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull12 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded12 msPassed
loadFieldLoadsLiteralValueAttribute9 msPassed
loadFieldLoadsManagedTypeAttribute9 msPassed
readAlreadyManagedObjectReturnsTheManagedOne7 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState14 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet14 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges14 msPassed
refreshOverwritesChangesSentToRepository8 msPassed
refreshOverwritesObjectPropertyChanges16 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance15 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity9 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance7 msPassed
refreshThrowsIllegalArgumentForRemovedInstance17 msPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder14 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated12 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions12 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities7 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository98 msPassed
restoreDeletedRegistersObjectAgain7 msPassed
restoreDeletedReinsertsObjectIntoRepository7 msPassed
rollbackDetachesAllManagedEntities14 msPassed
testAttributeChanged7 msPassed
testAttributeChangedNotRegistered12 msPassed
testAttributeChangedOutsideTransaction12 msPassed
testCalculateDeletedObjects13 msPassed
testCalculateModificationsDataProperty8 msPassed
testCalculateModificationsObjectProperty9 msPassed
testCalculateNewObjects9 msPassed
testClearCacheAfterCommit8 msPassed
testCommitFailed8 msPassed
testCommitInactive12 msPassed
testContains7 msPassed
testGetContexts7 msPassed
testGetOriginal11 msPassed
testGetOriginalNull11 msPassed
testGetState13 msPassed
testGetStateWithDescriptor7 msPassed
testIsConsistent11 msPassed
testIsObjectManaged12 msPassed
testIsObjectManagerNull7 msPassed
testIsObjectNew14 msPassed
testIsObjectNewWithNullAndManaged12 msPassed
testLoadFieldValueNotRegistered12 msPassed
testReadObjectFromOntology12 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass7 msPassed
testReadObjectNullContext7 msPassed
testReadObjectNullPrimaryKey12 msPassed
testRegisterExistingObject7 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject12 msPassed
testRegisterNewObjectNull9 msPassed
testRegisterNewObjectNullDescriptor7 msPassed
testReleaseUnitOfWork7 msPassed
testRemoveNewObject6 msPassed
testRemoveObjectFromCache17 msPassed
testRemoveObjectNotRegistered7 msPassed
testRollback7 msPassed
testRollbackInactive7 msPassed
testSwitchQueryProcessingOntology12 msPassed
testUnregisterObject7 msPassed
testUseTransactionalOntologyForQueryProcessing14 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit11 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit17 msPassed
unregisterObjectRemovesItFromCloneBuilderCache7 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed