added reference tests for cache managers

This commit is contained in:
Sebastian Sdorra
2013-03-25 11:58:05 +01:00
parent 1ae6ab4c79
commit 91d5f8085e
4 changed files with 374 additions and 0 deletions

View File

@@ -35,6 +35,8 @@ package sonia.scm.cache;
//~--- non-JDK imports --------------------------------------------------------
import com.google.common.annotations.VisibleForTesting;
import net.sf.ehcache.Element;
import org.slf4j.Logger;
@@ -186,6 +188,18 @@ public class EhCache<K, V> implements Cache<K, V>
return value;
}
/**
* Method description
*
*
* @return
*/
@VisibleForTesting
net.sf.ehcache.Cache getCacheImplementation()
{
return cache;
}
//~--- fields ---------------------------------------------------------------
/** Field description */