public class QueryDataDUnitTest extends ManagementTestBase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
static String[] |
nonColocatedQueries |
static String[] |
queries |
static String[] |
queriesForRR |
ds, locatorVM, managedNode1, managedNode2, managedNode3, managedNodeList, managementService, managingNode, mbeanServerlogPerTest, reconnect, system, testName| Constructor and Description |
|---|
QueryDataDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
fillValuesInRegions() |
CacheSerializableRunnable |
getCacheSerializableRunnableForBigCollPuts(String regionName)
This function puts big collections to created Region (REPLICATED) *
|
CacheSerializableRunnable |
getCacheSerializableRunnableForPDXPuts(String regionName)
This function puts PDX objects into the created Region (REPLICATED) *
|
CacheSerializableRunnable |
getCacheSerializableRunnableForPRPuts(String regionName,
Object[] portfolio,
int from,
int to)
This function puts portfolio objects into the created Region (PR or Local)
*
|
void |
putBigInstances(String regionName) |
void |
putPdxInstances(String regionName) |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
testErrors() |
void |
testLimit() |
void |
testMemberWise() |
void |
testNormalRegions() |
void |
testQueryOnPartitionedRegion() |
void |
testQueryOnReplicatedRegion() |
checkManagedNodeCleanup, checkManagementExceptions, checkProxyCleanup, closeAllCache, closeCache, closeRegion, createCache, createCache, createCache, createCache, createDistributedRegion, createDistributedRegionAsync, createLocalRegion, createManagementCache, createPartitionRegion, createSubRegion, disableManagement, enableManagement, getCache, getManagedNodeList, getManagementService, getManagingNode, getMember, getMemberId, initManagement, putInDistributedRegion, runManagementTaskAdhoc, startBeingManagingNode, startManagingNode, startManagingNodeAsync, stopManagingNode, waitForAllMembers, waitForProxy, waitForRefreshaddExpectedException, addExpectedException, addHydraProperties, attachDebugger, checkBBFlag, cleanupAllVms, clearBBFlag, crashDistributedSystem, crashDistributedSystem, createLogWriter, disconnectAllFromDS, disconnectFromDS, 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 static String[] queries
public static String[] nonColocatedQueries
public static String[] queriesForRR
public QueryDataDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class ManagementTestBaseExceptionpublic void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class ManagementTestBaseExceptionpublic CacheSerializableRunnable getCacheSerializableRunnableForPRPuts(String regionName, Object[] portfolio, int from, int to)
public CacheSerializableRunnable getCacheSerializableRunnableForPDXPuts(String regionName)
public CacheSerializableRunnable getCacheSerializableRunnableForBigCollPuts(String regionName)
public void fillValuesInRegions()
public void putPdxInstances(String regionName) throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void putBigInstances(String regionName) throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testQueryOnPartitionedRegion()
throws Exception
Exceptionpublic void testQueryOnReplicatedRegion()
throws Exception
ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.