Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext23 msPassed
clearResetsCloneBuilder17 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction21 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject21 msPassed
getManagedOriginalForDifferentContextReturnsNull21 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull17 msPassed
getManagedOriginalReturnsManagedOriginalInstance17 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction23 msPassed
readAlreadyManagedObjectReturnsTheManagedOne22 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState26 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet26 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges19 msPassed
refreshOverwritesChangesSentToRepository21 msPassed
refreshOverwritesObjectPropertyChanges26 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance20 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity19 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance18 msPassed
refreshThrowsIllegalArgumentForRemovedInstance17 msPassed
registerExistingObjectInvokesPostCloneListeners19 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.33 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions20 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities18 msPassed
restoreDeletedRegistersObjectAgain18 msPassed
restoreDeletedReinsertsObjectIntoRepository17 msPassed
rollbackDetachesAllManagedEntities18 msPassed
testAttributeChanged18 msPassed
testAttributeChangedNotRegistered17 msPassed
testAttributeChangedOutsideTransaction18 msPassed
testCalculateDeletedObjects24 msPassed
testCalculateModificationsDataProperty18 msPassed
testCalculateModificationsObjectProperty21 msPassed
testCalculateNewObjects25 msPassed
testClearCacheAfterCommit28 msPassed
testCommitFailed17 msPassed
testCommitInactive20 msPassed
testContains18 msPassed
testGetContexts23 msPassed
testGetOriginal18 msPassed
testGetOriginalNull17 msPassed
testGetState20 msPassed
testGetStateWithDescriptor18 msPassed
testIsConsistent17 msPassed
testIsObjectManaged18 msPassed
testIsObjectManagerNull17 msPassed
testIsObjectNew16 msPassed
testIsObjectNewWithNullAndManaged17 msPassed
testLoadFieldValue19 msPassed
testLoadFieldValueManagedType20 msPassed
testLoadFieldValueNotRegistered17 msPassed
testReadObjectFromOntology17 msPassed
testReadObjectJustPersisted18 msPassed
testReadObjectNullClass17 msPassed
testReadObjectNullContext15 msPassed
testReadObjectNullPrimaryKey16 msPassed
testRegisterExistingObject18 msPassed
testRegisterExistingObjectTwice18 msPassed
testRegisterNewObject17 msPassed
testRegisterNewObjectNull20 msPassed
testRegisterNewObjectNullDescriptor17 msPassed
testRegisterNewObjectNullPkNotGenerated18 msPassed
testReleaseUnitOfWork16 msPassed
testRemoveNewObject17 msPassed
testRemoveObject20 msPassed
testRemoveObjectFromCache16 msPassed
testRemoveObjectNotRegistered16 msPassed
testRollback17 msPassed
testRollbackInactive17 msPassed
testSwitchQueryProcessingOntology17 msPassed
testUnregisterObject18 msPassed
testUseTransactionalOntologyForQueryProcessing22 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit23 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit25 msPassed
unregisterObjectRemovesItFromCloneBuilderCache19 msPassed
unwrapReturnsItselfWhenClassMatches16 msPassed