public class HADispatcherDUnitTest extends DistributedTestCase
| Modifier and Type | Class and Description |
|---|---|
protected static class |
HADispatcherDUnitTest.HAClientListener
This is the client listener which notifies the waiting thread when it
receives the event.
|
protected static class |
HADispatcherDUnitTest.HAServerListener
This is the server listener which ensures that regionqueue is properly populated
|
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static com.gemstone.gemfire.cache.Cache |
cache |
static Object |
dummyObj |
static int |
PORT1 |
static int |
PORT2 |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
HADispatcherDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClientUpdateMessageSerialization() |
static void |
closeCache() |
static void |
createClientCache(String hostName,
Integer port1,
Integer port2,
Boolean isListenerPresent) |
static Integer |
createServerCache(Boolean isListenerPresent) |
static void |
makeDispatcherSlow() |
static void |
resetQRMslow() |
static void |
setQRMslow() |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
testDispatcher() |
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 static int PORT1
public static int PORT2
protected static com.gemstone.gemfire.cache.Cache cache
public static final Object dummyObj
public HADispatcherDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCaseExceptionpublic static void closeCache()
public static void setQRMslow()
public static void resetQRMslow()
public static void makeDispatcherSlow()
public void ClientUpdateMessageSerialization()
throws Exception
Exceptionpublic static Integer createServerCache(Boolean isListenerPresent) throws Exception
ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.