public class PartitionedRegionAsSubRegionDUnitTest extends PartitionedRegionDUnitTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
static String |
PR_PREFIX |
cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
PartitionedRegionAsSubRegionDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected com.gemstone.gemfire.cache.RegionAttributes |
createRegionAttributesForDACKRegions()
This method creates RegionAttributes for the Parent and Child region of the
ParentRegion/ChildRegion/PartitionedRegion hierarchy
|
protected com.gemstone.gemfire.cache.RegionAttributes |
createRegionAttributesForPR(int redundancy,
int localMaxMem)
This private methods sets the passed attributes and returns RegionAttribute
object, which is used in create region
|
void |
testSubRegionClose()
This method test the close call on a Child region in
ParentRegion/ChildRegion/PartitionedRegion hierarchy which has
PartitionedRegion as sub region.
|
void |
testSubRegionDestroyRegion()
This method test the destroyRegion call on a Child region in
ParentRegion/ChildRegion/PartitionedRegion hierarchy which has
PartitionedRegion as sub region.
|
void |
testSubRegionLocalDestroyRegion()
This method test the localDestroyRegion call on a Child region in
ParentRegion/ChildRegion/PartitionedRegion hierarchy which has
PartitionedRegion as sub region.
|
caseSetUp, caseTearDown, createMultiplePartitionRegion, createMultiplePartitionRegion, createRegionAttrsForPR, destroyInMultiplePartitionRegion, destroyRegionInMultiplePartitionRegion, disconnectVM, getCreateMultiplePRregion, getInMultiplePartitionRegion, getRemovedOrDestroyedInMultiplePartitionRegion, invalidatesInMultiplePartitionRegion, putAfterDestroyInMultiplePartitionedRegion, putInMultiplePartitionRegion, resetVMLogLevel, setLogLevel, setVMInfoLogLevel, tearDown2, validateMultiplePartitionRegionaddExceptionTag1, 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, getDistributedSystemProperties, 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, setUp, 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 static final String PR_PREFIX
public PartitionedRegionAsSubRegionDUnitTest(String name)
public void testSubRegionDestroyRegion()
throws Exception
Exceptionpublic void testSubRegionLocalDestroyRegion()
throws Exception
Exceptionpublic void testSubRegionClose()
throws Exception
Exceptionprotected com.gemstone.gemfire.cache.RegionAttributes createRegionAttributesForPR(int redundancy,
int localMaxMem)
redundancy - localMaxMem - protected com.gemstone.gemfire.cache.RegionAttributes createRegionAttributesForDACKRegions()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.