Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext6 msPassed
clearResetsCloneBuilder5 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject6 msPassed
getManagedOriginalForDifferentContextReturnsNull6 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull5 msPassed
getManagedOriginalReturnsManagedOriginalInstance6 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction7 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState19 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet11 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges6 msPassed
refreshOverwritesChangesSentToRepository6 msPassed
refreshOverwritesObjectPropertyChanges8 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance7 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity6 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance5 msPassed
refreshThrowsIllegalArgumentForRemovedInstance5 msPassed
registerExistingObjectInvokesPostCloneListeners5 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.12 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions5 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities6 msPassed
restoreDeletedRegistersObjectAgain5 msPassed
restoreDeletedReinsertsObjectIntoRepository5 msPassed
rollbackDetachesAllManagedEntities10 msPassed
testAttributeChanged5 msPassed
testAttributeChangedNotRegistered6 msPassed
testAttributeChangedOutsideTransaction5 msPassed
testCalculateDeletedObjects7 msPassed
testCalculateModificationsDataProperty6 msPassed
testCalculateModificationsObjectProperty6 msPassed
testCalculateNewObjects7 msPassed
testClearCacheAfterCommit6 msPassed
testCommitFailed5 msPassed
testCommitInactive9 msPassed
testContains5 msPassed
testGetContexts5 msPassed
testGetOriginal6 msPassed
testGetOriginalNull5 msPassed
testGetState6 msPassed
testGetStateWithDescriptor6 msPassed
testIsConsistent6 msPassed
testIsObjectManaged6 msPassed
testIsObjectManagerNull5 msPassed
testIsObjectNew5 msPassed
testIsObjectNewWithNullAndManaged6 msPassed
testLoadFieldValue5 msPassed
testLoadFieldValueManagedType7 msPassed
testLoadFieldValueNotRegistered6 msPassed
testReadObjectFromOntology5 msPassed
testReadObjectJustPersisted5 msPassed
testReadObjectNullClass6 msPassed
testReadObjectNullContext5 msPassed
testReadObjectNullPrimaryKey5 msPassed
testRegisterExistingObject5 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject5 msPassed
testRegisterNewObjectNull5 msPassed
testRegisterNewObjectNullDescriptor5 msPassed
testRegisterNewObjectNullPkNotGenerated5 msPassed
testReleaseUnitOfWork5 msPassed
testRemoveNewObject5 msPassed
testRemoveObject5 msPassed
testRemoveObjectFromCache5 msPassed
testRemoveObjectNotRegistered5 msPassed
testRollback6 msPassed
testRollbackInactive5 msPassed
testSwitchQueryProcessingOntology5 msPassed
testUnregisterObject5 msPassed
testUseTransactionalOntologyForQueryProcessing9 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit6 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit7 msPassed
unregisterObjectRemovesItFromCloneBuilderCache5 msPassed
unwrapReturnsItselfWhenClassMatches4 msPassed