[jboss-cvs] JBossCache/tests/perf/org/jboss/cache/loader ...
Manik Surtani
msurtani at jboss.com
Thu Jul 20 04:53:08 EDT 2006
User: msurtani
Date: 06/07/20 04:53:08
Modified: tests/perf/org/jboss/cache/loader CacheLoaderPerfTest.java
Log:
Fixed some broken UTs to use the new xml parsers, cache factories, etc.
Revision Changes Path
1.7 +1 -1 JBossCache/tests/perf/org/jboss/cache/loader/CacheLoaderPerfTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheLoaderPerfTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/perf/org/jboss/cache/loader/CacheLoaderPerfTest.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- CacheLoaderPerfTest.java 5 May 2006 12:58:44 -0000 1.6
+++ CacheLoaderPerfTest.java 20 Jul 2006 08:53:08 -0000 1.7
@@ -35,7 +35,7 @@
if (cache != null) tearDown();
String tmpLocation = System.getProperty("java.io.tmpdir", ".") + File.separator + "JBossCache-CacheLoaderPerfTest";
cache = new TreeCache();
- cache.setCacheLoaderConfiguration(getSingleCacheLoaderConfig("", "org.jboss.cache.loader.FileCacheLoader", "location=" + tmpLocation, false, false, false));
+ cache.getConfiguration().setCacheLoaderConfiguration(getSingleCacheLoaderConfig("", "org.jboss.cache.loader.FileCacheLoader", "location=" + tmpLocation, false, false, false));
File dir = new File(tmpLocation);
if (!dir.exists()) dir.mkdirs();
cache.startService();
More information about the jboss-cvs-commits
mailing list