public class ServerLauncherLocalDUnitTest extends AbstractServerLauncherDUnitTestCase
AbstractLauncher,
ServerLauncher,
ServerLauncher.Builder,
ServerLauncher.ServerState,
AvailablePortHelper,
Serialized FormDistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2cacheXmlFile, launcher, serverPortINTERVAL_MILLISECONDS, pidFile, socket, statusFile, statusRequestFile, stopRequestFile, TIMEOUT_MILLISECONDScachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
ServerLauncherLocalDUnitTest(String name) |
cleanupServerLauncher, overrideDefaultPort, restoreDefaultPort, subSetUp, subTearDown, waitForServerToStart, waitForServerToStart, waitForServerToStart, waitForServerToStartcreateCollectionListener, 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, toStringpublic ServerLauncherLocalDUnitTest(String name)
protected final void subSetUp1()
throws Exception
AbstractServerLauncherDUnitTestCasesubSetUp1 in class AbstractServerLauncherDUnitTestCaseExceptionprotected final void subTearDown1()
throws Exception
AbstractServerLauncherDUnitTestCasesubTearDown1 in class AbstractServerLauncherDUnitTestCaseExceptionprotected void subSetUp2()
throws Exception
Exceptionprotected void subTearDown2()
throws Exception
Exceptionprotected com.gemstone.gemfire.distributed.AbstractLauncher.Status getExpectedStopStatusForNotRunning()
public void testStartDeletesStaleControlFiles()
throws Throwable
Throwablepublic void testStartOverwritesStalePidFile()
throws Throwable
Throwablepublic void testStartUsingDisableDefaultServerLeavesPortFree()
throws Throwable
Throwablepublic void testStartUsingDisableDefaultServerSkipsPortCheck()
throws Throwable
Throwablepublic void testStartUsingForceOverwritesExistingPidFile()
throws Throwable
Throwablepublic void testStartUsingServerPortOverridesCacheXml()
throws Throwable
Throwablepublic void testStartUsingServerPortUsedInsteadOfDefaultCacheXml()
throws Throwable
Throwablepublic void testStartWithDefaultPortInUseFails()
throws Throwable
Throwablepublic void testStartWithExistingPidFileFails()
throws Throwable
Throwablepublic void testStartUsingServerPortInUseFails()
throws Throwable
Throwablepublic void testStatusUsingWorkingDirectory()
throws Throwable
ThrowableCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.