public class LocatorLauncherLocalDUnitTest extends AbstractLocatorLauncherDUnitTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2launcher, locatorPortINTERVAL_MILLISECONDS, pidFile, socket, statusFile, statusRequestFile, stopRequestFile, TIMEOUT_MILLISECONDScachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
LocatorLauncherLocalDUnitTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
protected com.gemstone.gemfire.distributed.AbstractLauncher.Status |
getExpectedStopStatusForNotRunning() |
protected void |
subSetUp1()
To be overridden in subclass.
|
protected void |
subSetUp2()
To be overridden in subclass.
|
protected void |
subTearDown1()
To be overridden in subclass.
|
protected void |
subTearDown2()
To be overridden in subclass.
|
void |
testBuilderSetProperties() |
void |
testGetAllHostedLocators() |
void |
testIsAttachAPIFound() |
void |
testStartCreatesPidFile() |
void |
testStartDeletesStaleControlFiles() |
void |
testStartOverwritesStalePidFile() |
void |
testStartUsingForceOverwritesExistingPidFile() |
void |
testStartUsingPort() |
void |
testStartUsingPortInUseFails() |
void |
testStartWithDefaultPortInUseFails() |
void |
testStartWithExistingPidFileFails() |
void |
testStatusUsingPid() |
void |
testStatusUsingWorkingDirectory() |
void |
testStopUsingPid() |
void |
testStopUsingWorkingDirectory() |
cleanupLocatorLauncher, overrideDefaultPort, restoreDefaultPort, subSetUp, subTearDown, waitForLocatorToStart, waitForLocatorToStart, waitForLocatorToStart, waitForLocatorToStart, waitForLocatorToStartcreateCollectionListener, 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 LocatorLauncherLocalDUnitTest(java.lang.String name)
protected final void subSetUp1()
throws java.lang.Exception
AbstractLocatorLauncherDUnitTestCasesubSetUp1 in class AbstractLocatorLauncherDUnitTestCasejava.lang.Exceptionprotected final void subTearDown1()
throws java.lang.Exception
AbstractLocatorLauncherDUnitTestCasesubTearDown1 in class AbstractLocatorLauncherDUnitTestCasejava.lang.Exceptionprotected void subSetUp2()
throws java.lang.Exception
java.lang.Exceptionprotected void subTearDown2()
throws java.lang.Exception
java.lang.Exceptionprotected com.gemstone.gemfire.distributed.AbstractLauncher.Status getExpectedStopStatusForNotRunning()
public void testBuilderSetProperties()
throws java.lang.Throwable
java.lang.Throwablepublic void testGetAllHostedLocators()
throws java.lang.Exception
java.lang.Exceptionpublic void testIsAttachAPIFound()
throws java.lang.Exception
java.lang.Exceptionpublic void testStartCreatesPidFile()
throws java.lang.Throwable
java.lang.Throwablepublic void testStartDeletesStaleControlFiles()
throws java.lang.Throwable
java.lang.Throwablepublic void testStartOverwritesStalePidFile()
throws java.lang.Throwable
java.lang.Throwablepublic void testStartUsingForceOverwritesExistingPidFile()
throws java.lang.Throwable
java.lang.Throwablepublic void testStartWithDefaultPortInUseFails()
throws java.lang.Throwable
java.lang.Throwablepublic void testStartWithExistingPidFileFails()
throws java.lang.Throwable
java.lang.Throwablepublic void testStartUsingPort()
throws java.lang.Throwable
java.lang.Throwablepublic void testStartUsingPortInUseFails()
throws java.lang.Throwable
java.lang.Throwablepublic void testStatusUsingPid()
throws java.lang.Throwable
java.lang.Throwablepublic void testStatusUsingWorkingDirectory()
throws java.lang.Throwable
java.lang.Throwablepublic void testStopUsingPid()
throws java.lang.Throwable
java.lang.Throwablepublic void testStopUsingWorkingDirectory()
throws java.lang.Throwable
java.lang.ThrowableCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.