[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/passivation ...
Manik Surtani
msurtani at jboss.com
Tue Dec 5 10:27:51 EST 2006
User: msurtani
Date: 06/12/05 10:27:51
Modified: tests/functional/org/jboss/cache/passivation Tag:
Branch_JBossCache_1_4_0 PassivationTestsBase.java
Log:
Ported stuff from 1.3.0.SP4 + upgraded JGroups
Revision Changes Path
No revision
No revision
1.13.2.1 +16 -8 JBossCache/tests/functional/org/jboss/cache/passivation/PassivationTestsBase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PassivationTestsBase.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/passivation/PassivationTestsBase.java,v
retrieving revision 1.13
retrieving revision 1.13.2.1
diff -u -b -r1.13 -r1.13.2.1
--- PassivationTestsBase.java 8 Apr 2006 05:24:39 -0000 1.13
+++ PassivationTestsBase.java 5 Dec 2006 15:27:51 -0000 1.13.2.1
@@ -3,27 +3,35 @@
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
-import org.jboss.cache.*;
-import org.jboss.cache.xml.XmlHelper;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.jboss.cache.CacheException;
+import org.jboss.cache.DataNode;
+import org.jboss.cache.Fqn;
+import org.jboss.cache.Modification;
+import org.jboss.cache.TreeCache;
import org.jboss.cache.loader.CacheLoader;
import org.jboss.cache.loader.SamplePojo;
import org.jboss.cache.lock.IsolationLevel;
import org.jboss.cache.transaction.DummyTransactionManager;
+import org.jboss.cache.xml.XmlHelper;
import org.w3c.dom.Element;
import javax.transaction.NotSupportedException;
import javax.transaction.Transaction;
import java.io.Serializable;
-import java.util.*;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
/**
* Base tests for passivation using any of the cache loaders
*
* @author <a href="mailto:{hmesha at novell.com}">{Hany Mesha}</a>
- * @version $Id: PassivationTestsBase.java,v 1.13 2006/04/08 05:24:39 genman Exp $
+ * @version $Id: PassivationTestsBase.java,v 1.13.2.1 2006/12/05 15:27:51 msurtani Exp $
*/
abstract public class PassivationTestsBase extends TestCase {
@@ -780,7 +788,7 @@
assertTrue(children.contains("1"));
assertTrue(children.contains("2"));
assertTrue(children.contains("3"));
- assertEquals(4, cache.getNumberOfLocksHeld());
+ assertEquals(5, cache.getNumberOfLocksHeld());
tx.commit();
}
More information about the jboss-cvs-commits
mailing list