[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/eviction ...
Manik Surtani
manik at jboss.org
Wed May 23 06:28:54 EDT 2007
User: msurtani
Date: 07/05/23 06:28:54
Modified: tests/functional/org/jboss/cache/eviction
ConcurrentEvictionTest.java
LFUConfigurationTest.java
ElementSizeConfigurationTest.java
FIFOQueueTest.java
Log:
Initiated a bunch of performance fixes, including replacing CopyOnWriteArraySets with org.jboss.cache.util.concurrent.ConcurrentHashSet.
Also ran an imports optimiser on the code base - there were a lot of unused imports floating about.
Revision Changes Path
1.11 +2 -3 JBossCache/tests/functional/org/jboss/cache/eviction/ConcurrentEvictionTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ConcurrentEvictionTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/eviction/ConcurrentEvictionTest.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- ConcurrentEvictionTest.java 27 Feb 2007 13:25:45 -0000 1.10
+++ ConcurrentEvictionTest.java 23 May 2007 10:28:54 -0000 1.11
@@ -13,7 +13,6 @@
import org.jboss.cache.CacheImpl;
import org.jboss.cache.DefaultCacheFactory;
import org.jboss.cache.Fqn;
-import org.jboss.cache.loader.FileCacheLoaderConfig;
import org.jboss.cache.misc.TestingUtil;
import java.util.Properties;
@@ -22,7 +21,7 @@
* Tests cache behavior in the presence of concurrent passivation.
*
* @author Brian Stansberry
- * @version $Revision: 1.10 $
+ * @version $Revision: 1.11 $
*/
public class ConcurrentEvictionTest extends TestCase
{
1.6 +8 -9 JBossCache/tests/functional/org/jboss/cache/eviction/LFUConfigurationTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: LFUConfigurationTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/eviction/LFUConfigurationTest.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- LFUConfigurationTest.java 27 Oct 2006 19:26:06 -0000 1.5
+++ LFUConfigurationTest.java 23 May 2007 10:28:54 -0000 1.6
@@ -7,7 +7,6 @@
package org.jboss.cache.eviction;
import junit.framework.TestCase;
-
import org.jboss.cache.factories.XmlConfigurationParser;
import org.jboss.cache.xml.XmlHelper;
import org.w3c.dom.Element;
@@ -16,7 +15,7 @@
* LFU Configuration test.
*
* @author Daniel Huang (dhuang at jboss.org)
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
*/
public class LFUConfigurationTest extends TestCase
{
1.4 +9 -9 JBossCache/tests/functional/org/jboss/cache/eviction/ElementSizeConfigurationTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ElementSizeConfigurationTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/eviction/ElementSizeConfigurationTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ElementSizeConfigurationTest.java 27 Oct 2006 19:26:06 -0000 1.3
+++ ElementSizeConfigurationTest.java 23 May 2007 10:28:54 -0000 1.4
@@ -7,14 +7,14 @@
package org.jboss.cache.eviction;
import junit.framework.TestCase;
-import org.jboss.cache.xml.XmlHelper;
import org.jboss.cache.config.ConfigurationException;
import org.jboss.cache.factories.XmlConfigurationParser;
+import org.jboss.cache.xml.XmlHelper;
import org.w3c.dom.Element;
/**
* @author Daniel Huang
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
*/
public class ElementSizeConfigurationTest extends TestCase
{
1.5 +3 -5 JBossCache/tests/functional/org/jboss/cache/eviction/FIFOQueueTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: FIFOQueueTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/eviction/FIFOQueueTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- FIFOQueueTest.java 27 Oct 2006 19:26:06 -0000 1.4
+++ FIFOQueueTest.java 23 May 2007 10:28:54 -0000 1.5
@@ -6,16 +6,14 @@
*/
package org.jboss.cache.eviction;
-import org.jboss.cache.config.EvictionConfig;
-import org.jboss.cache.config.EvictionRegionConfig;
-
import junit.framework.TestCase;
+import org.jboss.cache.config.EvictionConfig;
/**
* Unit tests for FIFOQueue.
*
* @author Daniel Huang (dhuang at jboss.org)
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public class FIFOQueueTest extends TestCase
{
More information about the jboss-cvs-commits
mailing list