openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allee8...@apache.org
Subject svn commit: r777549 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/lockmgr/TestMixedLockManagerFindException.java
Date Fri, 22 May 2009 14:40:22 GMT
Author: allee8285
Date: Fri May 22 14:40:22 2009
New Revision: 777549

URL: http://svn.apache.org/viewvc?rev=777549&view=rev
Log:
OPENJPA-891 - Eliminate tests of compatible lock mode type.

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/lockmgr/TestMixedLockManagerFindException.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/lockmgr/TestMixedLockManagerFindException.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/lockmgr/TestMixedLockManagerFindException.java?rev=777549&r1=777548&r2=777549&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/lockmgr/TestMixedLockManagerFindException.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/lockmgr/TestMixedLockManagerFindException.java
Fri May 22 14:40:22 2009
@@ -197,16 +197,16 @@
     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(



Mime
View raw message