public class BackwardCompatibilityCommandDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
static boolean |
TEST_PUT_COMMAND_INVOKED |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
BackwardCompatibilityCommandDUnitTest(String name)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
checkTestPutCommandInvoked() |
static void |
checkTestPutCommandNotInvoked() |
static void |
closeCache() |
static void |
createClientCache(String host,
Integer port1) |
static Integer |
createServerCache(String hostName) |
static void |
put() |
static void |
setHandshakeVersionForTesting() |
static void |
setTestCommands() |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
testCommand() |
static void |
unsetHandshakeVersionForTesting() |
addExpectedException, addExpectedException, addHydraProperties, attachDebugger, checkBBFlag, cleanupAllVms, clearBBFlag, crashDistributedSystem, crashDistributedSystem, createLogWriter, disconnectAllFromDS, disconnectFromDS, 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 BackwardCompatibilityCommandDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic static void createClientCache(String host, Integer port1) throws Exception
Exceptionpublic static Integer createServerCache(String hostName) throws Exception
Exceptionpublic void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCaseExceptionpublic static void closeCache()
public void testCommand()
public static void setHandshakeVersionForTesting()
throws Exception
Exceptionpublic static void put()
public static void unsetHandshakeVersionForTesting()
throws Exception
Exceptionpublic static void checkTestPutCommandNotInvoked()
public static void checkTestPutCommandInvoked()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.