Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded7 msPassed
clearCleansUpPersistenceContext15 msPassed
clearResetsCloneBuilder13 msPassed
commitDetachesPersistedInstance7 msPassed
commitEvictsInferredClassesFromCache8 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction14 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances14 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne8 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject8 msPassed
getManagedOriginalForDifferentContextReturnsNull8 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull7 msPassed
getManagedOriginalReturnsManagedOriginalInstance12 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction10 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance7 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject13 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute13 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject12 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute14 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance7 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject21 msPassed
isLoadedReturnsUnknownForUnregisteredObject7 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded8 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull13 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded12 msPassed
loadFieldLoadsLiteralValueAttribute9 msPassed
loadFieldLoadsManagedTypeAttribute10 msPassed
readAlreadyManagedObjectReturnsTheManagedOne7 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState15 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet15 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges14 msPassed
refreshOverwritesChangesSentToRepository8 msPassed
refreshOverwritesObjectPropertyChanges19 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance16 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity9 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance6 msPassed
refreshThrowsIllegalArgumentForRemovedInstance0.1 secPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder13 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated13 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions13 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities7 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository13 msPassed
restoreDeletedRegistersObjectAgain7 msPassed
restoreDeletedReinsertsObjectIntoRepository7 msPassed
rollbackDetachesAllManagedEntities14 msPassed
testAttributeChanged7 msPassed
testAttributeChangedNotRegistered13 msPassed
testAttributeChangedOutsideTransaction13 msPassed
testCalculateDeletedObjects14 msPassed
testCalculateModificationsDataProperty7 msPassed
testCalculateModificationsObjectProperty9 msPassed
testCalculateNewObjects10 msPassed
testClearCacheAfterCommit8 msPassed
testCommitFailed8 msPassed
testCommitInactive13 msPassed
testContains7 msPassed
testGetContexts6 msPassed
testGetOriginal12 msPassed
testGetOriginalNull12 msPassed
testGetState14 msPassed
testGetStateWithDescriptor7 msPassed
testIsConsistent12 msPassed
testIsObjectManaged13 msPassed
testIsObjectManagerNull7 msPassed
testIsObjectNew12 msPassed
testIsObjectNewWithNullAndManaged13 msPassed
testLoadFieldValueNotRegistered13 msPassed
testReadObjectFromOntology12 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass7 msPassed
testReadObjectNullContext7 msPassed
testReadObjectNullPrimaryKey12 msPassed
testRegisterExistingObject8 msPassed
testRegisterExistingObjectTwice7 msPassed
testRegisterNewObject12 msPassed
testRegisterNewObjectNull13 msPassed
testRegisterNewObjectNullDescriptor6 msPassed
testReleaseUnitOfWork7 msPassed
testRemoveNewObject6 msPassed
testRemoveObjectFromCache12 msPassed
testRemoveObjectNotRegistered6 msPassed
testRollback7 msPassed
testRollbackInactive7 msPassed
testSwitchQueryProcessingOntology13 msPassed
testUnregisterObject7 msPassed
testUseTransactionalOntologyForQueryProcessing12 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit10 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit17 msPassed
unregisterObjectRemovesItFromCloneBuilderCache8 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed