package org.jboss.cache.tests;
import junit.framework.Test;
import junit.framework.TestSuite;
import java.util.Properties;
public class FileCacheLoaderTest extends CacheLoaderTestsBase {
protected void configureCache() throws Exception {
cache.setCacheLoaderClass("org.jboss.cache.loader.FileCacheLoader");
Properties props=new Properties();
props.setProperty("location", "c:\\tmp");
cache.setCacheLoaderConfig(props);
}
public static Test suite() {
return new TestSuite(FileCacheLoaderTest.class);
}
public static void main(String[] args) {
junit.textui.TestRunner.run(suite());
}
}