public class MemberMBeanAttributesDUnitTest extends ManagementTestBase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static long |
SLEEP |
ds, locatorVM, managedNode1, managedNode2, managedNode3, managedNodeList, managementService, managingNode, mbeanServerlogPerTest, reconnect, system, testName| Constructor and Description |
|---|
MemberMBeanAttributesDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
isConfigRelatedAttrsOK(VM vm1) |
void |
isOSRelatedAttrsOK(VM vm1)
This will check all the attributes which does not depend on any distribution message.
|
void |
isPartitionedRegionAttrsOK(VM vm1)
This will check all the attributes which does not depend on any distribution message.
|
void |
isReplicatedRegionAttrsOK(VM vm1)
This will check all the attributes which does not depend on any distribution message.
|
protected void |
sample(VM vm1) |
void |
setUp()
Sets up the test (noop).
|
void |
setupForPartitionedRegonAttributes(VM vm1,
int offset) |
void |
setupForReplicateRegonAttributes(VM vm1,
int offset) |
void |
tearDown2()
Tears down the test.
|
void |
testConfigAttributes() |
void |
testOSAttributes() |
void |
testPRRegionAttributes() |
void |
testReplRegionAttributes() |
checkManagedNodeCleanup, checkManagementExceptions, checkProxyCleanup, closeAllCache, closeCache, closeRegion, createCache, createCache, createCache, createCache, createDistributedRegion, createDistributedRegionAsync, createLocalRegion, createManagementCache, createPartitionRegion, createSubRegion, disableManagement, enableManagement, getCache, getManagedNodeList, getManagementService, getManagingNode, getMember, getMemberId, initManagement, putInDistributedRegion, runManagementTaskAdhoc, startBeingManagingNode, startManagingNode, startManagingNodeAsync, stopManagingNode, waitForAllMembers, waitForProxy, waitForRefreshaddExpectedException, 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 final long SLEEP
public MemberMBeanAttributesDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class ManagementTestBaseExceptionpublic void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class ManagementTestBaseExceptionprotected void sample(VM vm1)
public void setupForReplicateRegonAttributes(VM vm1, int offset) throws Exception
Exceptionpublic void setupForPartitionedRegonAttributes(VM vm1, int offset) throws Exception
Exceptionpublic void isPartitionedRegionAttrsOK(VM vm1) throws Exception
vm1 - Exceptionpublic void isReplicatedRegionAttrsOK(VM vm1) throws Exception
vm1 - Exceptionpublic void isOSRelatedAttrsOK(VM vm1) throws Exception
vm1 - ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.