Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext7 msPassed
clearResetsCloneBuilder6 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction28 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject17 msPassed
getManagedOriginalForDifferentContextReturnsNull3 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull0 msPassed
getManagedOriginalReturnsManagedOriginalInstance0 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction21 msPassed
readAlreadyManagedObjectReturnsTheManagedOne15 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState28 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet14 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges3 msPassed
refreshOverwritesChangesSentToRepository7 msPassed
refreshOverwritesObjectPropertyChanges0.32 secPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance0 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity15 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance9 msPassed
refreshThrowsIllegalArgumentForRemovedInstance0 msPassed
registerExistingObjectInvokesPostCloneListeners8 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder10 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions8 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities8 msPassed
restoreDeletedRegistersObjectAgain4 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities0 msPassed
testAttributeChanged7 msPassed
testAttributeChangedNotRegistered6 msPassed
testAttributeChangedOutsideTransaction1 msPassed
testCalculateDeletedObjects8 msPassed
testCalculateModificationsDataProperty9 msPassed
testCalculateModificationsObjectProperty9 msPassed
testCalculateNewObjects13 msPassed
testClearCacheAfterCommit9 msPassed
testCommitFailed7 msPassed
testCommitInactive13 msPassed
testContains5 msPassed
testGetContexts7 msPassed
testGetOriginal19 msPassed
testGetOriginalNull6 msPassed
testGetState8 msPassed
testGetStateWithDescriptor22 msPassed
testIsConsistent7 msPassed
testIsObjectManaged15 msPassed
testIsObjectManagerNull6 msPassed
testIsObjectNew0 msPassed
testIsObjectNewWithNullAndManaged0 msPassed
testLoadFieldValue9 msPassed
testLoadFieldValueManagedType7 msPassed
testLoadFieldValueNotRegistered6 msPassed
testReadObjectFromOntology5 msPassed
testReadObjectJustPersisted5 msPassed
testReadObjectNullClass0 msPassed
testReadObjectNullContext2 msPassed
testReadObjectNullPrimaryKey0 msPassed
testRegisterExistingObject27 msPassed
testRegisterExistingObjectTwice7 msPassed
testRegisterNewObject6 msPassed
testRegisterNewObjectNull8 msPassed
testRegisterNewObjectNullDescriptor7 msPassed
testRegisterNewObjectNullPkNotGenerated6 msPassed
testReleaseUnitOfWork6 msPassed
testRemoveNewObject8 msPassed
testRemoveObject0 msPassed
testRemoveObjectFromCache5 msPassed
testRemoveObjectNotRegistered7 msPassed
testRollback9 msPassed
testRollbackInactive7 msPassed
testSwitchQueryProcessingOntology0 msPassed
testUnregisterObject7 msPassed
testUseTransactionalOntologyForQueryProcessing9 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit11 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0 msPassed
unregisterObjectRemovesItFromCloneBuilderCache10 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed