Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext0.35 secPassed
clearResetsCloneBuilder17 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction21 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject21 msPassed
getManagedOriginalForDifferentContextReturnsNull18 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull16 msPassed
getManagedOriginalReturnsManagedOriginalInstance16 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction23 msPassed
readAlreadyManagedObjectReturnsTheManagedOne17 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState24 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet19 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges19 msPassed
refreshOverwritesChangesSentToRepository19 msPassed
refreshOverwritesObjectPropertyChanges27 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance19 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity19 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance17 msPassed
refreshThrowsIllegalArgumentForRemovedInstance18 msPassed
registerExistingObjectInvokesPostCloneListeners18 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder28 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions17 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities18 msPassed
restoreDeletedRegistersObjectAgain17 msPassed
restoreDeletedReinsertsObjectIntoRepository18 msPassed
rollbackDetachesAllManagedEntities18 msPassed
testAttributeChanged18 msPassed
testAttributeChangedNotRegistered17 msPassed
testAttributeChangedOutsideTransaction18 msPassed
testCalculateDeletedObjects24 msPassed
testCalculateModificationsDataProperty18 msPassed
testCalculateModificationsObjectProperty28 msPassed
testCalculateNewObjects23 msPassed
testClearCacheAfterCommit25 msPassed
testCommitFailed17 msPassed
testCommitInactive21 msPassed
testContains17 msPassed
testGetContexts25 msPassed
testGetOriginal18 msPassed
testGetOriginalNull16 msPassed
testGetState19 msPassed
testGetStateWithDescriptor17 msPassed
testIsConsistent17 msPassed
testIsObjectManaged17 msPassed
testIsObjectManagerNull15 msPassed
testIsObjectNew16 msPassed
testIsObjectNewWithNullAndManaged17 msPassed
testLoadFieldValue19 msPassed
testLoadFieldValueManagedType19 msPassed
testLoadFieldValueNotRegistered17 msPassed
testReadObjectFromOntology17 msPassed
testReadObjectJustPersisted17 msPassed
testReadObjectNullClass15 msPassed
testReadObjectNullContext17 msPassed
testReadObjectNullPrimaryKey16 msPassed
testRegisterExistingObject16 msPassed
testRegisterExistingObjectTwice22 msPassed
testRegisterNewObject16 msPassed
testRegisterNewObjectNull21 msPassed
testRegisterNewObjectNullDescriptor23 msPassed
testRegisterNewObjectNullPkNotGenerated19 msPassed
testReleaseUnitOfWork16 msPassed
testRemoveNewObject17 msPassed
testRemoveObject17 msPassed
testRemoveObjectFromCache16 msPassed
testRemoveObjectNotRegistered16 msPassed
testRollback17 msPassed
testRollbackInactive17 msPassed
testSwitchQueryProcessingOntology16 msPassed
testUnregisterObject21 msPassed
testUseTransactionalOntologyForQueryProcessing17 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit21 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit23 msPassed
unregisterObjectRemovesItFromCloneBuilderCache18 msPassed
unwrapReturnsItselfWhenClassMatches11 msPassed