Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded7 msPassed
clearCleansUpPersistenceContext19 msPassed
clearResetsCloneBuilder14 msPassed
commitDetachesPersistedInstance7 msPassed
commitEvictsInferredClassesFromCache9 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction16 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances15 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne9 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject10 msPassed
getManagedOriginalForDifferentContextReturnsNull13 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull6 msPassed
getManagedOriginalReturnsManagedOriginalInstance14 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction11 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance7 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject15 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute17 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject14 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute16 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance7 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject14 msPassed
isLoadedReturnsUnknownForUnregisteredObject12 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded11 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull16 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded14 msPassed
loadFieldLoadsLiteralValueAttribute9 msPassed
loadFieldLoadsManagedTypeAttribute16 msPassed
readAlreadyManagedObjectReturnsTheManagedOne7 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState18 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet16 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges14 msPassed
refreshOverwritesChangesSentToRepository7 msPassed
refreshOverwritesObjectPropertyChanges21 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance16 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity14 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance7 msPassed
refreshThrowsIllegalArgumentForRemovedInstance13 msPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder16 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated16 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions13 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities13 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository13 msPassed
restoreDeletedRegistersObjectAgain7 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities15 msPassed
testAttributeChanged7 msPassed
testAttributeChangedNotRegistered13 msPassed
testAttributeChangedOutsideTransaction14 msPassed
testCalculateDeletedObjects17 msPassed
testCalculateModificationsDataProperty7 msPassed
testCalculateModificationsObjectProperty8 msPassed
testCalculateNewObjects10 msPassed
testClearCacheAfterCommit14 msPassed
testCommitFailed0.1 secPassed
testCommitInactive16 msPassed
testContains7 msPassed
testGetContexts7 msPassed
testGetOriginal14 msPassed
testGetOriginalNull12 msPassed
testGetState15 msPassed
testGetStateWithDescriptor13 msPassed
testIsConsistent13 msPassed
testIsObjectManaged12 msPassed
testIsObjectManagerNull12 msPassed
testIsObjectNew13 msPassed
testIsObjectNewWithNullAndManaged13 msPassed
testLoadFieldValueNotRegistered14 msPassed
testReadObjectFromOntology14 msPassed
testReadObjectJustPersisted7 msPassed
testReadObjectNullClass5 msPassed
testReadObjectNullContext7 msPassed
testReadObjectNullPrimaryKey13 msPassed
testRegisterExistingObject12 msPassed
testRegisterExistingObjectTwice7 msPassed
testRegisterNewObject13 msPassed
testRegisterNewObjectNull12 msPassed
testRegisterNewObjectNullDescriptor7 msPassed
testReleaseUnitOfWork12 msPassed
testRemoveNewObject7 msPassed
testRemoveObjectFromCache13 msPassed
testRemoveObjectNotRegistered12 msPassed
testRollback7 msPassed
testRollbackInactive12 msPassed
testSwitchQueryProcessingOntology12 msPassed
testUnregisterObject7 msPassed
testUseTransactionalOntologyForQueryProcessing14 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit12 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit17 msPassed
unregisterObjectRemovesItFromCloneBuilderCache13 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed