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
commitDetachesPersistedInstance8 msPassed
commitEvictsInferredClassesFromCache8 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction15 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances17 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne8 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject8 msPassed
getManagedOriginalForDifferentContextReturnsNull7 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull6 msPassed
getManagedOriginalReturnsManagedOriginalInstance16 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction10 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance6 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject14 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute19 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject13 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute18 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance7 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject15 msPassed
isLoadedReturnsUnknownForUnregisteredObject6 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded8 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull17 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded17 msPassed
loadFieldLoadsLiteralValueAttribute9 msPassed
loadFieldLoadsManagedTypeAttribute10 msPassed
readAlreadyManagedObjectReturnsTheManagedOne7 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState15 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet20 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges14 msPassed
refreshOverwritesChangesSentToRepository9 msPassed
refreshOverwritesObjectPropertyChanges20 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance17 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity9 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance6 msPassed
refreshThrowsIllegalArgumentForRemovedInstance17 msPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder16 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated17 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions14 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities13 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository12 msPassed
restoreDeletedRegistersObjectAgain8 msPassed
restoreDeletedReinsertsObjectIntoRepository7 msPassed
rollbackDetachesAllManagedEntities17 msPassed
testAttributeChanged7 msPassed
testAttributeChangedNotRegistered16 msPassed
testAttributeChangedOutsideTransaction14 msPassed
testCalculateDeletedObjects19 msPassed
testCalculateModificationsDataProperty7 msPassed
testCalculateModificationsObjectProperty8 msPassed
testCalculateNewObjects10 msPassed
testClearCacheAfterCommit15 msPassed
testCommitFailed7 msPassed
testCommitInactive17 msPassed
testContains7 msPassed
testGetContexts7 msPassed
testGetOriginal14 msPassed
testGetOriginalNull12 msPassed
testGetState16 msPassed
testGetStateWithDescriptor0.12 secPassed
testIsConsistent14 msPassed
testIsObjectManaged12 msPassed
testIsObjectManagerNull7 msPassed
testIsObjectNew15 msPassed
testIsObjectNewWithNullAndManaged13 msPassed
testLoadFieldValueNotRegistered14 msPassed
testReadObjectFromOntology14 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass7 msPassed
testReadObjectNullContext7 msPassed
testReadObjectNullPrimaryKey14 msPassed
testRegisterExistingObject7 msPassed
testRegisterExistingObjectTwice7 msPassed
testRegisterNewObject16 msPassed
testRegisterNewObjectNull17 msPassed
testRegisterNewObjectNullDescriptor6 msPassed
testReleaseUnitOfWork7 msPassed
testRemoveNewObject6 msPassed
testRemoveObjectFromCache14 msPassed
testRemoveObjectNotRegistered7 msPassed
testRollback7 msPassed
testRollbackInactive7 msPassed
testSwitchQueryProcessingOntology12 msPassed
testUnregisterObject7 msPassed
testUseTransactionalOntologyForQueryProcessing19 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit10 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit19 msPassed
unregisterObjectRemovesItFromCloneBuilderCache9 msPassed
unwrapReturnsItselfWhenClassMatches7 msPassed