Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded7 msPassed
clearCleansUpPersistenceContext8 msPassed
clearResetsCloneBuilder7 msPassed
commitDetachesPersistedInstance7 msPassed
commitEvictsInferredClassesFromCache7 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction9 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances9 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject7 msPassed
getManagedOriginalForDifferentContextReturnsNull7 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull6 msPassed
getManagedOriginalReturnsManagedOriginalInstance8 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction10 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance6 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject16 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute8 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject6 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute8 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance6 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject8 msPassed
isLoadedReturnsUnknownForUnregisteredObject7 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded7 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull7 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded10 msPassed
loadFieldLoadsLiteralValueAttribute11 msPassed
loadFieldLoadsManagedTypeAttribute8 msPassed
readAlreadyManagedObjectReturnsTheManagedOne7 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState7 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet8 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges14 msPassed
refreshOverwritesChangesSentToRepository7 msPassed
refreshOverwritesObjectPropertyChanges10 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance15 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity10 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance11 msPassed
refreshThrowsIllegalArgumentForRemovedInstance13 msPassed
registerExistingObjectInvokesPostCloneListeners6 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder8 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated7 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions14 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities14 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository13 msPassed
restoreDeletedRegistersObjectAgain7 msPassed
restoreDeletedReinsertsObjectIntoRepository7 msPassed
rollbackDetachesAllManagedEntities8 msPassed
testAttributeChanged7 msPassed
testAttributeChangedNotRegistered7 msPassed
testAttributeChangedOutsideTransaction7 msPassed
testCalculateDeletedObjects8 msPassed
testCalculateModificationsDataProperty7 msPassed
testCalculateModificationsObjectProperty8 msPassed
testCalculateNewObjects10 msPassed
testClearCacheAfterCommit15 msPassed
testCommitFailed6 msPassed
testCommitInactive7 msPassed
testContains12 msPassed
testGetContexts6 msPassed
testGetOriginal6 msPassed
testGetOriginalNull21 msPassed
testGetState7 msPassed
testGetStateWithDescriptor0.1 secPassed
testIsConsistent6 msPassed
testIsObjectManaged13 msPassed
testIsObjectManagerNull6 msPassed
testIsObjectNew11 msPassed
testIsObjectNewWithNullAndManaged13 msPassed
testLoadFieldValueNotRegistered7 msPassed
testReadObjectFromOntology13 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass6 msPassed
testReadObjectNullContext6 msPassed
testReadObjectNullPrimaryKey13 msPassed
testRegisterExistingObject7 msPassed
testRegisterExistingObjectTwice7 msPassed
testRegisterNewObject7 msPassed
testRegisterNewObjectNull7 msPassed
testRegisterNewObjectNullDescriptor7 msPassed
testReleaseUnitOfWork6 msPassed
testRemoveNewObject6 msPassed
testRemoveObjectFromCache6 msPassed
testRemoveObjectNotRegistered7 msPassed
testRollback7 msPassed
testRollbackInactive6 msPassed
testSwitchQueryProcessingOntology13 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing6 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit10 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit21 msPassed
unregisterObjectRemovesItFromCloneBuilderCache8 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed