Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext10 msPassed
clearResetsCloneBuilder9 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction10 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject9 msPassed
getManagedOriginalForDifferentContextReturnsNull8 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull8 msPassed
getManagedOriginalReturnsManagedOriginalInstance9 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction11 msPassed
readAlreadyManagedObjectReturnsTheManagedOne8 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState13 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet10 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges10 msPassed
refreshOverwritesChangesSentToRepository10 msPassed
refreshOverwritesObjectPropertyChanges14 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance9 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity10 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance8 msPassed
refreshThrowsIllegalArgumentForRemovedInstance0 msPassed
registerExistingObjectInvokesPostCloneListeners8 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder12 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions8 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities4 msPassed
restoreDeletedRegistersObjectAgain8 msPassed
restoreDeletedReinsertsObjectIntoRepository9 msPassed
rollbackDetachesAllManagedEntities8 msPassed
testAttributeChanged8 msPassed
testAttributeChangedNotRegistered9 msPassed
testAttributeChangedOutsideTransaction8 msPassed
testCalculateDeletedObjects11 msPassed
testCalculateModificationsDataProperty9 msPassed
testCalculateModificationsObjectProperty10 msPassed
testCalculateNewObjects12 msPassed
testClearCacheAfterCommit12 msPassed
testCommitFailed8 msPassed
testCommitInactive19 msPassed
testContains8 msPassed
testGetContexts8 msPassed
testGetOriginal9 msPassed
testGetOriginalNull7 msPassed
testGetState10 msPassed
testGetStateWithDescriptor9 msPassed
testIsConsistent8 msPassed
testIsObjectManaged9 msPassed
testIsObjectManagerNull7 msPassed
testIsObjectNew8 msPassed
testIsObjectNewWithNullAndManaged8 msPassed
testLoadFieldValue9 msPassed
testLoadFieldValueManagedType10 msPassed
testLoadFieldValueNotRegistered9 msPassed
testReadObjectFromOntology8 msPassed
testReadObjectJustPersisted9 msPassed
testReadObjectNullClass8 msPassed
testReadObjectNullContext9 msPassed
testReadObjectNullPrimaryKey8 msPassed
testRegisterExistingObject9 msPassed
testRegisterExistingObjectTwice8 msPassed
testRegisterNewObject9 msPassed
testRegisterNewObjectNull8 msPassed
testRegisterNewObjectNullDescriptor4 msPassed
testRegisterNewObjectNullPkNotGenerated8 msPassed
testReleaseUnitOfWork7 msPassed
testRemoveNewObject8 msPassed
testRemoveObject8 msPassed
testRemoveObjectFromCache8 msPassed
testRemoveObjectNotRegistered8 msPassed
testRollback9 msPassed
testRollbackInactive8 msPassed
testSwitchQueryProcessingOntology8 msPassed
testUnregisterObject12 msPassed
testUseTransactionalOntologyForQueryProcessing9 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit11 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit11 msPassed
unregisterObjectRemovesItFromCloneBuilderCache9 msPassed
unwrapReturnsItselfWhenClassMatches8 msPassed