public class MemberFunctionExecutionDUnitTest extends CacheTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
MemberFunctionExecutionDUnitTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
bug41118() |
static void |
connectToDistributedSystem(java.util.Properties props) |
static void |
excuteOnMembers_InlineFunction(java.lang.Integer noOfMembers) |
static void |
excuteOnMembers_NoLastResult(java.lang.Integer noOfMembers) |
static void |
excuteOnMembers_SendException(java.lang.Integer noOfMembers) |
static void |
excuteOnMembers(java.lang.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(java.lang.String name)
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class DistributedTestCasejava.lang.Exceptionpublic void testRemoteMultiKeyExecution()
throws java.lang.Exception
java.lang.Exceptionpublic void testRemoteMultiKeyExecution_SendException1()
throws java.lang.Exception
java.lang.Exceptionpublic void testRemoteMultiKeyExecution_SendException2()
throws java.lang.Exception
java.lang.Exceptionpublic void testRemoteMultiKeyExecution_SendException3()
throws java.lang.Exception
java.lang.Exceptionpublic void testRemoteMultiKeyExecution_NoLastResult()
throws java.lang.Exception
java.lang.Exceptionpublic void testLocalMultiKeyExecution_NoLastResult()
throws java.lang.Exception
java.lang.Exceptionpublic void testRemoteMultiKeyExecution_InlineFunction()
throws java.lang.Exception
java.lang.Exceptionpublic void testBug45328()
throws java.lang.Exception
java.lang.Exceptionpublic void testBug40714()
throws java.lang.Exception
java.lang.Exceptionpublic void testBug46129()
throws java.lang.Exception
java.lang.Exceptionpublic static void registerFunction()
public void testRemoteMultiKeyExecutionNoResult()
throws java.lang.Exception
java.lang.Exceptionpublic void testRemoteMultiKeyExecutiononLocalMember()
throws java.lang.Exception
java.lang.Exceptionpublic void testRemoteMultiKeyExecutiononLocalMember_InlineFunction()
throws java.lang.Exception
java.lang.Exceptionpublic void testRemoteMultiKeyExecutiononOtherMembers()
throws java.lang.Exception
java.lang.Exceptionpublic void testRemoteMultiKeyExecutiononOtherMembers_InlineFunction()
throws java.lang.Exception
java.lang.Exceptionpublic void testBug41118()
throws java.lang.Exception
java.lang.Exceptionpublic static void bug41118()
public static void excuteOnMembers(java.lang.Integer noOfMembers)
public static void excuteOnMembers_SendException(java.lang.Integer noOfMembers)
public static void excuteOnMembers_NoLastResult(java.lang.Integer noOfMembers)
public static void excuteOnMembers_InlineFunction(java.lang.Integer noOfMembers)
public static void excuteOnMembersNoResult()
public static void registerExpectedExceptions(boolean add)
public static void connectToDistributedSystem(java.util.Properties props)
public void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCasejava.lang.ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.