Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
93 tests (±0)
Took 1.7 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded18 msPassed
changesToRemovedObjectAreIgnoredOnCommit19 msPassed
clearCleansUpPersistenceContext20 msPassed
clearResetsCloneBuilder17 msPassed
commitDetachesPersistedInstance25 msPassed
commitEvictsInferredClassesFromCache19 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction19 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances19 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne27 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject21 msPassed
getManagedOriginalForDifferentContextReturnsNull18 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull17 msPassed
getManagedOriginalReturnsManagedOriginalInstance19 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects18 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType17 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction36 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance17 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject17 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute18 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject17 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute17 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance17 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject17 msPassed
isLoadedReturnsUnknownForUnregisteredObject17 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded26 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull17 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded17 msPassed
loadFieldLoadsLiteralValueAttribute19 msPassed
loadFieldLoadsManagedTypeAttribute20 msPassed
readAlreadyManagedObjectReturnsTheManagedOne19 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState19 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet19 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges19 msPassed
refreshOverwritesChangesSentToRepository19 msPassed
refreshOverwritesObjectPropertyChanges20 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance19 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity20 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance17 msPassed
refreshThrowsIllegalArgumentForRemovedInstance20 msPassed
registerExistingObjectInvokesPostCloneListeners18 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder18 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated17 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions19 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities21 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository19 msPassed
restoreDeletedRegistersObjectAgain28 msPassed
restoreDeletedReinsertsObjectIntoRepository29 msPassed
rollbackDetachesAllManagedEntities18 msPassed
testAttributeChanged18 msPassed
testAttributeChangedNotRegistered17 msPassed
testAttributeChangedOutsideTransaction17 msPassed
testCalculateDeletedObjects18 msPassed
testCalculateModificationsDataProperty18 msPassed
testCalculateModificationsObjectProperty20 msPassed
testCalculateNewObjects20 msPassed
testClearCacheAfterCommit23 msPassed
testCommitFailed18 msPassed
testCommitInactive18 msPassed
testContains17 msPassed
testGetContexts16 msPassed
testGetOriginal18 msPassed
testGetOriginalNull17 msPassed
testGetState18 msPassed
testGetStateWithDescriptor17 msPassed
testIsConsistent17 msPassed
testIsObjectManaged18 msPassed
testIsObjectManagerNull18 msPassed
testIsObjectNew17 msPassed
testIsObjectNewWithNullAndManaged17 msPassed
testLoadFieldValueNotRegistered17 msPassed
testReadObjectFromOntology17 msPassed
testReadObjectJustPersisted17 msPassed
testReadObjectNullClass28 msPassed
testReadObjectNullContext17 msPassed
testReadObjectNullPrimaryKey40 msPassed
testRegisterExistingObject18 msPassed
testRegisterExistingObjectTwice17 msPassed
testRegisterNewObject18 msPassed
testRegisterNewObjectNull18 msPassed
testRegisterNewObjectNullDescriptor17 msPassed
testReleaseUnitOfWork17 msPassed
testRemoveNewObject17 msPassed
testRemoveObjectFromCache16 msPassed
testRemoveObjectNotRegistered17 msPassed
testRollback17 msPassed
testRollbackInactive18 msPassed
testSwitchQueryProcessingOntology17 msPassed
testUnregisterObject19 msPassed
testUseTransactionalOntologyForQueryProcessing17 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit22 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit21 msPassed
unregisterObjectRemovesItFromCloneBuilderCache18 msPassed
unwrapReturnsItselfWhenClassMatches17 msPassed