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 java.lang.Object |
dummyObj |
static int |
PORT1 |
static int |
PORT2 |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
HADispatcherDUnitTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClientUpdateMessageSerialization() |
static void |
closeCache() |
static void |
createClientCache(java.lang.String hostName,
java.lang.Integer port1,
java.lang.Integer port2,
java.lang.Boolean isListenerPresent) |
static java.lang.Integer |
createServerCache(java.lang.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 java.lang.Object dummyObj
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class DistributedTestCasejava.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 static void setQRMslow()
public static void resetQRMslow()
public static void makeDispatcherSlow()
public void testDispatcher()
throws java.lang.Exception
java.lang.Exceptionpublic void ClientUpdateMessageSerialization()
throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.Integer createServerCache(java.lang.Boolean isListenerPresent)
throws java.lang.Exception
java.lang.Exceptionpublic static void createClientCache(java.lang.String hostName,
java.lang.Integer port1,
java.lang.Integer port2,
java.lang.Boolean isListenerPresent)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.