Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext9 msPassed
clearResetsCloneBuilder7 msPassed
commitDetachesPersistedInstance8 msPassed
commitEvictsInferredClassesFromCache14 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction9 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances9 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne14 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject8 msPassed
getManagedOriginalForDifferentContextReturnsNull13 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull17 msPassed
getManagedOriginalReturnsManagedOriginalInstance7 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction23 msPassed
readAlreadyManagedObjectReturnsTheManagedOne7 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState10 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet13 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges7 msPassed
refreshOverwritesChangesSentToRepository9 msPassed
refreshOverwritesObjectPropertyChanges14 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance9 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity15 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance13 msPassed
refreshThrowsIllegalArgumentForRemovedInstance7 msPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder8 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated7 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions8 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities13 msPassed
restoreDeletedRegistersObjectAgain7 msPassed
restoreDeletedReinsertsObjectIntoRepository7 msPassed
rollbackDetachesAllManagedEntities8 msPassed
testAttributeChanged13 msPassed
testAttributeChangedNotRegistered7 msPassed
testAttributeChangedOutsideTransaction7 msPassed
testCalculateDeletedObjects11 msPassed
testCalculateModificationsDataProperty13 msPassed
testCalculateModificationsObjectProperty14 msPassed
testCalculateNewObjects17 msPassed
testClearCacheAfterCommit9 msPassed
testCommitFailed13 msPassed
testCommitInactive9 msPassed
testContains12 msPassed
testGetContexts11 msPassed
testGetOriginal7 msPassed
testGetOriginalNull6 msPassed
testGetState8 msPassed
testGetStateWithDescriptor10 msPassed
testIsConsistent7 msPassed
testIsObjectManaged7 msPassed
testIsObjectManagerNull13 msPassed
testIsObjectNew7 msPassed
testIsObjectNewWithNullAndManaged8 msPassed
testLoadFieldValue13 msPassed
testLoadFieldValueManagedType15 msPassed
testLoadFieldValueNotRegistered7 msPassed
testReadObjectFromOntology7 msPassed
testReadObjectJustPersisted8 msPassed
testReadObjectNullClass7 msPassed
testReadObjectNullContext12 msPassed
testReadObjectNullPrimaryKey7 msPassed
testRegisterExistingObject13 msPassed
testRegisterExistingObjectTwice7 msPassed
testRegisterNewObject7 msPassed
testRegisterNewObjectNull9 msPassed
testRegisterNewObjectNullDescriptor12 msPassed
testReleaseUnitOfWork16 msPassed
testRemoveNewObject7 msPassed
testRemoveObject13 msPassed
testRemoveObjectFromCache7 msPassed
testRemoveObjectNotRegistered13 msPassed
testRollback12 msPassed
testRollbackInactive13 msPassed
testSwitchQueryProcessingOntology6 msPassed
testUnregisterObject10 msPassed
testUseTransactionalOntologyForQueryProcessing12 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit9 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit11 msPassed
unregisterObjectRemovesItFromCloneBuilderCache13 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed