public class PartitionedRegionTestUtilsDUnitTest extends PartitionedRegionDUnitTestCase
| Modifier and Type | Class and Description |
|---|---|
static class |
PartitionedRegionTestUtilsDUnitTest.TestGetNodesKey
Test the test method PartitionedRegion.getAllNodes
Verify that it returns nodes after a value has been placed into the PartitionedRegion.
|
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
PartitionedRegionTestUtilsDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
testGetBucketKeys()
Test the test method PartitionedRegion.getAllNodes
Verify that it returns nodes after a value has been placed into the PartitionedRegion.
|
void |
testGetBucketOwners()
Test the test method
PartitionedRegion.getBucketOwnersForValidation(int)
Verify that the information it discovers is the same as the local advisor. |
void |
testGetKeys()
Test the
PartitionedRegion.getSomeKeys(Random) method, making sure it
returns keys when there are keys and Collections#EMPTY_SET when there are none. |
void |
testGetNodes() |
void |
testLocalCacheOps()
Test the test utiltities that allow investigation of a PartitionedRegion's local cache.
|
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 PartitionedRegionTestUtilsDUnitTest(String name)
public void testGetKeys()
throws Exception
PartitionedRegion.getSomeKeys(Random) method, making sure it
returns keys when there are keys and Collections#EMPTY_SET when there are none.Exceptionpublic void testLocalCacheOps()
throws Exception
Exceptionpublic void testGetBucketKeys()
throws Exception
ExceptionPartitionedRegion.getAllNodes()Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.