public class ClearPropagationDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static com.gemstone.gemfire.cache.Cache |
cache |
protected static boolean |
gotClear |
protected static boolean |
gotDestroyed |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
ClearPropagationDUnitTest(String name)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
acquireConnectionsAndClear(String host) |
static void |
acquireConnectionsAndDestroyRegion(String host) |
static void |
closeCache() |
static void |
createClientCache(String host,
Integer port1,
Integer port2) |
static void |
createEntriesK1andK2()
Creates entries on the server
|
static Integer |
createServerCache() |
static void |
registerKeysK1andK2() |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
testEventIdGeneratedInDestroyRegionOperation()
This is the DUnit Test to verify destroyRegion operation in Client-Server
Configuration.
|
void |
testVerifyClearNotReceivedBySenderReceivedByOthers()
This is the DUnit Test to verify clear operation in Client-Server
Configuration.
|
static void |
verifyNoUpdates() |
static void |
verifyUpdates() |
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, toStringprotected static com.gemstone.gemfire.cache.Cache cache
protected static boolean gotClear
protected static boolean gotDestroyed
public ClearPropagationDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic void testVerifyClearNotReceivedBySenderReceivedByOthers()
public void testEventIdGeneratedInDestroyRegionOperation()
throws Exception
Exceptionpublic static void acquireConnectionsAndClear(String host)
public static void acquireConnectionsAndDestroyRegion(String host)
public static void createEntriesK1andK2()
public static void createClientCache(String host, Integer port1, Integer port2) throws Exception
Exceptionpublic static void registerKeysK1andK2()
key - Key in which client is interestedpublic static void verifyNoUpdates()
public static void verifyUpdates()
public static void closeCache()
public void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCaseExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.