public abstract class BaseCacheTestCase extends FunctionalTestCase
NO_CLASSES, NO_MAPPINGS
Constructor and Description |
---|
BaseCacheTestCase(String string) |
Modifier and Type | Method and Description |
---|---|
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.
|
afterConfigurationBuilt, afterSessionFactoryBuilt, allowsPhysicalColumnNameInHaving, allowsPhysicalColumnNameInOrderby, appliesTo, assertAllDataRemoved, cleanupTest, createSchema, dialectIs, dialectIsCaseSensitive, dialectIsNot, dialectIsNot, dialectIsOneOf, dialectSupportsEmptyInList, getAnnotatedClasses, getCacheConcurrencyStrategy, getCfg, getDialect, getEnvironment, getSessions, isSerializableIsolationEnforced, openSession, openSession, overrideCacheStrategy, prepareTest, readCommittedIsolationMaintained, recreateSchemaAfterFailure, runTest, setEnvironment, setUp, sfi, skipExpectedFailure, supportsCircularCascadeDelete, supportsExpectedLobUsagePattern, supportsLobValueChangePropogation, supportsResultSetPositionQueryMethodsOnForwardOnlyCursor, supportsSubqueryOnMutatingTable, supportsSubselectOnLeftSideIn, supportsUnboundedLobLocatorMaterialization, tearDown
assertClassAssignability, assertElementTypeAssignability, createFailureExpectedSuite, fullTestName, reportSkip, runBare
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, setName, toString
public BaseCacheTestCase(String string)
public String getBaseForMappings()
getBaseForMappings
in interface ExecutionEnvironment.Settings
getBaseForMappings
in class FunctionalTestCase
public String[] getMappings()
getMappings
in interface ExecutionEnvironment.Settings
getMappings
in class FunctionalTestCase
public void configure(Configuration cfg)
configure
in interface ExecutionEnvironment.Settings
configure
in class FunctionalTestCase
protected 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
Exception
public void testStaleWritesLeaveCacheConsistent()
Copyright © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved