public class PartitionedRegionCreationDUnitTest extends PartitionedRegionDUnitTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
PartitionedRegionCreationDUnitTest(String name)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
CacheSerializableRunnable |
getCacheSerializableRunnableForPRCreate(String regionName,
int cnt,
int redundancy,
String exceptionType)
this function creates partion region with the given name and throws
appropriate exception
|
CacheSerializableRunnable |
getCacheSerializableRunnableForPRInitialize()
This function tests root, allpartition region and their scope and
mirrortype attribute.
|
CacheSerializableRunnable |
getCacheSerializableRunnableForPRPersistence(String regionName,
int localMaxMemory,
boolean isPersistent,
boolean expectException)
this function creates partition region with the specified persistence and
throws appropriate exception
|
CacheSerializableRunnable |
getCacheSerializableRunnableForPRRegistration(String rgionName)
this function tests psConfig for the regions
|
CacheSerializableRunnable |
getCacheSerializableRunnableForPRValidate(String regionName)
this function validates partition regions
|
void |
testConcurrentCreation_2()
This test create regions with scope = DISTRIBUTED_NO_ACK and then
validating these partition regons.
|
void |
testConcurrentCreation()
This test create regions with scope = DISTRIBUTED_NO_ACK and then
validating these partition regons
|
void |
testPartitionedRegionNameWithSpaces()
Test Partitioned Region names that contain spaces
|
void |
testPartitionedRegionRedundancyConflict()
Test whether partition region creation is preveented when
an instance is created that has the incorrect redundancy
|
void |
testPartitionRegionInitialization()
This test creates partition region with scope = DISTRIBUTED_ACK and tests
whether all the attributes of partiotion region are properlt initialized
|
void |
testPartitionRegionPersistenceConflicts()
This tests persistence conflicts btw members of partition region
|
void |
testPartitionRegionRegistration()
This tests registration of partition region is happened in allpartition
region
|
void |
testSequentialCreation()
This tests creates partition regions with scope = DISTRIBUTED_ACK and then
validating thoes partition regions
|
void |
testTotalNumberOfBuckets()
This method validates that TotalNumberOfBuckets are getting set properly.
|
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 PartitionedRegionCreationDUnitTest(String name)
name - public void testSequentialCreation()
throws Exception
Exceptionpublic void testConcurrentCreation()
throws Throwable
public void testConcurrentCreation_2()
throws Exception
Exceptionpublic void testPartitionedRegionNameWithSpaces()
throws Exception
Exceptionpublic void testPartitionedRegionRedundancyConflict()
throws Exception
Exceptionpublic void testPartitionRegionInitialization()
throws Throwable
public void testPartitionRegionRegistration()
throws Throwable
public void testPartitionRegionPersistenceConflicts()
throws Throwable
public CacheSerializableRunnable getCacheSerializableRunnableForPRInitialize()
public CacheSerializableRunnable getCacheSerializableRunnableForPRRegistration(String rgionName)
rgionName - public CacheSerializableRunnable getCacheSerializableRunnableForPRCreate(String regionName, int cnt, int redundancy, String exceptionType)
regionName - cnt - redundancy - exceptionType - objName - public CacheSerializableRunnable getCacheSerializableRunnableForPRPersistence(String regionName, int localMaxMemory, boolean isPersistent, boolean expectException)
regionName - cnt - redundancy - exceptionType - objName - public CacheSerializableRunnable getCacheSerializableRunnableForPRValidate(String regionName)
regionName - Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.