public class EventIDVerificationDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static com.gemstone.gemfire.internal.cache.EventID |
eventId |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
EventIDVerificationDUnitTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearRegion() |
static void |
closeCache() |
static void |
createClientCache(java.lang.String host,
java.lang.Integer port1,
java.lang.Integer port2) |
static void |
createEntry() |
static java.lang.Integer |
createServerCache() |
static void |
destroy() |
static void |
destroyRegion() |
static void |
put() |
static void |
remove() |
static void |
setEventIDData(java.lang.Object evID) |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
testEventIDOnServer() |
void |
testEventIDPrapogationOnServerDuringRegionClear()
Verify that EventId is prapogated to server in case of region clear.
|
void |
testEventIDPrapogationOnServerDuringRegionDestroy()
Verify that EventId is prapogated to server in case of region destroy.
|
static void |
verifyEventIDsDuringRegionDestroy(com.gemstone.gemfire.cache.RegionEvent event) |
static java.lang.Boolean |
verifyResult() |
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 EventIDVerificationDUnitTest(java.lang.String name)
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class DistributedTestCasejava.lang.Exceptionpublic void testEventIDOnServer()
public void testEventIDPrapogationOnServerDuringRegionDestroy()
public void testEventIDPrapogationOnServerDuringRegionClear()
public static void createClientCache(java.lang.String host,
java.lang.Integer port1,
java.lang.Integer port2)
throws java.lang.Exception
java.lang.Exceptionpublic static void setEventIDData(java.lang.Object evID)
public static java.lang.Integer createServerCache()
throws java.lang.Exception
java.lang.Exceptionpublic static void createEntry()
public static void put()
public static void destroy()
public static void remove()
public static void destroyRegion()
public static void clearRegion()
public static java.lang.Boolean verifyResult()
public static void verifyEventIDsDuringRegionDestroy(com.gemstone.gemfire.cache.RegionEvent event)
public 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()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.