public class P2PDeltaPropagationDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static Object |
waitLock |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
P2PDeltaPropagationDUnitTest(String name)
Constructor
|
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 Object waitLock
public P2PDeltaPropagationDUnitTest(String name)
public void testP2PDeltaPropagationEnableScopeDAck()
throws Exception
Exceptionpublic void testP2PDeltaPropagationEnableScopeGlobal()
throws Exception
Exceptionpublic void testP2PDACKInvalidDeltaException()
throws Exception
Exceptionpublic void testP2PDeltaPropagationEnableDirectAckTrue()
throws Exception
Exceptionpublic void testP2PDeltaPropagationEnableScopeDNoAck()
throws Exception
Exceptionpublic void testP2PDeltaPropagationDisable()
throws Exception
Exceptionpublic void testP2PDeltaPropagationEnableScopeDAckDataPolicyEmpty()
throws Exception
Exceptionpublic void testP2PDeltaPropagationEnableScopeDAckDataPolicyEmptyWithRegionsCreateApi()
throws Exception
Exceptionpublic void testPeerWithEmptyRegionIterestPolicyALLReceivesNoDelta()
throws Exception
Exceptionpublic void testPeerWithEmptyRegionDefaultIterestPolicyReceivesNoEvents()
throws Exception
Exceptionpublic void testPeerWithEmptyRegionAndNoCacheServerReceivesOnlyFullValue()
throws Exception
Exceptionpublic static void getOnDeltaEnabledWithInvalidate()
throws Exception
Exceptionpublic static void getOnDeltaEnabledWithDestroy()
throws Exception
Exceptionpublic static void getOnDeltaEnabledServer()
throws Exception
Exceptionpublic static void getOnDeltaDisabledServer()
throws Exception
Exceptionpublic static void checkForNoFullObjectResend()
throws Exception
Exceptionpublic void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic static void createServerCache(Boolean flag) throws Exception
Exceptionpublic static void createServerCache(Boolean flag, com.gemstone.gemfire.cache.DataPolicy policy, com.gemstone.gemfire.cache.Scope scope, Boolean listener) throws Exception
Exceptionpublic static void createServerCache(Boolean flag, com.gemstone.gemfire.cache.DataPolicy policy, com.gemstone.gemfire.cache.Scope scope, Boolean listener, Boolean interestPolicyAll) throws Exception
Exceptionpublic static void createServerCache(Boolean flag, com.gemstone.gemfire.cache.DataPolicy policy, com.gemstone.gemfire.cache.Scope scope, Boolean listener, Boolean interestPolicyAll, Integer port) throws Exception
Exceptionpublic 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 verifyDeltaReceived(Integer updates)
public static void verifyNoDeltaReceived(Integer updates)
public static void verifyDeltaBytesReceived(Integer num)
public static void resetFlags()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.