[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-cvs-commits
Subject: [jboss-cvs] jbosstest/src/main/org/jboss/test/cache/test/generic IdentityLockUnitTestCase.java
From: Ben Wang <bwang00 () users ! sourceforge ! net>
Date: 2004-09-29 19:33:18
Message-ID: E1CCkCU-0002MV-5D () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
User: bwang00
Date: 04/09/29 12:33:17
Modified: src/main/org/jboss/test/cache/test/generic
IdentityLockUnitTestCase.java
Log:
Updated
Revision Changes Path
1.10 +4 -4 \
jbosstest/src/main/org/jboss/test/cache/test/generic/IdentityLockUnitTestCase.java
Index: IdentityLockUnitTestCase.java
===================================================================
RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/cache/test/generic/IdentityLockUnitTestCase.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- IdentityLockUnitTestCase.java 23 Sep 2004 07:05:09 -0000 1.9
+++ IdentityLockUnitTestCase.java 29 Sep 2004 19:33:17 -0000 1.10
@@ -18,7 +18,7 @@
/** Testing of different locking semantics.
* @author Bela Ban
* @author Ben Wang
- * @version $Revision: 1.9 $
+ * @version $Revision: 1.10 $
*/
public class IdentityLockUnitTestCase extends TestCase
{
@@ -35,7 +35,7 @@
protected void setUp() throws Exception
{
- lock_ = new IdentityLock();
+ lock_ = new IdentityLock(null);
// try { Thread.sleep(10000); } catch (Exception e) {
// }
@@ -52,14 +52,14 @@
{
log("set lock level to RWUpgrade ...");
LockStrategyFactory.setIsolationLevel(IsolationLevel.REPEATABLE_READ);
- lock_ = new IdentityLock();
+ lock_ = new IdentityLock(null);
}
protected void setLevelSerial()
{
log("set lock level to SimpleLock ...");
LockStrategyFactory.setIsolationLevel(IsolationLevel.SERIALIZABLE);
- lock_ = new IdentityLock();
+ lock_ = new IdentityLock(null);
}
protected GlobalTransaction getGlobalTransactionFromThread()
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic