Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
78 tests (±0)
Took 0.8 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext9 msPassed
clearResetsCloneBuilder7 msPassed
commitDetachesPersistedInstance23 msPassed
commitEvictsInferredClassesFromCache14 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction14 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances9 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne11 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject8 msPassed
getManagedOriginalForDifferentContextReturnsNull12 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull12 msPassed
getManagedOriginalReturnsManagedOriginalInstance7 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction16 msPassed
readAlreadyManagedObjectReturnsTheManagedOne11 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState9 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet9 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges13 msPassed
refreshOverwritesChangesSentToRepository8 msPassed
refreshOverwritesObjectPropertyChanges14 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance13 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity15 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance12 msPassed
refreshThrowsIllegalArgumentForRemovedInstance7 msPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder8 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated7 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions9 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities8 msPassed
restoreDeletedRegistersObjectAgain7 msPassed
restoreDeletedReinsertsObjectIntoRepository12 msPassed
rollbackDetachesAllManagedEntities9 msPassed
testAttributeChanged13 msPassed
testAttributeChangedNotRegistered8 msPassed
testAttributeChangedOutsideTransaction8 msPassed
testCalculateDeletedObjects16 msPassed
testCalculateModificationsDataProperty12 msPassed
testCalculateModificationsObjectProperty13 msPassed
testCalculateNewObjects16 msPassed
testClearCacheAfterCommit10 msPassed
testCommitFailed13 msPassed
testCommitInactive8 msPassed
testContains16 msPassed
testGetContexts11 msPassed
testGetOriginal7 msPassed
testGetOriginalNull11 msPassed
testGetState9 msPassed
testGetStateWithDescriptor8 msPassed
testIsConsistent7 msPassed
testIsObjectManaged7 msPassed
testIsObjectManagerNull10 msPassed
testIsObjectNew8 msPassed
testIsObjectNewWithNullAndManaged11 msPassed
testLoadFieldValue14 msPassed
testLoadFieldValueManagedType14 msPassed
testLoadFieldValueNotRegistered7 msPassed
testReadObjectFromOntology10 msPassed
testReadObjectJustPersisted11 msPassed
testReadObjectNullClass7 msPassed
testReadObjectNullContext12 msPassed
testReadObjectNullPrimaryKey11 msPassed
testRegisterExistingObject12 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject7 msPassed
testRegisterNewObjectNull13 msPassed
testRegisterNewObjectNullDescriptor7 msPassed
testReleaseUnitOfWork7 msPassed
testRemoveNewObject11 msPassed
testRemoveObject12 msPassed
testRemoveObjectFromCache7 msPassed
testRemoveObjectNotRegistered7 msPassed
testRollback12 msPassed
testRollbackInactive7 msPassed
testSwitchQueryProcessingOntology9 msPassed
testUnregisterObject10 msPassed
testUseTransactionalOntologyForQueryProcessing7 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit14 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit15 msPassed
unregisterObjectRemovesItFromCloneBuilderCache8 msPassed
unwrapReturnsItselfWhenClassMatches7 msPassed