| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.hibernate.testing.junit.UnitTestCase
org.hibernate.testing.junit.functional.FunctionalTestCase
org.hibernate.testing.cache.BaseCacheTestCase
public abstract class BaseCacheTestCase
| Field Summary | 
|---|
| Fields inherited from class org.hibernate.testing.junit.functional.FunctionalTestCase | 
|---|
| NO_CLASSES, NO_MAPPINGS | 
| Constructor Summary | |
|---|---|
| BaseCacheTestCase(String string) | |
| Method Summary | |
|---|---|
| protected abstract  void | configCache(Configuration cfg) | 
|  void | configure(Configuration cfg) | 
|  String | getBaseForMappings() | 
| 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. | 
| protected abstract  Map | getMapFromCachedEntry(Object entry) | 
|  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.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 BaseCacheTestCase(String string)
| Method Detail | 
|---|
public String getBaseForMappings()
getBaseForMappings in interface ExecutionEnvironment.SettingsgetBaseForMappings in class FunctionalTestCasepublic String[] getMappings()
getMappings in interface ExecutionEnvironment.SettingsgetMappings in class FunctionalTestCasepublic void configure(Configuration cfg)
configure in interface ExecutionEnvironment.Settingsconfigure in class FunctionalTestCaseprotected abstract void configCache(Configuration cfg)
protected abstract String getConfigResourceKey()
protected abstract String getConfigResourceLocation()
protected abstract boolean useTransactionManager()
public void testQueryCacheInvalidation()
public void testEmptySecondLevelCacheEntry()
                                    throws Exception
Exceptionpublic void testStaleWritesLeaveCacheConsistent()
protected abstract Map getMapFromCachedEntry(Object entry)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||