Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
74 tests (±0)
Took 0.44 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext6 msPassed
clearResetsCloneBuilder5 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject7 msPassed
getManagedOriginalForDifferentContextReturnsNull10 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull5 msPassed
getManagedOriginalReturnsManagedOriginalInstance6 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction7 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState9 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet6 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges7 msPassed
refreshOverwritesChangesSentToRepository7 msPassed
refreshOverwritesObjectPropertyChanges10 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance6 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity6 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance5 msPassed
refreshThrowsIllegalArgumentForRemovedInstance5 msPassed
registerExistingObjectInvokesPostCloneListeners5 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder8 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions5 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities6 msPassed
restoreDeletedRegistersObjectAgain5 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities6 msPassed
testAttributeChanged5 msPassed
testAttributeChangedNotRegistered5 msPassed
testAttributeChangedOutsideTransaction6 msPassed
testCalculateDeletedObjects7 msPassed
testCalculateModificationsDataProperty6 msPassed
testCalculateModificationsObjectProperty6 msPassed
testCalculateNewObjects10 msPassed
testClearCacheAfterCommit7 msPassed
testCommitFailed10 msPassed
testCommitInactive9 msPassed
testContains6 msPassed
testGetContexts5 msPassed
testGetOriginal5 msPassed
testGetOriginalNull6 msPassed
testGetState6 msPassed
testGetStateWithDescriptor6 msPassed
testIsConsistent5 msPassed
testIsObjectManaged6 msPassed
testIsObjectManagerNull5 msPassed
testIsObjectNew5 msPassed
testIsObjectNewWithNullAndManaged5 msPassed
testLoadFieldValue6 msPassed
testLoadFieldValueManagedType7 msPassed
testLoadFieldValueNotRegistered5 msPassed
testReadObjectFromOntology7 msPassed
testReadObjectJustPersisted5 msPassed
testReadObjectNullClass5 msPassed
testReadObjectNullContext6 msPassed
testReadObjectNullPrimaryKey5 msPassed
testRegisterExistingObject6 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject6 msPassed
testRegisterNewObjectNull6 msPassed
testRegisterNewObjectNullDescriptor5 msPassed
testRegisterNewObjectNullPkNotGenerated7 msPassed
testReleaseUnitOfWork5 msPassed
testRemoveNewObject5 msPassed
testRemoveObject5 msPassed
testRemoveObjectFromCache4 msPassed
testRemoveObjectNotRegistered4 msPassed
testRollback6 msPassed
testRollbackInactive5 msPassed
testSwitchQueryProcessingOntology5 msPassed
testUnregisterObject5 msPassed
testUseTransactionalOntologyForQueryProcessing6 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit7 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit8 msPassed
unregisterObjectRemovesItFromCloneBuilderCache6 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed