public class CacheXml41Test extends CacheXml40Test
CacheXml30Test.CacheLoaderWithDeclarables, CacheXml30Test.EvictionObjectSizer, CacheXml30Test.ExceptionalCacheListener, CacheXml30Test.MyTestCacheListener, CacheXml30Test.MyTestCacheWriter, CacheXml30Test.MyTestTransactionListener, CacheXml30Test.NotDeclarableCacheListener, CacheXml30Test.TestBridgeClient, CacheXml30Test.TestDeclarable, CacheXml30Test.TestExceptionDistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
CacheXml41Test(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
_testDynamicRegionFactoryCacheWriter()
disabled test because it can only be done from a bridge client cache.
|
InputStream |
generate(com.gemstone.gemfire.internal.cache.xmlcache.CacheCreation creation)
Generates XML from the given
CacheCreation and returns an
InputStream for reading that XML. |
protected String |
getGemFireVersion()
The version of GemFire tested by this class.
|
void |
setBridgeAttributes(com.gemstone.gemfire.cache.util.BridgeServer bridge1)
Used by testBridgeServers to set version specific attributes
|
void |
testAddEntriesViaCacheXml()
Tests that loading cache XML can add/update entries to a region.
|
void |
testAddRegionViaCacheXml()
Tests that loading cache XML can create a region.
|
void |
testCreateSameRegionTwice()
Tests to make sure that we cannot create the same region multiple times in
a
cache.xml file. |
void |
testCreateSameSubregionTwice()
Tests to make sure that we cannot create the same subregion multiple times
in a
cache.xml file. |
void |
testDynamicRegionFactoryDefault() |
void |
testDynamicRegionFactoryDiskDir() |
void |
testDynamicRegionFactoryNonDefault() |
void |
testEnableAsyncConflationAttribute()
Test EnableAsyncConflation region attribute
|
void |
testEnableBridgeConflationAttribute()
Test EnableBridgeConflation region attribute
|
void |
testEnableGatewayAttribute()
Test EnableGateway region attribute
|
void |
testModifyCacheAttributes()
Tests that loading cache XML effects mutable cache attributes.
|
void |
testModifyRegionViaCacheXml()
Tests that loading cache XML can modify a region.
|
void |
testNamedAttributes()
Tests that a region created with a named attributes has the correct
attributes.
|
void |
testPublisherAttribute()
Deprecated.
as of GemFire 6.5.
|
void |
testRegisteringNamedRegionAttributes()
Tests that named region attributes are registered when the cache is
created.
|
void |
testUnknownNamedAttributes()
Tests that trying to parse an XML file that declares a region whose
attributes refer to an unknown named region attributes throws an
IllegalStateException. |
testBridgeServers, testCacheTransactionManager, testConstrainedValues, testIsLockGrantorAttribute, testServer, testTransactionListenerfindFile, getDistributedSystemProperties, setUp, setXmlFile, tearDown2, testAttributesUnordered, testBadFloat, testBadInt, testBadKeyConstraintClass, testBadScope, testBridgeClientAsLoader, testBridgeClientAsWriter, testBridgeClientLoaderOverride, testBridgeClientWriterOverride, testCacheListener, testCacheLoaderWithDeclarables, testCacheWriter, testCallbackNotDeclarable, testCallbackWithException, testConstrainedKeys, testDefaultCache, testDiskDirs, testDiskWriteAttributes, testEntriesInRootRegion, testEvictionLRUEntryAttributes, testEvictionLRUHeapAttributes, testEvictionLRUMemoryAttributes, testExampleCacheXmlFile, testExpirationAttriubutes, testLoaderNotLoader, testMalformed, testNestedRegions, testNonDefaultCache, testNonDefaultRegionAttributes, testNonExistentFile, testOverflowAndBackup, testXml, testXml, testXmlFileIsDirectoryaddExceptionTag1, basicGetCache, beginCacheXml, cleanDiskDirs, closeAllCache, closeCache, createLonerCache, createMcastCache, createMcastCache, createRegion, createRegion, createRootRegion, createRootRegion, disconnectFromDS, finishCacheXml, finishCacheXml, getCache, getCache, getCache, getCache, getClientCache, getDiskDirs, getGemfireCache, getInternalRegionArguments, getRootRegion, getRootRegion, hasCache, remoteTearDown, removeExceptionTag1, sendSerialMessageToAll, sendUnorderedMessageToAlladdExpectedException, addExpectedException, addHydraProperties, attachDebugger, checkBBFlag, cleanupAllVms, clearBBFlag, crashDistributedSystem, crashDistributedSystem, createLogWriter, disconnectAllFromDS, dumpAllStacks, dumpMyThreads, dumpStack, dumpStack, dumpStack, dumpStackTrace, fail, getAllDistributedSystemProperties, getDUnitLocatorAddress, getDUnitLocatorPort, getDUnitLocatorString, getDUnitLogLevel, getIPLiteral, getLogWriter, getLonerSystem, getMcastSystem, getMcastSystem, getRepeatTimeoutMs, getServerHostName, getSystem, getSystem, getTestClass, getTestName, getUniqueName, getVMCount, incBBFlag, invokeInEveryVM, invokeInEveryVM, invokeInEveryVM, invokeInEveryVM, invokeInEveryVMRepeatingIfNecessary, invokeInLocator, invokeRepeatingIfNecessary, isConnectedToDS, join, noteTiming, pause, pause, perVMSetUp, realTearDown, setDiskStoreForGateway, setSystem, setTestName, staticPause, tearDown, unregisterAllDataSerializersFromAllVms, unregisterDataSerializerInThisVM, unregisterInstantiatorsInThisVM, waitForBBFlag, waitForCriterion, waitMutexassertEquals, 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, runBare, runTest, setName, toStringpublic CacheXml41Test(String name)
protected String getGemFireVersion()
CacheXml30TestgetGemFireVersion in class CacheXml40TestCacheXml.VERSION_3_0public void setBridgeAttributes(com.gemstone.gemfire.cache.util.BridgeServer bridge1)
CacheXml40TestsetBridgeAttributes in class CacheXml40Testbridge1 - the bridge server to set attributes uponpublic void testRegisteringNamedRegionAttributes()
public void testNamedAttributes()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testUnknownNamedAttributes()
IllegalStateException.public void testCreateSameRegionTwice()
throws com.gemstone.gemfire.cache.CacheException
cache.xml file.com.gemstone.gemfire.cache.CacheExceptionpublic void testCreateSameSubregionTwice()
throws com.gemstone.gemfire.cache.CacheException
cache.xml file.com.gemstone.gemfire.cache.CacheExceptionpublic InputStream generate(com.gemstone.gemfire.internal.cache.xmlcache.CacheCreation creation)
CacheCreation and returns an
InputStream for reading that XML.public void testModifyCacheAttributes()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testAddRegionViaCacheXml()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testModifyRegionViaCacheXml()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testAddEntriesViaCacheXml()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testEnableGatewayAttribute()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testPublisherAttribute()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testEnableBridgeConflationAttribute()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testEnableAsyncConflationAttribute()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testDynamicRegionFactoryDefault()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testDynamicRegionFactoryNonDefault()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testDynamicRegionFactoryDiskDir()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void _testDynamicRegionFactoryCacheWriter()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.