Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
77 tests (±0)
Took 0.43 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext8 msPassed
clearResetsCloneBuilder5 msPassed
commitDetachesPersistedInstance9 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction6 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances6 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne6 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject6 msPassed
getManagedOriginalForDifferentContextReturnsNull5 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull5 msPassed
getManagedOriginalReturnsManagedOriginalInstance5 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction9 msPassed
readAlreadyManagedObjectReturnsTheManagedOne5 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState6 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet7 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges6 msPassed
refreshOverwritesChangesSentToRepository7 msPassed
refreshOverwritesObjectPropertyChanges8 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance6 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity5 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance5 msPassed
refreshThrowsIllegalArgumentForRemovedInstance6 msPassed
registerExistingObjectInvokesPostCloneListeners5 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder7 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated6 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions6 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities6 msPassed
restoreDeletedRegistersObjectAgain5 msPassed
restoreDeletedReinsertsObjectIntoRepository9 msPassed
rollbackDetachesAllManagedEntities7 msPassed
testAttributeChanged6 msPassed
testAttributeChangedNotRegistered5 msPassed
testAttributeChangedOutsideTransaction5 msPassed
testCalculateDeletedObjects6 msPassed
testCalculateModificationsDataProperty5 msPassed
testCalculateModificationsObjectProperty6 msPassed
testCalculateNewObjects7 msPassed
testClearCacheAfterCommit7 msPassed
testCommitFailed4 msPassed
testCommitInactive8 msPassed
testContains5 msPassed
testGetContexts5 msPassed
testGetOriginal6 msPassed
testGetOriginalNull6 msPassed
testGetState5 msPassed
testGetStateWithDescriptor5 msPassed
testIsConsistent5 msPassed
testIsObjectManaged4 msPassed
testIsObjectManagerNull5 msPassed
testIsObjectNew5 msPassed
testIsObjectNewWithNullAndManaged5 msPassed
testLoadFieldValue6 msPassed
testLoadFieldValueManagedType7 msPassed
testLoadFieldValueNotRegistered4 msPassed
testReadObjectFromOntology7 msPassed
testReadObjectJustPersisted4 msPassed
testReadObjectNullClass5 msPassed
testReadObjectNullContext5 msPassed
testReadObjectNullPrimaryKey5 msPassed
testRegisterExistingObject5 msPassed
testRegisterExistingObjectTwice5 msPassed
testRegisterNewObject5 msPassed
testRegisterNewObjectNull6 msPassed
testRegisterNewObjectNullDescriptor5 msPassed
testReleaseUnitOfWork4 msPassed
testRemoveNewObject4 msPassed
testRemoveObject5 msPassed
testRemoveObjectFromCache5 msPassed
testRemoveObjectNotRegistered5 msPassed
testRollback6 msPassed
testRollbackInactive4 msPassed
testSwitchQueryProcessingOntology5 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing5 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit7 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit7 msPassed
unregisterObjectRemovesItFromCloneBuilderCache5 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed