public class EventTrackerDUnitTest extends CacheTestCase
EventTracker management.DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
EventTrackerDUnitTest(String name)
Creates a new
EventTrackerDUnitTest |
| Modifier and Type | Method and Description |
|---|---|
static void |
caseSetUp() |
static void |
caseTearDown() |
protected static int |
getCacheServerPort() |
protected void |
startCacheServer() |
void |
tearDown2()
Tears down the test.
|
void |
testEventTrackerAddRemoveThreadIdentifier()
Tests adding events to and removing events from an
EventTracker. |
void |
testEventTrackerAddThreadIdentifier()
Tests adding threads to an
EventTracker. |
void |
testEventTrackerCreateDestroy()
Tests
EventTracker is created and destroyed when a Region is created
and destroyed. |
void |
testPutAllHoldersInEventTracker()
Test to make sure we don't leak put all events in the event tracker
after multiple putAlls
|
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, setUp, 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 EventTrackerDUnitTest(String name)
EventTrackerDUnitTestpublic void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCaseExceptionpublic void testEventTrackerCreateDestroy()
throws com.gemstone.gemfire.cache.CacheException
EventTracker is created and destroyed when a Region is created
and destroyed.com.gemstone.gemfire.cache.CacheExceptionpublic void testEventTrackerAddThreadIdentifier()
throws com.gemstone.gemfire.cache.CacheException
EventTracker.com.gemstone.gemfire.cache.CacheExceptionpublic void testEventTrackerAddRemoveThreadIdentifier()
throws com.gemstone.gemfire.cache.CacheException
EventTracker.com.gemstone.gemfire.cache.CacheExceptionpublic void testPutAllHoldersInEventTracker()
protected void startCacheServer()
throws IOException
IOExceptionprotected static int getCacheServerPort()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.