public class BackwardCompatibilityMessageDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2logPerTest, reconnect, system, testName| Constructor and Description |
|---|
BackwardCompatibilityMessageDUnitTest(java.lang.String name)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
checkCache() |
static void |
closeCache() |
static void |
createClientCache(java.lang.String host,
java.lang.Integer port1) |
static java.lang.Integer |
createServerCache(java.lang.String host) |
static void |
put() |
static void |
setBridgeObserverForAfterMessageCreation() |
static void |
setHandshakeVersionForTesting() |
static void |
setTestCommands() |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
testMessage()
Verify that server serves different versioned clients with their respective
client-versions of messages (after execution of a command) .
|
static void |
unsetBridgeObserverForAfterMessageCreation() |
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 BackwardCompatibilityMessageDUnitTest(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 host)
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 testMessage()
throws java.lang.Exception
java.lang.Exceptionpublic static void setTestCommands()
throws java.lang.Exception
java.lang.Exceptionpublic static void setHandshakeVersionForTesting()
throws java.lang.Exception
java.lang.Exceptionpublic static void setBridgeObserverForAfterMessageCreation()
throws java.lang.Exception
java.lang.Exceptionpublic static void put()
public static void checkCache()
public static void unsetHandshakeVersionForTesting()
throws java.lang.Exception
java.lang.Exceptionpublic static void unsetBridgeObserverForAfterMessageCreation()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.