public class ClientServerFunctionExecutionDUnitTest extends PRClientServerTestBase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2poollogPerTest, reconnect, system, testName| Constructor and Description |
|---|
ClientServerFunctionExecutionDUnitTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
allServerExecution_Inline() |
static void |
allServerExecution_NoLastResult(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister) |
static void |
allServerExecution_SendException(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister) |
static void |
allServerExecution(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister) |
static void |
createProxyRegion(java.lang.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(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister) |
static void |
serverExecution_SendException(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister) |
static void |
serverExecution(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister) |
static java.lang.Object |
serverExecutionHAOneServerDown(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister) |
static void |
serverExecutionHATwoServerDown(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister) |
static java.lang.Object |
serverExecutionNonHA(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister) |
static void |
serverFunctionExecution_FunctionInvocationTargetException(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.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(java.lang.Integer expectedDeadServers,
java.lang.Integer expectedLiveServers) |
static void |
verifyMetaData(java.lang.Integer arg1,
java.lang.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(java.lang.String name)
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class PRClientServerTestBasejava.lang.Exceptionpublic void test_Bug_43126_Function_Not_Registered()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void test_Bug43126()
throws java.lang.InterruptedException
java.lang.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 java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void testOnServerFailoverWithTwoServerDownHA()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void testOnServerFailoverNonHA()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void testOnServerExecution_FunctionInvocationTargetException()
public static void serverExecution(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister)
public static void executeRegisteredFunction()
public static void serverExecution_SendException(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister)
public static void createReplicatedRegion()
public static void createProxyRegion(java.lang.String hostName)
public static void verifyMetaData(java.lang.Integer arg1,
java.lang.Integer arg2)
public static void verifyDeadAndLiveServers(java.lang.Integer expectedDeadServers,
java.lang.Integer expectedLiveServers)
public static java.lang.Object serverExecutionHAOneServerDown(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister)
public static void serverExecutionHATwoServerDown(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister)
public static java.lang.Object serverExecutionNonHA(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister)
public static void serverFunctionExecution_FunctionInvocationTargetException(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister)
public static void serverExecution_NoLastResult(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister)
public static void serverExecution_Inline()
public static void serverExecution_Inline_InvalidAttributes()
public static void allServerExecution(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister)
public static void allServerExecution_SendException(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister)
public static void allServerExecution_NoLastResult(java.lang.Boolean isByName,
com.gemstone.gemfire.cache.execute.Function function,
java.lang.Boolean toRegister)
public static void allServerExecution_Inline()
public void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class PRClientServerTestBasejava.lang.ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.