public class HAOverflowMemObjectSizerDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static com.gemstone.gemfire.distributed.internal.InternalLocator |
locator |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
HAOverflowMemObjectSizerDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanUp(Long limit) |
static void |
closeCache() |
static void |
createCacheClient(Integer port1,
String host)
create client cache
|
static Integer |
createCacheServer(Boolean notification)
Creates cache and starts the bridge-server
|
static void |
performPut(Long lowerLimit,
Long higerlimit)
perform put on server region that will put entries on CMR region
|
void |
setUp()
Sets up the test (noop).
|
static void |
sizerTestForMemCapacityController(Integer port)
Check for size return by ClientUpdateMessagesImpl getSizeInByte()
with size return by memCapacity controller
|
void |
tearDown2()
Tears down the test.
|
void |
testSizerImplementationofMemCapacityControllerWhenNotificationBySubscriptionIsFalse()
This test does the following :
Configuration: notification by subscription is false 1)Verify size calculated by getSizeInByte() of ClientUpdateMessagesImpl is equal to the size calculated by memCapacity controller |
void |
testSizerImplementationofMemCapacityControllerWhenNotificationBySubscriptionIsTrue()
This test does the following :
Configuration: notification by subscription is true 1)Verify size calculated by getSizeInByte() of ClientUpdateMessagesImpl is equal to the size calculated by memCapacity controller |
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.distributed.internal.InternalLocator locator
public HAOverflowMemObjectSizerDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCaseExceptionpublic static void cleanUp(Long limit)
public static Integer createCacheServer(Boolean notification) throws Exception
notification - property of BridgeServerExceptionpublic static void createCacheClient(Integer port1, String host) throws Exception
port1 - port2 - - end points portsExceptionpublic void testSizerImplementationofMemCapacityControllerWhenNotificationBySubscriptionIsTrue()
public void testSizerImplementationofMemCapacityControllerWhenNotificationBySubscriptionIsFalse()
public static void sizerTestForMemCapacityController(Integer port)
port - - BridgeServer port required to get ClientMessagesRegionpublic static void closeCache()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.