Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext7 msPassed
clearResetsCloneBuilder6 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject6 msPassed
getManagedOriginalForDifferentContextReturnsNull5 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull5 msPassed
getManagedOriginalReturnsManagedOriginalInstance5 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction7 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState11 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet7 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges6 msPassed
refreshOverwritesChangesSentToRepository6 msPassed
refreshOverwritesObjectPropertyChanges10 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance7 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity6 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance5 msPassed
refreshThrowsIllegalArgumentForRemovedInstance5 msPassed
registerExistingObjectInvokesPostCloneListeners5 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder10 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions6 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities6 msPassed
restoreDeletedRegistersObjectAgain6 msPassed
restoreDeletedReinsertsObjectIntoRepository5 msPassed
rollbackDetachesAllManagedEntities6 msPassed
testAttributeChanged5 msPassed
testAttributeChangedNotRegistered6 msPassed
testAttributeChangedOutsideTransaction5 msPassed
testCalculateDeletedObjects6 msPassed
testCalculateModificationsDataProperty5 msPassed
testCalculateModificationsObjectProperty7 msPassed
testCalculateNewObjects7 msPassed
testClearCacheAfterCommit6 msPassed
testCommitFailed4 msPassed
testCommitInactive9 msPassed
testContains5 msPassed
testGetContexts5 msPassed
testGetOriginal5 msPassed
testGetOriginalNull5 msPassed
testGetState7 msPassed
testGetStateWithDescriptor8 msPassed
testIsConsistent5 msPassed
testIsObjectManaged5 msPassed
testIsObjectManagerNull4 msPassed
testIsObjectNew5 msPassed
testIsObjectNewWithNullAndManaged6 msPassed
testLoadFieldValue6 msPassed
testLoadFieldValueManagedType6 msPassed
testLoadFieldValueNotRegistered5 msPassed
testReadObjectFromOntology6 msPassed
testReadObjectJustPersisted4 msPassed
testReadObjectNullClass4 msPassed
testReadObjectNullContext5 msPassed
testReadObjectNullPrimaryKey5 msPassed
testRegisterExistingObject4 msPassed
testRegisterExistingObjectTwice5 msPassed
testRegisterNewObject5 msPassed
testRegisterNewObjectNull6 msPassed
testRegisterNewObjectNullDescriptor5 msPassed
testRegisterNewObjectNullPkNotGenerated6 msPassed
testReleaseUnitOfWork5 msPassed
testRemoveNewObject5 msPassed
testRemoveObject5 msPassed
testRemoveObjectFromCache5 msPassed
testRemoveObjectNotRegistered5 msPassed
testRollback6 msPassed
testRollbackInactive5 msPassed
testSwitchQueryProcessingOntology5 msPassed
testUnregisterObject5 msPassed
testUseTransactionalOntologyForQueryProcessing5 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit8 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit7 msPassed
unregisterObjectRemovesItFromCloneBuilderCache6 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed