public class LocalDataSetDUnitTest extends CacheTestCase
| Modifier and Type | Class and Description |
|---|---|
protected static class |
LocalDataSetDUnitTest.IterateFunction |
protected static class |
LocalDataSetDUnitTest.ReadHook |
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static VM |
accessor |
protected static com.gemstone.gemfire.cache.Cache |
cache |
protected static com.gemstone.gemfire.cache.Region |
customerPR |
protected static VM |
dataStore1 |
protected static VM |
dataStore2 |
protected static VM |
dataStore3 |
protected static com.gemstone.gemfire.cache.Region |
orderPR |
protected static com.gemstone.gemfire.cache.Region |
shipmentPR |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
LocalDataSetDUnitTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
createCache() |
static void |
createCacheInAllVms() |
static void |
createCacheInVm() |
static void |
createPR(java.lang.String partitionedRegionName,
java.lang.Integer redundancy,
java.lang.Integer localMaxMemory,
java.lang.Integer totalNumBuckets,
java.lang.String colocatedWith) |
static void |
executeFunction() |
java.lang.Integer |
getHookInvoked() |
static void |
put() |
static void |
registerFunction() |
static void |
registerIteratorFunction() |
static void |
setHookInvoked() |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
testLocalDataSet() |
void |
testLocalDataSetIteration() |
addExceptionTag1, 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, 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, toStringprotected static com.gemstone.gemfire.cache.Cache cache
protected static VM dataStore1
protected static VM dataStore2
protected static VM dataStore3
protected static VM accessor
protected static com.gemstone.gemfire.cache.Region customerPR
protected static com.gemstone.gemfire.cache.Region orderPR
protected static com.gemstone.gemfire.cache.Region shipmentPR
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class DistributedTestCasejava.lang.Exceptionpublic void testLocalDataSet()
public void testLocalDataSetIteration()
public static void setHookInvoked()
public java.lang.Integer getHookInvoked()
public static void executeFunction()
public static void registerFunction()
public static void registerIteratorFunction()
public static void createCacheInAllVms()
public static void createCacheInVm()
public void createCache()
public static void createPR(java.lang.String partitionedRegionName,
java.lang.Integer redundancy,
java.lang.Integer localMaxMemory,
java.lang.Integer totalNumBuckets,
java.lang.String colocatedWith)
public static void put()
public void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCasejava.lang.ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.