[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/loader ...
Brian Stansberry
brian.stansberry at jboss.com
Thu Oct 26 15:30:21 EDT 2006
User: bstansberry
Date: 06/10/26 15:30:21
Modified: tests/functional/org/jboss/cache/loader BdbjeTest.java
Log:
Make cache loader Config classes top level classes
Revision Changes Path
1.14 +5 -6 JBossCache/tests/functional/org/jboss/cache/loader/BdbjeTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BdbjeTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/loader/BdbjeTest.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- BdbjeTest.java 25 Oct 2006 04:50:19 -0000 1.13
+++ BdbjeTest.java 26 Oct 2006 19:30:21 -0000 1.14
@@ -11,8 +11,7 @@
import org.jboss.cache.Fqn;
import org.jboss.cache.Modification;
import org.jboss.cache.TreeCache;
-import org.jboss.cache.loader.bdbje.BdbjeCacheLoader;
-import org.jboss.cache.loader.bdbje.BdbjeCacheLoader.Config;
+import org.jboss.cache.loader.bdbje.BdbjeCacheLoaderConfig;
import org.jboss.cache.statetransfer.StateTransferManager;
import org.jboss.util.stream.MarshalledValueInputStream;
import org.jboss.util.stream.MarshalledValueOutputStream;
@@ -36,7 +35,7 @@
* directory. Any scratch directory will do, but beware that all files in
* the directory will be deleted by setUp().</p>
*
- * @version $Revision: 1.13 $
+ * @version $Revision: 1.14 $
*/
public class BdbjeTest extends TestCase
{
@@ -164,7 +163,7 @@
/* Initialize and start the loader. */
loader.setCache(treeCache.getCacheSPI());
- BdbjeCacheLoader.Config config = new BdbjeCacheLoader.Config();
+ BdbjeCacheLoaderConfig config = new BdbjeCacheLoaderConfig();
config.setLocation(configStr);
loader.setConfig(config);
loader.create();
@@ -827,7 +826,7 @@
}
// loader.setCache(null);
- Config config = new Config();
+ BdbjeCacheLoaderConfig config = new BdbjeCacheLoaderConfig();
config.setLocation("xyz");
loader.setConfig(config);
try
@@ -840,7 +839,7 @@
}
loader.setCache(new TreeCache().getCacheSPI());
- config = new Config();
+ config = new BdbjeCacheLoaderConfig();
config.setLocation("directory_that_does_not_exist");
loader.setConfig(config);
try
More information about the jboss-cvs-commits
mailing list