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(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,
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(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 ManagementTestBaseExceptionpublic void testDistributedSystemAggregate()
throws Exception
Exceptionpublic void testAlert()
throws Exception
Exceptionpublic void testAlertManagedNodeFirst()
throws Exception
Exceptionpublic void ensureLoggerState(VM vm1, com.gemstone.gemfire.distributed.DistributedMember member, int alertLevel) throws Exception
Exceptionpublic void testShutdownAll()
throws Exception
Exceptionpublic void checkAlertCount(VM vm1, int expectedSevereAlertCount, int expectedWarningAlertCount) throws Exception
Exceptionpublic void setAlertLevel(VM vm1, String alertLevel) throws Exception
Exceptionpublic void checkAggregate(VM vm1) throws Exception
vm1 - Exceptionpublic void addNotificationListener(VM vm1) throws Exception
ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.