public class MemberFunctionExecutionDUnitTest extends CacheTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
MemberFunctionExecutionDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
bug41118() |
static void |
connectToDistributedSystem(Properties props) |
static void |
excuteOnMembers_InlineFunction(Integer noOfMembers) |
static void |
excuteOnMembers_NoLastResult(Integer noOfMembers) |
static void |
excuteOnMembers_SendException(Integer noOfMembers) |
static void |
excuteOnMembers(Integer noOfMembers) |
static void |
excuteOnMembersNoResult() |
static void |
registerExpectedExceptions(boolean add) |
static void |
registerFunction() |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
testBug40714() |
void |
testBug41118()
This tests make sure that, in case of LonerDistributedSystem we dont get ClassCast Exception.
|
void |
testBug45328() |
void |
testBug46129() |
void |
testLocalMultiKeyExecution_NoLastResult() |
void |
testRemoteMultiKeyExecution_InlineFunction()
Test the execution of function on all memebers
haveResults = true
|
void |
testRemoteMultiKeyExecution_NoLastResult() |
void |
testRemoteMultiKeyExecution_SendException1() |
void |
testRemoteMultiKeyExecution_SendException2() |
void |
testRemoteMultiKeyExecution_SendException3() |
void |
testRemoteMultiKeyExecution()
Test the execution of function on all memebers
haveResults = true
|
void |
testRemoteMultiKeyExecutionNoResult()
Test the execution of function on all memebers
haveResults = false
|
void |
testRemoteMultiKeyExecutiononLocalMember_InlineFunction()
Test the execution of function on local memebers
haveResults = true
|
void |
testRemoteMultiKeyExecutiononLocalMember()
Test the execution of function on local memebers
haveResults = true
|
void |
testRemoteMultiKeyExecutiononOtherMembers_InlineFunction()
Test the execution of function on other memebers
haveResults = true
|
void |
testRemoteMultiKeyExecutiononOtherMembers()
Test the execution of function on other memebers
haveResults = true
|
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 MemberFunctionExecutionDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic void testRemoteMultiKeyExecution()
throws Exception
Exceptionpublic void testRemoteMultiKeyExecution_SendException1()
throws Exception
Exceptionpublic void testRemoteMultiKeyExecution_SendException2()
throws Exception
Exceptionpublic void testRemoteMultiKeyExecution_SendException3()
throws Exception
Exceptionpublic void testRemoteMultiKeyExecution_NoLastResult()
throws Exception
Exceptionpublic void testLocalMultiKeyExecution_NoLastResult()
throws Exception
Exceptionpublic void testRemoteMultiKeyExecution_InlineFunction()
throws Exception
Exceptionpublic static void registerFunction()
public void testRemoteMultiKeyExecutionNoResult()
throws Exception
Exceptionpublic void testRemoteMultiKeyExecutiononLocalMember()
throws Exception
Exceptionpublic void testRemoteMultiKeyExecutiononLocalMember_InlineFunction()
throws Exception
Exceptionpublic void testRemoteMultiKeyExecutiononOtherMembers()
throws Exception
Exceptionpublic void testRemoteMultiKeyExecutiononOtherMembers_InlineFunction()
throws Exception
Exceptionpublic void testBug41118()
throws Exception
Exceptionpublic static void bug41118()
public static void excuteOnMembers(Integer noOfMembers)
public static void excuteOnMembers_SendException(Integer noOfMembers)
public static void excuteOnMembers_NoLastResult(Integer noOfMembers)
public static void excuteOnMembers_InlineFunction(Integer noOfMembers)
public static void excuteOnMembersNoResult()
public static void registerExpectedExceptions(boolean add)
public static void connectToDistributedSystem(Properties props)
public void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCaseExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.