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(java.lang.String name)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
checkTestPutCommandInvoked() |
static void |
checkTestPutCommandNotInvoked() |
static void |
closeCache() |
static void |
createClientCache(java.lang.String host,
java.lang.Integer port1) |
static java.lang.Integer |
createServerCache(java.lang.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(java.lang.String name)
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class DistributedTestCasejava.lang.Exceptionpublic static void createClientCache(java.lang.String host,
java.lang.Integer port1)
throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.Integer createServerCache(java.lang.String hostName)
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCasejava.lang.Exceptionpublic static void closeCache()
public void testCommand()
public static void setTestCommands()
throws java.lang.Exception
java.lang.Exceptionpublic static void setHandshakeVersionForTesting()
throws java.lang.Exception
java.lang.Exceptionpublic static void put()
public static void unsetHandshakeVersionForTesting()
throws java.lang.Exception
java.lang.Exceptionpublic static void checkTestPutCommandNotInvoked()
public static void checkTestPutCommandInvoked()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.