Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext7 msPassed
clearResetsCloneBuilder4 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject7 msPassed
getManagedOriginalForDifferentContextReturnsNull6 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull9 msPassed
getManagedOriginalReturnsManagedOriginalInstance6 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction8 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState10 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet7 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges7 msPassed
refreshOverwritesChangesSentToRepository12 msPassed
refreshOverwritesObjectPropertyChanges11 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance7 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity7 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance6 msPassed
refreshThrowsIllegalArgumentForRemovedInstance6 msPassed
registerExistingObjectInvokesPostCloneListeners6 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder6 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions6 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities6 msPassed
restoreDeletedRegistersObjectAgain17 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities7 msPassed
testAttributeChanged6 msPassed
testAttributeChangedNotRegistered5 msPassed
testAttributeChangedOutsideTransaction6 msPassed
testCalculateDeletedObjects10 msPassed
testCalculateModificationsDataProperty6 msPassed
testCalculateModificationsObjectProperty7 msPassed
testCalculateNewObjects9 msPassed
testClearCacheAfterCommit8 msPassed
testCommitFailed6 msPassed
testCommitInactive10 msPassed
testContains6 msPassed
testGetContexts6 msPassed
testGetOriginal6 msPassed
testGetOriginalNull5 msPassed
testGetState7 msPassed
testGetStateWithDescriptor11 msPassed
testIsConsistent6 msPassed
testIsObjectManaged8 msPassed
testIsObjectManagerNull5 msPassed
testIsObjectNew6 msPassed
testIsObjectNewWithNullAndManaged6 msPassed
testLoadFieldValue7 msPassed
testLoadFieldValueManagedType8 msPassed
testLoadFieldValueNotRegistered8 msPassed
testReadObjectFromOntology7 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass14 msPassed
testReadObjectNullContext5 msPassed
testReadObjectNullPrimaryKey5 msPassed
testRegisterExistingObject6 msPassed
testRegisterExistingObjectTwice5 msPassed
testRegisterNewObject6 msPassed
testRegisterNewObjectNull6 msPassed
testRegisterNewObjectNullDescriptor5 msPassed
testRegisterNewObjectNullPkNotGenerated5 msPassed
testReleaseUnitOfWork6 msPassed
testRemoveNewObject5 msPassed
testRemoveObject6 msPassed
testRemoveObjectFromCache5 msPassed
testRemoveObjectNotRegistered6 msPassed
testRollback6 msPassed
testRollbackInactive7 msPassed
testSwitchQueryProcessingOntology6 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing6 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit7 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit9 msPassed
unregisterObjectRemovesItFromCloneBuilderCache6 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed