Author: manik.surtani(a)jboss.com
Date: 2007-12-16 09:49:16 -0500 (Sun, 16 Dec 2007)
New Revision: 4866
Modified:
core/trunk/src/test/java/org/jboss/cache/optimistic/OptimisticLockInterceptorTest.java
Log:
Updated tests
Modified:
core/trunk/src/test/java/org/jboss/cache/optimistic/OptimisticLockInterceptorTest.java
===================================================================
---
core/trunk/src/test/java/org/jboss/cache/optimistic/OptimisticLockInterceptorTest.java 2007-12-16
14:36:04 UTC (rev 4865)
+++
core/trunk/src/test/java/org/jboss/cache/optimistic/OptimisticLockInterceptorTest.java 2007-12-16
14:49:16 UTC (rev 4866)
@@ -43,19 +43,6 @@
TestingUtil.injectInterceptor(cache, lri, OptimisticLockingInterceptor.class);
-// Interceptor i = cache.getInterceptorChain().get(0);
-// Interceptor lockInterceptor = i;
-// // find the OptimisticLockInterceptor and insert LockReportInterceptor after
that.
-// while (!(lockInterceptor instanceof OptimisticLockingInterceptor))
-// {
-// System.out.println("Inspecting " +
lockInterceptor.getClass().getSimpleName());
-// lockInterceptor = lockInterceptor.getNext();
-// }
-// Interceptor next = lockInterceptor.getNext();
-//
-// lockInterceptor.setNext(lri);
-// lri.setNext(next);
-
cache.put(child, "key", "value");
tm = cache.getTransactionManager();
Show replies by date