You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by hc...@apache.org on 2005/02/02 12:26:54 UTC
cvs commit: jakarta-turbine-jcs/sandbox/yajcache/test/org/apache/jcs/yajcache/soft SoftRefCacheTest.java
hchar 2005/02/02 03:26:54
Modified: sandbox/yajcache/test/org/apache/jcs/yajcache/core
CacheManagerTest.java SafeCacheManagerTest.java
sandbox/yajcache/test/org/apache/jcs/yajcache/soft
SoftRefCacheTest.java
Log:
log CacheManager
Revision Changes Path
1.5 +3 -0 jakarta-turbine-jcs/sandbox/yajcache/test/org/apache/jcs/yajcache/core/CacheManagerTest.java
Index: CacheManagerTest.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-jcs/sandbox/yajcache/test/org/apache/jcs/yajcache/core/CacheManagerTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- CacheManagerTest.java 1 Feb 2005 10:35:13 -0000 1.4
+++ CacheManagerTest.java 2 Feb 2005 11:26:54 -0000 1.5
@@ -70,6 +70,7 @@
} catch(ClassCastException ex) {
// should go here.
}
+ log.debug(CacheManager.inst);
}
public void testGetCacheRaceCondition() {
@@ -89,6 +90,7 @@
// should go here.
}
assertTrue(intCache == intCache1);
+ log.debug(CacheManager.inst);
}
public void testRemoveCache() {
@@ -105,5 +107,6 @@
"race", Double.class, CacheType.SOFT_REFERENCE);
doubleCache.put("double", 1.234);
assertEquals(1.234, doubleCache.get("double"));
+ log.debug(CacheManager.inst);
}
}
1.5 +3 -0 jakarta-turbine-jcs/sandbox/yajcache/test/org/apache/jcs/yajcache/core/SafeCacheManagerTest.java
Index: SafeCacheManagerTest.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-jcs/sandbox/yajcache/test/org/apache/jcs/yajcache/core/SafeCacheManagerTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- SafeCacheManagerTest.java 1 Feb 2005 10:36:26 -0000 1.4
+++ SafeCacheManagerTest.java 2 Feb 2005 11:26:54 -0000 1.5
@@ -69,6 +69,7 @@
} catch(ClassCastException ex) {
// should go here.
}
+ log.debug(CacheManager.inst);
}
public void testGetCacheRaceCondition() {
@@ -104,6 +105,7 @@
"race", Double.class, CacheType.SOFT_REFERENCE_SAFE);
doubleCache.put("double", 1.234);
assertEquals(1.234, doubleCache.get("double"));
+ log.debug(CacheManager.inst);
}
public void testGetSafeCache() {
@@ -174,5 +176,6 @@
} catch(ClassCastException ex) {
// should go here.
}
+ log.debug(CacheManager.inst);
}
}
1.6 +1 -0 jakarta-turbine-jcs/sandbox/yajcache/test/org/apache/jcs/yajcache/soft/SoftRefCacheTest.java
Index: SoftRefCacheTest.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-jcs/sandbox/yajcache/test/org/apache/jcs/yajcache/soft/SoftRefCacheTest.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- SoftRefCacheTest.java 1 Feb 2005 10:36:26 -0000 1.5
+++ SoftRefCacheTest.java 2 Feb 2005 11:26:54 -0000 1.6
@@ -69,5 +69,6 @@
// log.debug("count: " + sc.getCollectorCount());
// log.debug(SoftRefCacheCleaner.inst.toString());
log.debug(c);
+ log.debug(CacheManager.inst);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-jcs-dev-help@jakarta.apache.org