[jboss-cvs] JBossCache/tests/perf/org/jboss/cache/loader ...
Brian Stansberry
brian.stansberry at jboss.com
Wed Oct 25 00:51:38 EDT 2006
User: bstansberry
Date: 06/10/25 00:51:38
Modified: tests/perf/org/jboss/cache/loader CacheLoaderPerfTest.java
JDBCCacheLoaderPerfTest.java
Log:
Handle parsing of config XML in XmlConfigurationParser
Revision Changes Path
1.9 +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.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- CacheLoaderPerfTest.java 6 Sep 2006 15:31:01 -0000 1.8
+++ CacheLoaderPerfTest.java 25 Oct 2006 04:51:38 -0000 1.9
@@ -35,7 +35,7 @@
if (cache != null) tearDown();
String tmpLocation = System.getProperty("java.io.tmpdir", ".") + File.separator + "JBossCache-CacheLoaderPerfTest";
cache = new TreeCache();
- cache.getConfiguration().setCacheLoaderConfiguration(getSingleCacheLoaderConfig("", "org.jboss.cache.loader.FileCacheLoader", "location=" + tmpLocation, false, false, false));
+ cache.getConfiguration().setCacheLoaderConfig(getSingleCacheLoaderConfig("", "org.jboss.cache.loader.FileCacheLoader", "location=" + tmpLocation, false, false, false));
File dir = new File(tmpLocation);
if (!dir.exists()) dir.mkdirs();
cache.start();
1.5 +1 -1 JBossCache/tests/perf/org/jboss/cache/loader/JDBCCacheLoaderPerfTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: JDBCCacheLoaderPerfTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/perf/org/jboss/cache/loader/JDBCCacheLoaderPerfTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- JDBCCacheLoaderPerfTest.java 6 Sep 2006 15:31:01 -0000 1.4
+++ JDBCCacheLoaderPerfTest.java 25 Oct 2006 04:51:38 -0000 1.5
@@ -80,7 +80,7 @@
"cache.jdbc.user=" + prop.getProperty("cache.jdbc.user") + "\n" +
"cache.jdbc.password=" + prop.getProperty("cache.jdbc.password") + "\n" +
"cache.jdbc.node.type=" + prop.getProperty("cache.jdbc.node.type");
- cache.getConfiguration().setCacheLoaderConfiguration(getSingleCacheLoaderConfig("", "org.jboss.cache.loader.JDBCCacheLoader", props, false, true, false));
+ cache.getConfiguration().setCacheLoaderConfig(getSingleCacheLoaderConfig("", "org.jboss.cache.loader.JDBCCacheLoader", props, false, true, false));
}
public void testPut() throws Exception
More information about the jboss-cvs-commits
mailing list