Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded18 msPassed
changesToRemovedObjectAreIgnoredOnCommit18 msPassed
clearCleansUpPersistenceContext21 msPassed
clearResetsCloneBuilder18 msPassed
commitDetachesPersistedInstance18 msPassed
commitEvictsInferredClassesFromCache19 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction19 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances19 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne18 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject19 msPassed
getManagedOriginalForDifferentContextReturnsNull18 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull18 msPassed
getManagedOriginalReturnsManagedOriginalInstance18 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects18 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType18 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction23 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance17 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject18 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute18 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject18 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute19 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance17 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject18 msPassed
isLoadedReturnsUnknownForUnregisteredObject17 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded19 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull18 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded18 msPassed
loadFieldLoadsLiteralValueAttribute18 msPassed
loadFieldLoadsManagedTypeAttribute20 msPassed
readAlreadyManagedObjectReturnsTheManagedOne18 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState19 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet19 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges19 msPassed
refreshOverwritesChangesSentToRepository20 msPassed
refreshOverwritesObjectPropertyChanges23 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance19 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity20 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance17 msPassed
refreshThrowsIllegalArgumentForRemovedInstance19 msPassed
registerExistingObjectInvokesPostCloneListeners18 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder18 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated18 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions19 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities20 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository19 msPassed
restoreDeletedRegistersObjectAgain17 msPassed
restoreDeletedReinsertsObjectIntoRepository18 msPassed
rollbackDetachesAllManagedEntities18 msPassed
testAttributeChanged18 msPassed
testAttributeChangedNotRegistered17 msPassed
testAttributeChangedOutsideTransaction18 msPassed
testCalculateDeletedObjects19 msPassed
testCalculateModificationsDataProperty18 msPassed
testCalculateModificationsObjectProperty20 msPassed
testCalculateNewObjects20 msPassed
testClearCacheAfterCommit20 msPassed
testCommitFailed17 msPassed
testCommitInactive19 msPassed
testContains18 msPassed
testGetContexts17 msPassed
testGetOriginal18 msPassed
testGetOriginalNull24 msPassed
testGetState18 msPassed
testGetStateWithDescriptor23 msPassed
testIsConsistent16 msPassed
testIsObjectManaged17 msPassed
testIsObjectManagerNull17 msPassed
testIsObjectNew17 msPassed
testIsObjectNewWithNullAndManaged18 msPassed
testLoadFieldValueNotRegistered17 msPassed
testReadObjectFromOntology18 msPassed
testReadObjectJustPersisted17 msPassed
testReadObjectNullClass17 msPassed
testReadObjectNullContext17 msPassed
testReadObjectNullPrimaryKey17 msPassed
testRegisterExistingObject18 msPassed
testRegisterExistingObjectTwice18 msPassed
testRegisterNewObject18 msPassed
testRegisterNewObjectNull19 msPassed
testRegisterNewObjectNullDescriptor17 msPassed
testReleaseUnitOfWork17 msPassed
testRemoveNewObject17 msPassed
testRemoveObjectFromCache17 msPassed
testRemoveObjectNotRegistered18 msPassed
testRollback19 msPassed
testRollbackInactive18 msPassed
testSwitchQueryProcessingOntology16 msPassed
testUnregisterObject17 msPassed
testUseTransactionalOntologyForQueryProcessing17 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit21 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit22 msPassed
unregisterObjectRemovesItFromCloneBuilderCache19 msPassed
unwrapReturnsItselfWhenClassMatches17 msPassed