|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.hibernate.testing.junit.UnitTestCase org.hibernate.testing.junit.functional.FunctionalTestCase org.hibernate.testing.cache.BaseCacheTestCase org.hibernate.testing.cache.BaseCacheProviderTestCase
public abstract class BaseCacheProviderTestCase
Common requirement testing for each CacheProvider
impl.
Field Summary |
---|
Fields inherited from class org.hibernate.testing.junit.functional.FunctionalTestCase |
---|
NO_CLASSES, NO_MAPPINGS |
Constructor Summary | |
---|---|
BaseCacheProviderTestCase(String x)
|
Method Summary | |
---|---|
protected void |
configCache(Configuration cfg)
|
protected abstract Class |
getCacheProvider()
The cache provider to be tested. |
protected Map |
getMapFromCachedEntry(Object entry)
|
Methods inherited from class org.hibernate.testing.cache.BaseCacheTestCase |
---|
configure, getBaseForMappings, getConfigResourceKey, getConfigResourceLocation, getMappings, testEmptySecondLevelCacheEntry, testQueryCacheInvalidation, testStaleWritesLeaveCacheConsistent, useTransactionManager |
Methods inherited from class org.hibernate.testing.junit.UnitTestCase |
---|
assertClassAssignability, assertElementTypeAssignability, createFailureExpectedSuite, fullTestName, reportSkip, runBare |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BaseCacheProviderTestCase(String x)
Method Detail |
---|
protected void configCache(Configuration cfg)
configCache
in class BaseCacheTestCase
protected abstract Class getCacheProvider()
protected Map getMapFromCachedEntry(Object entry)
getMapFromCachedEntry
in class BaseCacheTestCase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |