public abstract class AbstractLocatorLauncherDUnitTestCase extends AbstractLauncherDUnitTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected com.gemstone.gemfire.distributed.LocatorLauncher |
launcher |
protected int |
locatorPort |
INTERVAL_MILLISECONDS, pidFile, socket, statusFile, statusRequestFile, stopRequestFile, TIMEOUT_MILLISECONDScachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
AbstractLocatorLauncherDUnitTestCase(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanupLocatorLauncher() |
protected static void |
overrideDefaultPort(int port) |
protected static void |
restoreDefaultPort() |
void |
subSetUp()
To be overridden in subclass.
|
protected abstract void |
subSetUp1()
To be overridden in subclass.
|
void |
subTearDown()
To be overridden in subclass.
|
protected abstract void |
subTearDown1()
To be overridden in subclass.
|
protected static void |
waitForLocatorToStart(int port,
long timeout,
long interval,
boolean throwOnTimeout) |
protected void |
waitForLocatorToStart(com.gemstone.gemfire.distributed.LocatorLauncher launcher) |
protected void |
waitForLocatorToStart(com.gemstone.gemfire.distributed.LocatorLauncher launcher,
boolean throwOnTimeout) |
protected void |
waitForLocatorToStart(com.gemstone.gemfire.distributed.LocatorLauncher launcher,
long timeout,
boolean throwOnTimeout) |
protected void |
waitForLocatorToStart(com.gemstone.gemfire.distributed.LocatorLauncher launcher,
long timeout,
long interval,
boolean throwOnTimeout) |
createCollectionListener, createExpectedListener, createLoggingListener, delete, getPid, isPidAlive, readPid, setUp, tearDown2, waitForFileToDelete, waitForFileToDelete, waitForFileToExist, waitForFileToExist, waitForPidToStop, waitForPidToStop, writeGemfireProperties, writePidaddExceptionTag1, 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 transient volatile int locatorPort
protected transient volatile com.gemstone.gemfire.distributed.LocatorLauncher launcher
public AbstractLocatorLauncherDUnitTestCase(String name)
public final void subSetUp()
throws Exception
AbstractLauncherDUnitTestCasesubSetUp in class AbstractLauncherDUnitTestCaseExceptionpublic final void subTearDown()
throws Exception
AbstractLauncherDUnitTestCasesubTearDown in class AbstractLauncherDUnitTestCaseExceptionprotected abstract void subSetUp1()
throws Exception
Exceptionprotected abstract void subTearDown1()
throws Exception
Exceptionprotected void cleanupLocatorLauncher()
protected void waitForLocatorToStart(com.gemstone.gemfire.distributed.LocatorLauncher launcher,
long timeout,
long interval,
boolean throwOnTimeout)
protected void waitForLocatorToStart(com.gemstone.gemfire.distributed.LocatorLauncher launcher,
long timeout,
boolean throwOnTimeout)
protected void waitForLocatorToStart(com.gemstone.gemfire.distributed.LocatorLauncher launcher,
boolean throwOnTimeout)
protected void waitForLocatorToStart(com.gemstone.gemfire.distributed.LocatorLauncher launcher)
protected static void waitForLocatorToStart(int port,
long timeout,
long interval,
boolean throwOnTimeout)
throws IOException
IOExceptionprotected static void overrideDefaultPort(int port)
protected static void restoreDefaultPort()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.