public class ShellCommandsDUnitTest extends CliCommandTestBase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2USE_HTTP_SYSTEM_PROPERTYcachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
ShellCommandsDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected com.gemstone.gemfire.management.internal.cli.result.CommandResult |
connectToLocator(int locatorPort) |
void |
setUp()
Sets up the test (noop).
|
void |
testClearHistory() |
void |
testConnectToLocatorBecomesManager() |
void |
testDebug() |
void |
testEchoAllPropertyVariables() |
void |
testEchoForSingleVariable() |
void |
testEchoForSingleVariable2() |
void |
testEchoWithMultipleVariables() |
void |
testEchoWithNoVariable() |
void |
testEchoWithVariableAtEnd() |
void |
testEchoWithVariableAtStart() |
void |
testHistory() |
void |
testHistoryWithFileName() |
commandResultToString, countLinesInString, countMatchesInString, createDefaultSetup, createShell, debug, destroyDefaultSetup, error, error, executeCommand, executeCommand, executeCommandWithoutClear, executeCommandWithoutClear, extractCommandResult, getDefaultShell, getLineFromString, info, printResult, shellConnect, stringContainsLine, tearDown2addExceptionTag1, 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 ShellCommandsDUnitTest(String name)
public void setUp()
DistributedTestCasesetUp in class CliCommandTestBaseprotected com.gemstone.gemfire.management.internal.cli.result.CommandResult connectToLocator(int locatorPort)
public void testConnectToLocatorBecomesManager()
public void testEchoWithVariableAtEnd()
public void testEchoWithNoVariable()
public void testEchoWithVariableAtStart()
public void testEchoWithMultipleVariables()
public void testEchoAllPropertyVariables()
public void testEchoForSingleVariable()
public void testEchoForSingleVariable2()
public void testDebug()
public void testHistory()
public void testHistoryWithFileName()
public void testClearHistory()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.