OPENJPA-891 - Eliminate tests of compatible lock mode type.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@777549 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Albert Lee 2009-05-22 14:40:22 +00:00
parent a224644c4c
commit 26b83c8300
1 changed files with 6 additions and 6 deletions

View File

@ -197,16 +197,16 @@ public class TestMixedLockManagerFindException extends SequencedActionsTest {
public void testLockOptimisticLockExceptions() {
commonLockOptimisticLockExceptions(
LockModeType.NONE, true, false);
commonLockOptimisticLockExceptions(
LockModeType.READ, true, false);
commonLockOptimisticLockExceptions(
LockModeType.WRITE, true, false);
// commonLockOptimisticLockExceptions(
// LockModeType.READ, true, false);
// commonLockOptimisticLockExceptions(
// LockModeType.WRITE, true, false);
commonLockOptimisticLockExceptions(
LockModeType.OPTIMISTIC, true, false);
commonLockOptimisticLockExceptions(
LockModeType.OPTIMISTIC_FORCE_INCREMENT, true, false);
commonLockOptimisticLockExceptions(
LockModeType.PESSIMISTIC_READ, false, true);
// commonLockOptimisticLockExceptions(
// LockModeType.PESSIMISTIC_READ, false, true);
commonLockOptimisticLockExceptions(
LockModeType.PESSIMISTIC_WRITE, false, true);
commonLockOptimisticLockExceptions(