public class HAClearDUnitTest extends DistributedTestCase
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 |
|---|
HAClearDUnitTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeCache() |
static void |
createClientCache(java.lang.String hostName,
java.lang.Integer port1,
java.lang.Integer port2,
java.lang.Boolean listenerAttached,
java.lang.Boolean registerInterest) |
static java.lang.Integer |
createServerCache() |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
testClearWithOperationFromClient() |
void |
testClearWithOperationFromServer() |
void |
testDestroyRegionWithOperationFromClient() |
void |
testDestroyRegionWithOperationFromServer() |
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 void testClearWithOperationFromClient()
throws java.lang.Exception
java.lang.Exceptionpublic void testClearWithOperationFromServer()
throws java.lang.Exception
java.lang.Exceptionpublic void testDestroyRegionWithOperationFromClient()
throws java.lang.Exception
java.lang.Exceptionpublic void testDestroyRegionWithOperationFromServer()
throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.Integer createServerCache()
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 listenerAttached,
java.lang.Boolean registerInterest)
throws java.lang.Exception
java.lang.Exceptionpublic static void closeCache()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.