public abstract class LocatorTestBase extends DistributedTestCase
| Modifier and Type | Class and Description |
|---|---|
protected static class |
LocatorTestBase.MyLocatorCallback |
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static String |
CACHE_KEY |
protected static Object |
CALLBACK_KEY |
protected static String |
LOCATOR_KEY |
protected static String |
POOL_NAME |
protected static String |
REGION_NAME |
protected static HashMap |
remoteObjects
A map for storing temporary objects in a remote VM so that they can be used
between calls.
|
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
LocatorTestBase(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
addBridgeServerInVM(VM vm,
String[] groups) |
String |
getLocatorString(Host host,
int locatorPort) |
String |
getLocatorString(Host host,
int[] locatorPorts) |
protected void |
startBridgeClientInVM(VM vm,
com.gemstone.gemfire.cache.client.Pool pool,
String[] regions) |
protected void |
startBridgeClientInVM(VM vm,
String group,
String host,
int port) |
protected void |
startBridgeClientInVM(VM vm,
String group,
String host,
int port,
String[] regions) |
protected int |
startBridgeServerInVM(VM vm,
String[] groups,
String locators) |
protected int |
startBridgeServerInVM(VM vm,
String[] groups,
String locators,
String[] regions) |
protected int |
startBridgeServerInVM(VM vm,
String[] groups,
String locators,
String[] regions,
com.gemstone.gemfire.cache.server.ServerLoadProbe probe) |
protected int |
startBridgeServerWithEmbeddedLocator(VM vm,
String[] groups,
String locators,
String[] regions,
com.gemstone.gemfire.cache.server.ServerLoadProbe probe) |
protected void |
startLocatorInVM(VM vm,
int locatorPort,
String otherLocators) |
protected void |
stopBridgeMemberVM(VM vm) |
protected void |
stopLocatorInVM(VM vm) |
void |
tearDown2()
Tears down the test.
|
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, 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, toStringprotected static final String CACHE_KEY
protected static final String LOCATOR_KEY
protected static final String REGION_NAME
protected static final String POOL_NAME
protected static final Object CALLBACK_KEY
protected static final HashMap remoteObjects
public LocatorTestBase(String name)
public void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCaseExceptionprotected void stopLocatorInVM(VM vm)
protected int startBridgeServerInVM(VM vm, String[] groups, String locators, String[] regions)
protected int startBridgeServerInVM(VM vm, String[] groups, String locators, String[] regions, com.gemstone.gemfire.cache.server.ServerLoadProbe probe)
protected int startBridgeServerWithEmbeddedLocator(VM vm, String[] groups, String locators, String[] regions, com.gemstone.gemfire.cache.server.ServerLoadProbe probe)
protected void startBridgeClientInVM(VM vm, String group, String host, int port)
protected void startBridgeClientInVM(VM vm, String group, String host, int port, String[] regions)
protected void startBridgeClientInVM(VM vm, com.gemstone.gemfire.cache.client.Pool pool, String[] regions)
protected void stopBridgeMemberVM(VM vm)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.