Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext23 msPassed
clearResetsCloneBuilder19 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction22 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject20 msPassed
getManagedOriginalForDifferentContextReturnsNull17 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull15 msPassed
getManagedOriginalReturnsManagedOriginalInstance19 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction23 msPassed
readAlreadyManagedObjectReturnsTheManagedOne17 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState22 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet22 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges21 msPassed
refreshOverwritesChangesSentToRepository20 msPassed
refreshOverwritesObjectPropertyChanges25 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance22 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity19 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance20 msPassed
refreshThrowsIllegalArgumentForRemovedInstance22 msPassed
registerExistingObjectInvokesPostCloneListeners17 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder25 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions23 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities19 msPassed
restoreDeletedRegistersObjectAgain18 msPassed
restoreDeletedReinsertsObjectIntoRepository18 msPassed
rollbackDetachesAllManagedEntities21 msPassed
testAttributeChanged0.9 secPassed
testAttributeChangedNotRegistered19 msPassed
testAttributeChangedOutsideTransaction18 msPassed
testCalculateDeletedObjects23 msPassed
testCalculateModificationsDataProperty18 msPassed
testCalculateModificationsObjectProperty20 msPassed
testCalculateNewObjects28 msPassed
testClearCacheAfterCommit20 msPassed
testCommitFailed17 msPassed
testCommitInactive14 msPassed
testContains21 msPassed
testGetContexts17 msPassed
testGetOriginal20 msPassed
testGetOriginalNull23 msPassed
testGetState20 msPassed
testGetStateWithDescriptor18 msPassed
testIsConsistent18 msPassed
testIsObjectManaged21 msPassed
testIsObjectManagerNull17 msPassed
testIsObjectNew19 msPassed
testIsObjectNewWithNullAndManaged19 msPassed
testLoadFieldValue19 msPassed
testLoadFieldValueManagedType24 msPassed
testLoadFieldValueNotRegistered20 msPassed
testReadObjectFromOntology19 msPassed
testReadObjectJustPersisted17 msPassed
testReadObjectNullClass17 msPassed
testReadObjectNullContext15 msPassed
testReadObjectNullPrimaryKey18 msPassed
testRegisterExistingObject17 msPassed
testRegisterExistingObjectTwice17 msPassed
testRegisterNewObject19 msPassed
testRegisterNewObjectNull21 msPassed
testRegisterNewObjectNullDescriptor16 msPassed
testRegisterNewObjectNullPkNotGenerated21 msPassed
testReleaseUnitOfWork16 msPassed
testRemoveNewObject18 msPassed
testRemoveObject17 msPassed
testRemoveObjectFromCache19 msPassed
testRemoveObjectNotRegistered17 msPassed
testRollback18 msPassed
testRollbackInactive17 msPassed
testSwitchQueryProcessingOntology19 msPassed
testUnregisterObject18 msPassed
testUseTransactionalOntologyForQueryProcessing19 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit21 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit26 msPassed
unregisterObjectRemovesItFromCloneBuilderCache18 msPassed
unwrapReturnsItselfWhenClassMatches18 msPassed