commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1585543 - /commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/lru/LHMLRUMemoryCacheUnitTest.java
Date Mon, 07 Apr 2014 18:23:45 GMT
Author: sebb
Date: Mon Apr  7 18:23:45 2014
New Revision: 1585543

URL: http://svn.apache.org/r1585543
Log:
JCS-114 Test failures under Java 7 caused by different order of tests

Modified:
    commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/lru/LHMLRUMemoryCacheUnitTest.java

Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/lru/LHMLRUMemoryCacheUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/lru/LHMLRUMemoryCacheUnitTest.java?rev=1585543&r1=1585542&r2=1585543&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/lru/LHMLRUMemoryCacheUnitTest.java
(original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/lru/LHMLRUMemoryCacheUnitTest.java
Mon Apr  7 18:23:45 2014
@@ -57,7 +57,7 @@ public class LHMLRUMemoryCacheUnitTest
     public void testLoadFromCCF()
         throws CacheException
     {
-        CacheAccess<String, String> cache = JCS.getInstance( "testPutGet" );
+        CacheAccess<String, String> cache = JCS.getInstance( "testLoadFromCCF" );
         String memoryCacheName = cache.getCacheAttributes().getMemoryCacheName();
         assertTrue( "Cache name should have LHMLRU in it.", memoryCacheName.indexOf( "LHMLRUMemoryCache"
) != -1 );
     }
@@ -123,7 +123,7 @@ public class LHMLRUMemoryCacheUnitTest
     public void testPutGetThroughHubTwice()
         throws CacheException
     {
-        CacheAccess<String, String> cache = JCS.getInstance( "testPutGetThroughHub"
);
+        CacheAccess<String, String> cache = JCS.getInstance( "testPutGetThroughHubTwice"
);
 
         int max = cache.getCacheAttributes().getMaxObjects();
         int items = max * 2;
@@ -163,7 +163,7 @@ public class LHMLRUMemoryCacheUnitTest
     public void testPutRemoveThroughHub()
         throws CacheException
     {
-        CacheAccess<String, String> cache = JCS.getInstance( "testPutGetThroughHub"
);
+        CacheAccess<String, String> cache = JCS.getInstance( "testPutRemoveThroughHub"
);
 
         int max = cache.getCacheAttributes().getMaxObjects();
         int items = max * 2;
@@ -194,7 +194,7 @@ public class LHMLRUMemoryCacheUnitTest
     public void testClearThroughHub()
         throws CacheException
     {
-        CacheAccess<String, String> cache = JCS.getInstance( "testPutGetThroughHub"
);
+        CacheAccess<String, String> cache = JCS.getInstance( "testClearThroughHub"
);
 
         int max = cache.getCacheAttributes().getMaxObjects();
         int items = max * 2;
@@ -279,7 +279,7 @@ public class LHMLRUMemoryCacheUnitTest
     public void testRemovePartialThroughHub()
         throws CacheException
     {
-        CacheAccess<String, String> cache = JCS.getInstance( "testGetStatsThroughHub"
);
+        CacheAccess<String, String> cache = JCS.getInstance( "testRemovePartialThroughHub"
);
 
         int max = cache.getCacheAttributes().getMaxObjects();
         int items = max / 2;



Mime
View raw message