public class ClientServerFunctionExecutionDUnitTest extends PRClientServerTestBase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2poollogPerTest, reconnect, system, testName| Constructor and Description |
|---|
ClientServerFunctionExecutionDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
allServerExecution_Inline() |
static void |
allServerExecution_NoLastResult(Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
Boolean toRegister) |
static void |
allServerExecution_SendException(Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
Boolean toRegister) |
static void |
allServerExecution(Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
Boolean toRegister) |
static void |
createProxyRegion(String hostName) |
static void |
createReplicatedRegion() |
static void |
executeRegisteredFunction() |
static void |
FunctionExecution_Inline_Bug40714() |
static void |
registerFunction() |
static void |
serverExecution_Inline_InvalidAttributes() |
static void |
serverExecution_Inline() |
static void |
serverExecution_NoLastResult(Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
Boolean toRegister) |
static void |
serverExecution_SendException(Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
Boolean toRegister) |
static void |
serverExecution(Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
Boolean toRegister) |
static Object |
serverExecutionHAOneServerDown(Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
Boolean toRegister) |
static void |
serverExecutionHATwoServerDown(Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
Boolean toRegister) |
static Object |
serverExecutionNonHA(Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
Boolean toRegister) |
static void |
serverFunctionExecution_FunctionInvocationTargetException(Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
Boolean toRegister) |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
test_Bug_43126_Function_Not_Registered() |
void |
test_Bug43126() |
void |
testBug40714() |
void |
testOnServerExecution_FunctionInvocationTargetException() |
void |
testOnServerFailoverNonHA() |
void |
testOnServerFailoverWithOneServerDownHA() |
void |
testOnServerFailoverWithTwoServerDownHA() |
void |
testServerExecution_byInlineFunction_InvalidAttrbiutes() |
void |
testServerExecution_byInlineFunction() |
void |
testServerExecution_byName_WithoutRegister() |
void |
testServerExecution_byName() |
void |
testServerExecution_NoLastResult() |
void |
testServerExecution_sendException() |
void |
testServerExecution_SocketTimeOut_WithoutRegister() |
void |
testServerExecution_SocketTimeOut() |
static void |
verifyDeadAndLiveServers(Integer expectedDeadServers,
Integer expectedLiveServers) |
static void |
verifyMetaData(Integer arg1,
Integer arg2) |
closeCache, closeCacheHA, createCacheClient_SingleConnection, createCacheClient, createCacheClientWith2Regions, createCacheClientWithDistributedRegion, createCacheClientWithoutRegion, createCacheInVm, createCacheServer, createCacheServer, createCacheServerWith2Regions, createCacheServerWithDR, createClientServerScenarion_SingleConnection, createClientServerScenarion, createClientServerScenarioNoSingleHop, createClientServerScenarionWith2Regions, createClientServerScenarionWithDistributedtRegion, createClientServerScenarionWithoutRegion, createClientServerScenarioSelectorNoSingleHop, createClientServerScenarioSingleHop, createCommonServerAttributes, createNoSingleHopCacheClient, createSelectorCacheServer, createSingleHopCacheClient, registerFunction, registerFunctionAtServer, runOnAllServers, startServerHA, stopServerHAaddExceptionTag1, basicGetCache, beginCacheXml, cleanDiskDirs, closeAllCache, 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 ClientServerFunctionExecutionDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class PRClientServerTestBaseExceptionpublic void test_Bug_43126_Function_Not_Registered()
throws InterruptedException
InterruptedExceptionpublic void test_Bug43126()
throws InterruptedException
InterruptedExceptionpublic void testServerExecution_byName()
public void testServerExecution_sendException()
public void testServerExecution_NoLastResult()
public void testServerExecution_byName_WithoutRegister()
public void testServerExecution_byInlineFunction()
public void testServerExecution_byInlineFunction_InvalidAttrbiutes()
public void testBug40714()
public static void registerFunction()
public static void FunctionExecution_Inline_Bug40714()
public void testServerExecution_SocketTimeOut()
public void testServerExecution_SocketTimeOut_WithoutRegister()
public void testOnServerFailoverWithOneServerDownHA()
throws InterruptedException
InterruptedExceptionpublic void testOnServerFailoverWithTwoServerDownHA()
throws InterruptedException
InterruptedExceptionpublic void testOnServerFailoverNonHA()
throws InterruptedException
InterruptedExceptionpublic void testOnServerExecution_FunctionInvocationTargetException()
public static void serverExecution(Boolean isByName, com.gemstone.gemfire.cache.execute.Function function, Boolean toRegister)
public static void executeRegisteredFunction()
public static void serverExecution_SendException(Boolean isByName, com.gemstone.gemfire.cache.execute.Function function, Boolean toRegister)
public static void createReplicatedRegion()
public static void createProxyRegion(String hostName)
public static void verifyDeadAndLiveServers(Integer expectedDeadServers, Integer expectedLiveServers)
public static Object serverExecutionHAOneServerDown(Boolean isByName, com.gemstone.gemfire.cache.execute.Function function, Boolean toRegister)
public static void serverExecutionHATwoServerDown(Boolean isByName, com.gemstone.gemfire.cache.execute.Function function, Boolean toRegister)
public static Object serverExecutionNonHA(Boolean isByName, com.gemstone.gemfire.cache.execute.Function function, Boolean toRegister)
public static void serverFunctionExecution_FunctionInvocationTargetException(Boolean isByName, com.gemstone.gemfire.cache.execute.Function function, Boolean toRegister)
public static void serverExecution_NoLastResult(Boolean isByName, com.gemstone.gemfire.cache.execute.Function function, Boolean toRegister)
public static void serverExecution_Inline()
public static void serverExecution_Inline_InvalidAttributes()
public static void allServerExecution(Boolean isByName, com.gemstone.gemfire.cache.execute.Function function, Boolean toRegister)
public static void allServerExecution_SendException(Boolean isByName, com.gemstone.gemfire.cache.execute.Function function, Boolean toRegister)
public static void allServerExecution_NoLastResult(Boolean isByName, com.gemstone.gemfire.cache.execute.Function function, Boolean toRegister)
public static void allServerExecution_Inline()
public void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class PRClientServerTestBaseExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.