[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/loader ...
Manik Surtani
msurtani at jboss.com
Thu Jul 20 06:54:00 EDT 2006
User: msurtani
Date: 06/07/20 06:54:00
Modified: tests/functional/org/jboss/cache/loader
CacheLoaderMethodCallCounterTest.java
ChainingCacheLoaderBasicTest.java
Log:
Fixed some broken UTs to use the new xml parsers, cache factories, etc.
Revision Changes Path
1.9 +1 -1 JBossCache/tests/functional/org/jboss/cache/loader/CacheLoaderMethodCallCounterTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheLoaderMethodCallCounterTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/loader/CacheLoaderMethodCallCounterTest.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- CacheLoaderMethodCallCounterTest.java 6 Apr 2006 16:37:13 -0000 1.8
+++ CacheLoaderMethodCallCounterTest.java 20 Jul 2006 10:54:00 -0000 1.9
@@ -28,7 +28,7 @@
{
if (cache != null) tearDown();
cache = new TreeCache();
- cache.setCacheLoaderConfiguration(getSingleCacheLoaderConfig("", DummyCacheLoader.class.getName(), "", false, false, false));
+ cache.getConfiguration().setCacheLoaderConfiguration(getSingleCacheLoaderConfig("", DummyCacheLoader.class.getName(), "", false, false, false));
cache.startService();
dummyLoader = (DummyCacheLoader) cache.getCacheLoader();
}
1.4 +1 -1 JBossCache/tests/functional/org/jboss/cache/loader/ChainingCacheLoaderBasicTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ChainingCacheLoaderBasicTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/loader/ChainingCacheLoaderBasicTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ChainingCacheLoaderBasicTest.java 10 Jan 2006 23:41:18 -0000 1.3
+++ ChainingCacheLoaderBasicTest.java 20 Jul 2006 10:54:00 -0000 1.4
@@ -34,7 +34,7 @@
protected void configureCache() throws Exception
{
- cache.setCacheLoaderConfiguration(getCacheLoaderConfig(loc1, loc2));
+ cache.getConfiguration().setCacheLoaderConfiguration(getCacheLoaderConfig(loc1, loc2));
}
protected Element getCacheLoaderConfig(String loc1, String loc2) throws Exception
More information about the jboss-cvs-commits
mailing list