Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
78 tests (±0)
Took 0.78 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext9 msPassed
clearResetsCloneBuilder13 msPassed
commitDetachesPersistedInstance7 msPassed
commitEvictsInferredClassesFromCache15 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction10 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances10 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne9 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject8 msPassed
getManagedOriginalForDifferentContextReturnsNull13 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull18 msPassed
getManagedOriginalReturnsManagedOriginalInstance7 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction11 msPassed
readAlreadyManagedObjectReturnsTheManagedOne7 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState10 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet9 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges8 msPassed
refreshOverwritesChangesSentToRepository7 msPassed
refreshOverwritesObjectPropertyChanges12 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance9 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity15 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance14 msPassed
refreshThrowsIllegalArgumentForRemovedInstance7 msPassed
registerExistingObjectInvokesPostCloneListeners8 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder8 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated8 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions8 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities12 msPassed
restoreDeletedRegistersObjectAgain6 msPassed
restoreDeletedReinsertsObjectIntoRepository8 msPassed
rollbackDetachesAllManagedEntities8 msPassed
testAttributeChanged14 msPassed
testAttributeChangedNotRegistered7 msPassed
testAttributeChangedOutsideTransaction7 msPassed
testCalculateDeletedObjects11 msPassed
testCalculateModificationsDataProperty14 msPassed
testCalculateModificationsObjectProperty24 msPassed
testCalculateNewObjects17 msPassed
testClearCacheAfterCommit8 msPassed
testCommitFailed13 msPassed
testCommitInactive9 msPassed
testContains14 msPassed
testGetContexts8 msPassed
testGetOriginal7 msPassed
testGetOriginalNull7 msPassed
testGetState7 msPassed
testGetStateWithDescriptor14 msPassed
testIsConsistent7 msPassed
testIsObjectManaged7 msPassed
testIsObjectManagerNull13 msPassed
testIsObjectNew7 msPassed
testIsObjectNewWithNullAndManaged7 msPassed
testLoadFieldValue15 msPassed
testLoadFieldValueManagedType15 msPassed
testLoadFieldValueNotRegistered7 msPassed
testReadObjectFromOntology7 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass7 msPassed
testReadObjectNullContext12 msPassed
testReadObjectNullPrimaryKey7 msPassed
testRegisterExistingObject22 msPassed
testRegisterExistingObjectTwice7 msPassed
testRegisterNewObject7 msPassed
testRegisterNewObjectNull7 msPassed
testRegisterNewObjectNullDescriptor8 msPassed
testReleaseUnitOfWork13 msPassed
testRemoveNewObject7 msPassed
testRemoveObject13 msPassed
testRemoveObjectFromCache6 msPassed
testRemoveObjectNotRegistered13 msPassed
testRollback15 msPassed
testRollbackInactive13 msPassed
testSwitchQueryProcessingOntology7 msPassed
testUnregisterObject7 msPassed
testUseTransactionalOntologyForQueryProcessing7 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit9 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit10 msPassed
unregisterObjectRemovesItFromCloneBuilderCache14 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed