public class QueryDataDUnitTest extends ManagementTestBase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
nonColocatedQueries |
static java.lang.String[] |
queries |
static java.lang.String[] |
queriesForRR |
ds, locatorVM, managedNode1, managedNode2, managedNode3, managedNodeList, managementService, managingNode, mbeanServerlogPerTest, reconnect, system, testName| Constructor and Description |
|---|
QueryDataDUnitTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
fillValuesInRegions() |
CacheSerializableRunnable |
getCacheSerializableRunnableForBigCollPuts(java.lang.String regionName)
This function puts big collections to created Region (REPLICATED) *
|
CacheSerializableRunnable |
getCacheSerializableRunnableForPDXPuts(java.lang.String regionName)
This function puts PDX objects into the created Region (REPLICATED) *
|
CacheSerializableRunnable |
getCacheSerializableRunnableForPRPuts(java.lang.String regionName,
java.lang.Object[] portfolio,
int from,
int to)
This function puts portfolio objects into the created Region (PR or Local)
*
|
void |
putBigInstances(java.lang.String regionName) |
void |
putPdxInstances(java.lang.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 java.lang.String[] queries
public static java.lang.String[] nonColocatedQueries
public static java.lang.String[] queriesForRR
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class ManagementTestBasejava.lang.Exceptionpublic void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class ManagementTestBasejava.lang.Exceptionpublic CacheSerializableRunnable getCacheSerializableRunnableForPRPuts(java.lang.String regionName, java.lang.Object[] portfolio, int from, int to)
public CacheSerializableRunnable getCacheSerializableRunnableForPDXPuts(java.lang.String regionName)
public CacheSerializableRunnable getCacheSerializableRunnableForBigCollPuts(java.lang.String regionName)
public void fillValuesInRegions()
public void putPdxInstances(java.lang.String regionName)
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void putBigInstances(java.lang.String regionName)
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testQueryOnPartitionedRegion()
throws java.lang.Exception
java.lang.Exceptionpublic void testQueryOnReplicatedRegion()
throws java.lang.Exception
java.lang.Exceptionpublic void testMemberWise()
throws java.lang.Exception
java.lang.Exceptionpublic void testLimit()
throws java.lang.Exception
java.lang.Exceptionpublic void testErrors()
throws java.lang.Exception
java.lang.Exceptionpublic void testNormalRegions()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.