|
||||||||||
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.junit.UnitTestCase org.hibernate.junit.functional.FunctionalTestCase org.hibernate.test.cache.BaseCacheProviderTestCase
public abstract class BaseCacheProviderTestCase
Common requirement testing for each CacheProvider
impl.
Constructor Summary | |
---|---|
BaseCacheProviderTestCase(String x)
|
Method Summary | |
---|---|
void |
configure(Configuration cfg)
|
protected abstract Class |
getCacheProvider()
The cache provider to be tested. |
protected abstract String |
getConfigResourceKey()
For provider-specific configuration, the name of the property key the provider expects. |
protected abstract String |
getConfigResourceLocation()
For provider-specific configuration, the resource location of that config resource. |
String[] |
getMappings()
|
void |
testEmptySecondLevelCacheEntry()
|
void |
testQueryCacheInvalidation()
|
void |
testStaleWritesLeaveCacheConsistent()
|
protected abstract boolean |
useTransactionManager()
Should we use a transaction manager for transaction management. |
Methods inherited from class org.hibernate.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 |
---|
public String[] getMappings()
public void configure(Configuration cfg)
configure
in interface ExecutionEnvironment.Settings
configure
in class FunctionalTestCase
protected abstract Class getCacheProvider()
protected abstract String getConfigResourceKey()
protected abstract String getConfigResourceLocation()
protected abstract boolean useTransactionManager()
public void testQueryCacheInvalidation()
public void testEmptySecondLevelCacheEntry() throws Exception
Exception
public void testStaleWritesLeaveCacheConsistent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |