Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded6 msPassed
changesToRemovedObjectAreIgnoredOnCommit7 msPassed
clearCleansUpPersistenceContext15 msPassed
clearResetsCloneBuilder14 msPassed
commitDetachesPersistedInstance6 msPassed
commitEvictsInferredClassesFromCache8 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction15 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances15 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject8 msPassed
getManagedOriginalForDifferentContextReturnsNull7 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull5 msPassed
getManagedOriginalReturnsManagedOriginalInstance14 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction10 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance6 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject14 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute14 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject12 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute12 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance6 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject14 msPassed
isLoadedReturnsUnknownForUnregisteredObject6 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded7 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull14 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded14 msPassed
loadFieldLoadsLiteralValueAttribute8 msPassed
loadFieldLoadsManagedTypeAttribute9 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState15 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet24 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges15 msPassed
refreshOverwritesChangesSentToRepository8 msPassed
refreshOverwritesObjectPropertyChanges16 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance16 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity9 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance7 msPassed
refreshThrowsIllegalArgumentForRemovedInstance14 msPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder14 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated14 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions14 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities14 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository12 msPassed
restoreDeletedRegistersObjectAgain7 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities16 msPassed
testAttributeChanged6 msPassed
testAttributeChangedNotRegistered14 msPassed
testAttributeChangedOutsideTransaction14 msPassed
testCalculateDeletedObjects15 msPassed
testCalculateModificationsDataProperty6 msPassed
testCalculateModificationsObjectProperty8 msPassed
testCalculateNewObjects8 msPassed
testClearCacheAfterCommit15 msPassed
testCommitFailed7 msPassed
testCommitInactive12 msPassed
testContains6 msPassed
testGetContexts5 msPassed
testGetOriginal14 msPassed
testGetOriginalNull13 msPassed
testGetState15 msPassed
testGetStateWithDescriptor0.1 secPassed
testIsConsistent14 msPassed
testIsObjectManaged13 msPassed
testIsObjectManagerNull6 msPassed
testIsObjectNew13 msPassed
testIsObjectNewWithNullAndManaged13 msPassed
testLoadFieldValueNotRegistered14 msPassed
testReadObjectFromOntology13 msPassed
testReadObjectJustPersisted5 msPassed
testReadObjectNullClass6 msPassed
testReadObjectNullContext5 msPassed
testReadObjectNullPrimaryKey13 msPassed
testRegisterExistingObject6 msPassed
testRegisterExistingObjectTwice8 msPassed
testRegisterNewObject14 msPassed
testRegisterNewObjectNull11 msPassed
testRegisterNewObjectNullDescriptor6 msPassed
testReleaseUnitOfWork6 msPassed
testRemoveNewObject5 msPassed
testRemoveObjectFromCache13 msPassed
testRemoveObjectNotRegistered6 msPassed
testRollback6 msPassed
testRollbackInactive7 msPassed
testSwitchQueryProcessingOntology13 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing13 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit11 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit18 msPassed
unregisterObjectRemovesItFromCloneBuilderCache8 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed