Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext25 msPassed
clearResetsCloneBuilder18 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction21 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject19 msPassed
getManagedOriginalForDifferentContextReturnsNull23 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull17 msPassed
getManagedOriginalReturnsManagedOriginalInstance18 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction22 msPassed
readAlreadyManagedObjectReturnsTheManagedOne18 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState25 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet24 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges19 msPassed
refreshOverwritesChangesSentToRepository20 msPassed
refreshOverwritesObjectPropertyChanges28 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance21 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity20 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance16 msPassed
refreshThrowsIllegalArgumentForRemovedInstance18 msPassed
registerExistingObjectInvokesPostCloneListeners18 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder27 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions17 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities17 msPassed
restoreDeletedRegistersObjectAgain19 msPassed
restoreDeletedReinsertsObjectIntoRepository17 msPassed
rollbackDetachesAllManagedEntities19 msPassed
testAttributeChanged19 msPassed
testAttributeChangedNotRegistered17 msPassed
testAttributeChangedOutsideTransaction18 msPassed
testCalculateDeletedObjects0.33 secPassed
testCalculateModificationsDataProperty18 msPassed
testCalculateModificationsObjectProperty19 msPassed
testCalculateNewObjects22 msPassed
testClearCacheAfterCommit19 msPassed
testCommitFailed18 msPassed
testCommitInactive21 msPassed
testContains19 msPassed
testGetContexts17 msPassed
testGetOriginal20 msPassed
testGetOriginalNull16 msPassed
testGetState19 msPassed
testGetStateWithDescriptor18 msPassed
testIsConsistent17 msPassed
testIsObjectManaged16 msPassed
testIsObjectManagerNull16 msPassed
testIsObjectNew16 msPassed
testIsObjectNewWithNullAndManaged18 msPassed
testLoadFieldValue18 msPassed
testLoadFieldValueManagedType20 msPassed
testLoadFieldValueNotRegistered17 msPassed
testReadObjectFromOntology17 msPassed
testReadObjectJustPersisted17 msPassed
testReadObjectNullClass16 msPassed
testReadObjectNullContext16 msPassed
testReadObjectNullPrimaryKey17 msPassed
testRegisterExistingObject16 msPassed
testRegisterExistingObjectTwice22 msPassed
testRegisterNewObject17 msPassed
testRegisterNewObjectNull21 msPassed
testRegisterNewObjectNullDescriptor17 msPassed
testRegisterNewObjectNullPkNotGenerated20 msPassed
testReleaseUnitOfWork17 msPassed
testRemoveNewObject18 msPassed
testRemoveObject17 msPassed
testRemoveObjectFromCache16 msPassed
testRemoveObjectNotRegistered16 msPassed
testRollback17 msPassed
testRollbackInactive16 msPassed
testSwitchQueryProcessingOntology16 msPassed
testUnregisterObject20 msPassed
testUseTransactionalOntologyForQueryProcessing23 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit22 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit23 msPassed
unregisterObjectRemovesItFromCloneBuilderCache17 msPassed
unwrapReturnsItselfWhenClassMatches18 msPassed