public abstract class RegionReliabilityTestCase extends ReliabilityTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.Boolean[] |
detectedDeparture_testCommitDistributionException |
protected static java.lang.Boolean[] |
detectedDeparture_testRegionDistributionException |
cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
RegionReliabilityTestCase(java.lang.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(java.lang.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 java.lang.Boolean[] detectedDeparture_testCommitDistributionException
protected static java.lang.Boolean[] detectedDeparture_testRegionDistributionException
public RegionReliabilityTestCase(java.lang.String name)
public void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCasejava.lang.Exceptionprotected abstract com.gemstone.gemfire.cache.Scope getRegionScope()
protected com.gemstone.gemfire.distributed.internal.InternalDistributedSystem createConnection(java.lang.String[] roles)
protected void assertLimitedAccessThrows(com.gemstone.gemfire.cache.Region region)
throws java.lang.Exception
java.lang.Exceptionprotected void assertNoAccessThrows(com.gemstone.gemfire.cache.Region region)
throws java.lang.Exception
java.lang.Exceptionprotected void assertLimitedAccessDoesNotThrow(com.gemstone.gemfire.cache.Region region)
throws java.lang.Exception
java.lang.Exceptionprotected void assertNoAccessDoesNotThrow(com.gemstone.gemfire.cache.Region region)
throws java.lang.Exception
java.lang.Exceptionprotected void sleep(long millis)
public void testNoAccess()
throws java.lang.Exception
java.lang.Exceptionpublic void testNoAccessWithLocalEntryExpiration()
throws java.lang.Exception
java.lang.Exceptionpublic void testNoAccessWithLocalRegionExpiration()
throws java.lang.Exception
java.lang.Exceptionpublic void testLimitedAccess()
throws java.lang.Exception
java.lang.Exceptionpublic void testLimitedAccessWithLocalEntryExpiration()
throws java.lang.Exception
java.lang.Exceptionpublic void testLimitedAccessWithLocalRegionExpiration()
throws java.lang.Exception
java.lang.Exceptionpublic void testFullAccess()
throws java.lang.Exception
java.lang.Exceptionpublic void testFullAccessWithLocalEntryExpiration()
throws java.lang.Exception
java.lang.Exceptionpublic void testFullAccessWithLocalRegionExpiration()
throws java.lang.Exception
java.lang.Exceptionpublic void DISABLED_TILL_NEW_TX_IMPL_COMPLETE_testCommitDistributionException()
throws java.lang.Exception
java.lang.Exceptionpublic void testRegionDistributionException()
throws java.lang.Exception
java.lang.Exceptionpublic void testReinitialization()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.