public class DistributedSystemDUnitTest extends ManagementTestBase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2ds, locatorVM, managedNode1, managedNode2, managedNode3, managedNodeList, managementService, managingNodelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
DistributedSystemDUnitTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlertListener(VM vm1) |
void |
addNotificationListener(VM vm1) |
void |
checkAggregate(VM vm1)
Check aggregate related functions and attributes
|
void |
checkAlertCount(VM vm1,
int expectedSevereAlertCount,
int expectedWarningAlertCount) |
void |
checkNavigationAPIs(VM vm1) |
void |
ensureLoggerState(VM vm1,
com.gemstone.gemfire.distributed.DistributedMember member,
int alertLevel) |
void |
resetAlertCounts(VM vm1) |
void |
setAlertLevel(VM vm1,
java.lang.String alertLevel) |
void |
setUp()
Sets up the test (noop).
|
void |
severeLevelAlert(VM vm1) |
void |
shutDownAll(VM vm1) |
void |
tearDown2()
Tears down the test.
|
void |
testAlert()
Tests each and every operations that is defined on the MemberMXBean
|
void |
testAlertManagedNodeFirst()
Tests each and every operations that is defined on the MemberMXBean
|
void |
testDistributedSystemAggregate()
Tests each and every operations that is defined on the MemberMXBean
|
void |
testNavigationAPIS() |
void |
testNotificationHub() |
void |
testShutdownAll()
Tests each and every operations that is defined on the MemberMXBean
|
void |
warnLevelAlert(VM vm1) |
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, toStringpublic DistributedSystemDUnitTest(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.Exceptionpublic void testDistributedSystemAggregate()
throws java.lang.Exception
java.lang.Exceptionpublic void testAlert()
throws java.lang.Exception
java.lang.Exceptionpublic void testAlertManagedNodeFirst()
throws java.lang.Exception
java.lang.Exceptionpublic void ensureLoggerState(VM vm1, com.gemstone.gemfire.distributed.DistributedMember member, int alertLevel) throws java.lang.Exception
java.lang.Exceptionpublic void testShutdownAll()
throws java.lang.Exception
java.lang.Exceptionpublic void testNavigationAPIS()
throws java.lang.Exception
java.lang.Exceptionpublic void testNotificationHub()
throws java.lang.Exception
java.lang.Exceptionpublic void checkAlertCount(VM vm1, int expectedSevereAlertCount, int expectedWarningAlertCount) throws java.lang.Exception
java.lang.Exceptionpublic void setAlertLevel(VM vm1, java.lang.String alertLevel) throws java.lang.Exception
java.lang.Exceptionpublic void warnLevelAlert(VM vm1) throws java.lang.Exception
java.lang.Exceptionpublic void resetAlertCounts(VM vm1) throws java.lang.Exception
java.lang.Exceptionpublic void severeLevelAlert(VM vm1) throws java.lang.Exception
java.lang.Exceptionpublic void addAlertListener(VM vm1) throws java.lang.Exception
java.lang.Exceptionpublic void checkAggregate(VM vm1) throws java.lang.Exception
vm1 - java.lang.Exceptionpublic void addNotificationListener(VM vm1) throws java.lang.Exception
java.lang.Exceptionpublic void shutDownAll(VM vm1) throws java.lang.Exception
java.lang.Exceptionpublic void checkNavigationAPIs(VM vm1) throws java.lang.Exception
java.lang.ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.