public abstract class RegionReliabilityTestCase extends ReliabilityTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static Boolean[] |
detectedDeparture_testCommitDistributionException |
protected static Boolean[] |
detectedDeparture_testRegionDistributionException |
cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
RegionReliabilityTestCase(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertLimitedAccessDoesNotThrow(com.gemstone.gemfire.cache.Region region) |
protected void |
assertLimitedAccessThrows(com.gemstone.gemfire.cache.Region region) |
protected void |
assertNoAccessDoesNotThrow(com.gemstone.gemfire.cache.Region region) |
protected void |
assertNoAccessThrows(com.gemstone.gemfire.cache.Region region) |
protected com.gemstone.gemfire.distributed.internal.InternalDistributedSystem |
createConnection(String[] roles) |
void |
DISABLED_TILL_NEW_TX_IMPL_COMPLETE_testCommitDistributionException()
Yet to add support for requires role checking in commit processing.
|
protected abstract com.gemstone.gemfire.cache.Scope |
getRegionScope()
Returns scope to execute tests under.
|
protected void |
sleep(long millis) |
void |
tearDown2()
Tears down the test.
|
void |
testFullAccess()
Tests affect of FULL_ACCESS on region operations.
|
void |
testFullAccessWithLocalEntryExpiration()
Tests affect of FULL_ACCESS on local entry expiration actions.
|
void |
testFullAccessWithLocalRegionExpiration()
Tests affect of FULL_ACCESS on local region expiration actions.
|
void |
testLimitedAccess()
Tests affect of LIMITED_ACCESS on region operations.
|
void |
testLimitedAccessWithLocalEntryExpiration()
Tests affect of LIMITED_ACCESS on local entry expiration actions.
|
void |
testLimitedAccessWithLocalRegionExpiration()
Tests affect of LIMITED_ACCESS on local region expiration actions.
|
void |
testNoAccess()
Tests affect of NO_ACCESS on region operations.
|
void |
testNoAccessWithLocalEntryExpiration()
Tests affect of NO_ACCESS on local entry expiration actions.
|
void |
testNoAccessWithLocalRegionExpiration()
Tests affect of NO_ACCESS on local region expiration actions.
|
void |
testRegionDistributionException() |
void |
testReinitialization() |
assertMissingRoles, waitForMemberTimeoutaddExceptionTag1, 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, toStringprotected static Boolean[] detectedDeparture_testCommitDistributionException
protected static Boolean[] detectedDeparture_testRegionDistributionException
public RegionReliabilityTestCase(String name)
public void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCaseExceptionprotected abstract com.gemstone.gemfire.cache.Scope getRegionScope()
protected com.gemstone.gemfire.distributed.internal.InternalDistributedSystem createConnection(String[] roles)
protected void assertLimitedAccessThrows(com.gemstone.gemfire.cache.Region region)
throws Exception
Exceptionprotected void assertNoAccessThrows(com.gemstone.gemfire.cache.Region region)
throws Exception
Exceptionprotected void assertLimitedAccessDoesNotThrow(com.gemstone.gemfire.cache.Region region)
throws Exception
Exceptionprotected void assertNoAccessDoesNotThrow(com.gemstone.gemfire.cache.Region region)
throws Exception
Exceptionprotected void sleep(long millis)
public void testNoAccess()
throws Exception
Exceptionpublic void testNoAccessWithLocalEntryExpiration()
throws Exception
Exceptionpublic void testNoAccessWithLocalRegionExpiration()
throws Exception
Exceptionpublic void testLimitedAccess()
throws Exception
Exceptionpublic void testLimitedAccessWithLocalEntryExpiration()
throws Exception
Exceptionpublic void testLimitedAccessWithLocalRegionExpiration()
throws Exception
Exceptionpublic void testFullAccess()
throws Exception
Exceptionpublic void testFullAccessWithLocalEntryExpiration()
throws Exception
Exceptionpublic void testFullAccessWithLocalRegionExpiration()
throws Exception
Exceptionpublic void DISABLED_TILL_NEW_TX_IMPL_COMPLETE_testCommitDistributionException()
throws Exception
Exceptionpublic void testRegionDistributionException()
throws Exception
ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.