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(java.lang.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(java.lang.String name)
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class ManagementTestBasejava.lang.Exceptionpublic void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class ManagementTestBasejava.lang.Exceptionprotected void sample(VM vm1)
public void testReplRegionAttributes()
throws java.lang.Exception
java.lang.Exceptionpublic void testPRRegionAttributes()
throws java.lang.Exception
java.lang.Exceptionpublic void testOSAttributes()
throws java.lang.Exception
java.lang.Exceptionpublic void testConfigAttributes()
throws java.lang.Exception
java.lang.Exceptionpublic void setupForReplicateRegonAttributes(VM vm1, int offset) throws java.lang.Exception
java.lang.Exceptionpublic void setupForPartitionedRegonAttributes(VM vm1, int offset) throws java.lang.Exception
java.lang.Exceptionpublic void isPartitionedRegionAttrsOK(VM vm1) throws java.lang.Exception
vm1 - java.lang.Exceptionpublic void isReplicatedRegionAttrsOK(VM vm1) throws java.lang.Exception
vm1 - java.lang.Exceptionpublic void isOSRelatedAttrsOK(VM vm1) throws java.lang.Exception
vm1 - java.lang.Exceptionpublic void isConfigRelatedAttrsOK(VM vm1) throws java.lang.Exception
java.lang.ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.