[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/eviction ...
Manik Surtani
msurtani at belmont.prod.atl2.jboss.com
Wed Aug 30 14:39:42 EDT 2006
User: msurtani
Date: 06/08/30 14:39:42
Modified: tests/functional/org/jboss/cache/eviction
OptimisticEvictionTest.java
Log:
javadocs
Revision Changes Path
1.6 +82 -85 JBossCache/tests/functional/org/jboss/cache/eviction/OptimisticEvictionTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: OptimisticEvictionTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/eviction/OptimisticEvictionTest.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- OptimisticEvictionTest.java 18 Aug 2006 15:40:40 -0000 1.5
+++ OptimisticEvictionTest.java 30 Aug 2006 18:39:42 -0000 1.6
@@ -1,6 +1,7 @@
package org.jboss.cache.eviction;
import junit.framework.TestCase;
+import org.jboss.cache.CacheException;
import org.jboss.cache.DummyTransactionManagerLookup;
import org.jboss.cache.Fqn;
import org.jboss.cache.TreeCache;
@@ -52,16 +53,13 @@
super.tearDown();
}
- /**
-
- // TODO: MANIK: Re-enable this!!!
public void testEvictionError() throws CacheException
{
//Initialize the cache via a map
for (int i = 0; i < NUMBER_NODES; i++)
{
- cache.put(new Fqn(region, new Integer(i)), new Integer(i), new Integer(i));
+ cache.put(new Fqn(region, i), i, i);
}
for (int i = 0; i < NUMBER_OF_RUNS; i++)
@@ -69,7 +67,7 @@
try
{
txManager.begin();
- cache.get(region, new Integer(i % NUMBER_NODES));
+ cache.get(region, i % NUMBER_NODES);
txManager.commit();
}
catch (Exception e)
@@ -79,7 +77,6 @@
}
}
- **/
public void testEvictionOccurence() throws Exception
{
More information about the jboss-cvs-commits
mailing list