public class UnregisterInterestDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2logPerTest, reconnect, system, testName| Constructor and Description |
|---|
UnregisterInterestDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
_testUnregisterInterestFilters() |
static void |
checkAllKeys(Integer value,
Integer valueInv) |
static void |
checkFilters(Integer value,
Integer valueInv) |
static void |
checkKeyList(Integer value,
Integer valueInv) |
static void |
checkPatterns(Integer value,
Integer valueInv) |
static void |
checkRIArtifacts(Integer interestType,
Integer value,
Integer valueInv) |
static void |
closeCache() |
static Integer |
createCacheAndStartServer() |
static void |
createClientCache(Host host,
Integer port) |
static void |
registerInterest(Integer interestType,
Boolean receiveValues,
String[] values) |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
testUnregisterInterestAllKeys()
The test starts two clients who register interest in "ALL_KEYS" but close
without unregistering the same.
|
void |
testUnregisterInterestKeys()
The test starts two clients who register interest in a list keys but close
without unregistering the same.
|
void |
testUnregisterInterestKeysInvForOneClientDoesNotAffectOtherClient()
The test starts two clients who register interest in a common list of keys,
with the option of receiving updates as invalidates.
|
void |
testUnregisterInterestPatterns()
The test starts two clients who register interest with regular expression
"[a-z]*[0-9]" but close without unregistering the same.
|
void |
testUnregisterInterestRegexInvForOneClientDoesNotAffectOtherClient()
The test starts two clients who register interest with the same regular
expression, with the option of receiving updates as invalidates.
|
static void |
timedWaitForInvalidates(Integer invalidates) |
static void |
unregisterInterest(String[] keys) |
static void |
unregisterInterestRegex(String[] patterns) |
static void |
updateKeys(String[] keys) |
addExpectedException, 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 UnregisterInterestDUnitTest(String name)
name - public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCaseExceptionpublic static void closeCache()
public void testUnregisterInterestAllKeys()
throws Exception
Exceptionpublic void testUnregisterInterestKeys()
throws Exception
Exceptionpublic void testUnregisterInterestPatterns()
throws Exception
Exceptionpublic void testUnregisterInterestKeysInvForOneClientDoesNotAffectOtherClient()
throws Exception
Exceptionpublic void testUnregisterInterestRegexInvForOneClientDoesNotAffectOtherClient()
throws Exception
Exceptionpublic void _testUnregisterInterestFilters()
throws Exception
Exceptionpublic static void checkRIArtifacts(Integer interestType, Integer value, Integer valueInv)
public static void registerInterest(Integer interestType, Boolean receiveValues, String[] values)
public static void unregisterInterest(String[] keys)
public static void unregisterInterestRegex(String[] patterns)
public static void updateKeys(String[] keys)
public static void timedWaitForInvalidates(Integer invalidates)
public static Integer createCacheAndStartServer() throws Exception
ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.