public class LocalFunctionExecutionDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static com.gemstone.gemfire.cache.Cache |
cache |
protected static VM |
dataStore1 |
protected static com.gemstone.gemfire.cache.Region |
region |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
LocalFunctionExecutionDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
createCache() |
static void |
createCacheInVm() |
static void |
createDR(String distributedRegionName,
com.gemstone.gemfire.cache.DataPolicy dataPolicy) |
static void |
createPR(String partitionedRegionName,
Integer redundancy,
Integer localMaxMemory,
Integer totalNumBuckets,
String colocatedWith) |
static void |
executeFunction() |
static void |
executeFunctionOnMember() |
static void |
put() |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
testLocalDataSetDR() |
void |
testLocalDataSetPR() |
void |
testLocalMember() |
addExpectedException, addExpectedException, addHydraProperties, attachDebugger, checkBBFlag, cleanupAllVms, clearBBFlag, crashDistributedSystem, crashDistributedSystem, createLogWriter, disconnectAllFromDS, disconnectFromDS, 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 com.gemstone.gemfire.cache.Region region
public LocalFunctionExecutionDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic void testLocalDataSetPR()
public void testLocalDataSetDR()
public void testLocalMember()
public static void createCacheInVm()
public void createCache()
public static void createPR(String partitionedRegionName, Integer redundancy, Integer localMaxMemory, Integer totalNumBuckets, String colocatedWith)
public static void createDR(String distributedRegionName, com.gemstone.gemfire.cache.DataPolicy dataPolicy)
public static void put()
public static void executeFunction()
public static void executeFunctionOnMember()
public void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCaseExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.