public class AgentTest extends CacheTestCase
Agent class.DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected javax.management.MBeanServerConnection |
mbs |
cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
AgentTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
remoteCreateEntry(java.lang.String regionName,
java.lang.String entryName,
java.lang.Object value)
Puts (or creates) a value in a region named
regionName
named entryName. |
protected static void |
remoteWriteLogMessage(java.lang.String msg)
Accessed via reflection.
|
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
testAdminDistributedSystem()
Test
AdminDistributedSystem |
void |
testAgent()
Test
com.gemstone.gemfire.admin.jmx.AgentMBean |
addExceptionTag1, basicGetCache, beginCacheXml, cleanDiskDirs, closeAllCache, closeCache, createLonerCache, createMcastCache, createMcastCache, createRegion, createRegion, createRootRegion, createRootRegion, disconnectFromDS, finishCacheXml, finishCacheXml, getCache, getCache, getCache, getCache, getClientCache, getDiskDirs, getGemfireCache, getInternalRegionArguments, getRootRegion, getRootRegion, hasCache, remoteTearDown, removeExceptionTag1, sendSerialMessageToAll, sendUnorderedMessageToAlladdExpectedException, addExpectedException, addHydraProperties, attachDebugger, checkBBFlag, cleanupAllVms, clearBBFlag, crashDistributedSystem, crashDistributedSystem, createLogWriter, disconnectAllFromDS, 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 void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class DistributedTestCasejava.lang.Exceptionpublic void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCasejava.lang.Exceptionpublic void testAgent()
throws java.lang.Exception
com.gemstone.gemfire.admin.jmx.AgentMBeanjava.lang.Exceptionpublic void testAdminDistributedSystem()
throws java.lang.Exception
AdminDistributedSystemjava.lang.Exceptionprotected void remoteCreateEntry(java.lang.String regionName,
java.lang.String entryName,
java.lang.Object value)
throws com.gemstone.gemfire.cache.CacheException
regionName
named entryName.com.gemstone.gemfire.cache.CacheExceptionprotected static void remoteWriteLogMessage(java.lang.String msg)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.