/*
* JBoss, the OpenSource J2EE webOS
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.cache.tests;

import junit.framework.Test;
import junit.framework.TestSuite;

import java.util.Properties;

/**
 * Created by IntelliJ IDEA.
 * User: bela
 * Date: Jun 9, 2004
 * Time: 9:05:19 AM
 */
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());
   }

}