public abstract class AbstractServerLauncherDUnitTestCase extends AbstractLauncherDUnitTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected java.io.File |
cacheXmlFile |
protected com.gemstone.gemfire.distributed.ServerLauncher |
launcher |
protected int |
serverPort |
INTERVAL_MILLISECONDS, pidFile, socket, statusFile, statusRequestFile, stopRequestFile, TIMEOUT_MILLISECONDScachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
AbstractServerLauncherDUnitTestCase(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanupServerLauncher() |
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 void |
waitForServerToStart(com.gemstone.gemfire.distributed.ServerLauncher launcher) |
protected void |
waitForServerToStart(com.gemstone.gemfire.distributed.ServerLauncher launcher,
boolean throwOnTimeout) |
protected void |
waitForServerToStart(com.gemstone.gemfire.distributed.ServerLauncher launcher,
long timeout,
boolean throwOnTimeout) |
protected void |
waitForServerToStart(com.gemstone.gemfire.distributed.ServerLauncher 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 serverPort
protected transient volatile com.gemstone.gemfire.distributed.ServerLauncher launcher
protected transient volatile java.io.File cacheXmlFile
public AbstractServerLauncherDUnitTestCase(java.lang.String name)
public final void subSetUp()
throws java.lang.Exception
AbstractLauncherDUnitTestCasesubSetUp in class AbstractLauncherDUnitTestCasejava.lang.Exceptionpublic final void subTearDown()
throws java.lang.Exception
AbstractLauncherDUnitTestCasesubTearDown in class AbstractLauncherDUnitTestCasejava.lang.Exceptionprotected abstract void subSetUp1()
throws java.lang.Exception
java.lang.Exceptionprotected abstract void subTearDown1()
throws java.lang.Exception
java.lang.Exceptionprotected void cleanupServerLauncher()
protected void waitForServerToStart(com.gemstone.gemfire.distributed.ServerLauncher launcher,
long timeout,
long interval,
boolean throwOnTimeout)
protected void waitForServerToStart(com.gemstone.gemfire.distributed.ServerLauncher launcher,
boolean throwOnTimeout)
protected void waitForServerToStart(com.gemstone.gemfire.distributed.ServerLauncher launcher,
long timeout,
boolean throwOnTimeout)
protected void waitForServerToStart(com.gemstone.gemfire.distributed.ServerLauncher launcher)
protected static void overrideDefaultPort(int port)
protected static void restoreDefaultPort()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.