Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext16 msPassed
clearResetsCloneBuilder9 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction10 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject7 msPassed
getManagedOriginalForDifferentContextReturnsNull15 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull8 msPassed
getManagedOriginalReturnsManagedOriginalInstance9 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction11 msPassed
readAlreadyManagedObjectReturnsTheManagedOne7 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState14 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet10 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges10 msPassed
refreshOverwritesChangesSentToRepository9 msPassed
refreshOverwritesObjectPropertyChanges14 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance9 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity13 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance9 msPassed
refreshThrowsIllegalArgumentForRemovedInstance9 msPassed
registerExistingObjectInvokesPostCloneListeners5 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder13 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions9 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities0 msPassed
restoreDeletedRegistersObjectAgain10 msPassed
restoreDeletedReinsertsObjectIntoRepository8 msPassed
rollbackDetachesAllManagedEntities9 msPassed
testAttributeChanged9 msPassed
testAttributeChangedNotRegistered9 msPassed
testAttributeChangedOutsideTransaction9 msPassed
testCalculateDeletedObjects5 msPassed
testCalculateModificationsDataProperty10 msPassed
testCalculateModificationsObjectProperty10 msPassed
testCalculateNewObjects12 msPassed
testClearCacheAfterCommit10 msPassed
testCommitFailed12 msPassed
testCommitInactive15 msPassed
testContains9 msPassed
testGetContexts8 msPassed
testGetOriginal9 msPassed
testGetOriginalNull6 msPassed
testGetState10 msPassed
testGetStateWithDescriptor8 msPassed
testIsConsistent8 msPassed
testIsObjectManaged8 msPassed
testIsObjectManagerNull8 msPassed
testIsObjectNew8 msPassed
testIsObjectNewWithNullAndManaged8 msPassed
testLoadFieldValue10 msPassed
testLoadFieldValueManagedType10 msPassed
testLoadFieldValueNotRegistered9 msPassed
testReadObjectFromOntology7 msPassed
testReadObjectJustPersisted5 msPassed
testReadObjectNullClass9 msPassed
testReadObjectNullContext8 msPassed
testReadObjectNullPrimaryKey9 msPassed
testRegisterExistingObject8 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject9 msPassed
testRegisterNewObjectNull9 msPassed
testRegisterNewObjectNullDescriptor5 msPassed
testRegisterNewObjectNullPkNotGenerated8 msPassed
testReleaseUnitOfWork8 msPassed
testRemoveNewObject4 msPassed
testRemoveObject8 msPassed
testRemoveObjectFromCache8 msPassed
testRemoveObjectNotRegistered8 msPassed
testRollback9 msPassed
testRollbackInactive8 msPassed
testSwitchQueryProcessingOntology8 msPassed
testUnregisterObject4 msPassed
testUseTransactionalOntologyForQueryProcessing8 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit9 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit12 msPassed
unregisterObjectRemovesItFromCloneBuilderCache9 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed