Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext6 msPassed
clearResetsCloneBuilder5 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject6 msPassed
getManagedOriginalForDifferentContextReturnsNull5 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull5 msPassed
getManagedOriginalReturnsManagedOriginalInstance6 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction7 msPassed
readAlreadyManagedObjectReturnsTheManagedOne5 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState14 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet6 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges6 msPassed
refreshOverwritesChangesSentToRepository6 msPassed
refreshOverwritesObjectPropertyChanges10 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance6 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity7 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance4 msPassed
refreshThrowsIllegalArgumentForRemovedInstance9 msPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder8 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions6 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities7 msPassed
restoreDeletedRegistersObjectAgain4 msPassed
restoreDeletedReinsertsObjectIntoRepository5 msPassed
rollbackDetachesAllManagedEntities6 msPassed
testAttributeChanged5 msPassed
testAttributeChangedNotRegistered5 msPassed
testAttributeChangedOutsideTransaction5 msPassed
testCalculateDeletedObjects10 msPassed
testCalculateModificationsDataProperty5 msPassed
testCalculateModificationsObjectProperty7 msPassed
testCalculateNewObjects7 msPassed
testClearCacheAfterCommit9 msPassed
testCommitFailed6 msPassed
testCommitInactive9 msPassed
testContains5 msPassed
testGetContexts5 msPassed
testGetOriginal6 msPassed
testGetOriginalNull5 msPassed
testGetState6 msPassed
testGetStateWithDescriptor6 msPassed
testIsConsistent5 msPassed
testIsObjectManaged8 msPassed
testIsObjectManagerNull5 msPassed
testIsObjectNew9 msPassed
testIsObjectNewWithNullAndManaged5 msPassed
testLoadFieldValue6 msPassed
testLoadFieldValueManagedType7 msPassed
testLoadFieldValueNotRegistered6 msPassed
testReadObjectFromOntology6 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass4 msPassed
testReadObjectNullContext5 msPassed
testReadObjectNullPrimaryKey5 msPassed
testRegisterExistingObject5 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
testUseTransactionalOntologyForQueryProcessing7 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit7 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit8 msPassed
unregisterObjectRemovesItFromCloneBuilderCache5 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed