public class QueryIndexUsingXMLDUnitTest extends CacheTestCase
| Modifier and Type | Class and Description |
|---|---|
static class |
QueryIndexUsingXMLDUnitTest.QueryObserverImpl |
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
static long |
MAX_TIME |
cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
QueryIndexUsingXMLDUnitTest(String name)
Creates a new instance of QueryIndexUsingXMLDUnitTest
|
| Modifier and Type | Method and Description |
|---|---|
CacheSerializableRunnable |
close() |
CacheSerializableRunnable |
closeWithoutDeletingDiskStore() |
CacheSerializableRunnable |
createIndexThrougXML(String vmid,
String regionName,
String xmlFileName) |
CacheSerializableRunnable |
executeQuery(String rname) |
CacheSerializableRunnable |
executeQueryAndCompareResult(String rname,
boolean compareHash) |
protected File |
findFile(String fileName) |
com.gemstone.gemfire.distributed.internal.InternalDistributedSystem |
getSystem(String diskStoreId) |
CacheSerializableRunnable |
indexCreationCheck(String regionName,
String indexName) |
CacheSerializableRunnable |
loadRegion(String name) |
CacheSerializableRunnable |
loadRegion(String name,
int size) |
CacheSerializableRunnable |
prIndexCreationCheck(String regionName,
String indexName,
int bucketCount) |
CacheSerializableRunnable |
resetTestHook() |
CacheSerializableRunnable |
setTestHook() |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
testCreateAsyncIndexWhileDoingGII()
Creats partitioned index from an xml discription.
|
void |
testCreateAsyncIndexWhileDoingGIIAndCompareQueryResults()
Creates asynch indexes and compares the results between index and non-index results.
|
void |
testCreateAsyncIndexWhileDoingGIIAndQuery()
Creates async partitioned index from an xml description.
|
void |
testCreateIndexThroughXML()
Creates partitioned index from an xml description.
|
void |
testCreateIndexWhileDoingGII()
Creates partitioned index from an xml description.
|
void |
testCreateIndexWhileDoingGIIAndCompareQueryResults()
Creates indexes and compares the results between index and non-index results.
|
void |
testCreateIndexWhileDoingGIIWithEmptyPRRegion()
Creates partitioned index from an xml description.
|
void |
testIndexCreationForReplicatedPersistentOverFlowRegionOnRestart() |
void |
testPersistentPRRegionCreateIndexWhileDoingGII()
Creates persistent partitioned index from an xml description.
|
void |
testReplicatedRegionCreateIndexWhileDoingGII()
Creates partitioned index from an xml description.
|
boolean |
waitForIndexedBuckets(com.gemstone.gemfire.cache.query.internal.index.PartitionedIndex index,
int bucketCount) |
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 QueryIndexUsingXMLDUnitTest(String name)
public void setUp()
DistributedTestCasesetUp in class DistributedTestCasepublic void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCaseExceptionpublic void testCreateIndexThroughXML()
throws Exception
Exceptionpublic void testCreateIndexWhileDoingGII()
throws Exception
Exceptionpublic void testReplicatedRegionCreateIndexWhileDoingGII()
throws Exception
Exceptionpublic void testPersistentPRRegionCreateIndexWhileDoingGII()
throws Exception
Exceptionpublic void testCreateIndexWhileDoingGIIWithEmptyPRRegion()
throws Exception
Exceptionpublic void testCreateAsyncIndexWhileDoingGII()
throws Exception
Exceptionpublic void testCreateIndexWhileDoingGIIAndCompareQueryResults()
throws Exception
Exceptionpublic void testCreateAsyncIndexWhileDoingGIIAndQuery()
throws Exception
Exceptionpublic void testCreateAsyncIndexWhileDoingGIIAndCompareQueryResults()
throws Exception
Exceptionpublic void testIndexCreationForReplicatedPersistentOverFlowRegionOnRestart()
throws Exception
Exceptionpublic CacheSerializableRunnable setTestHook()
public CacheSerializableRunnable resetTestHook()
public CacheSerializableRunnable createIndexThrougXML(String vmid, String regionName, String xmlFileName)
public CacheSerializableRunnable prIndexCreationCheck(String regionName, String indexName, int bucketCount)
public CacheSerializableRunnable indexCreationCheck(String regionName, String indexName)
public boolean waitForIndexedBuckets(com.gemstone.gemfire.cache.query.internal.index.PartitionedIndex index,
int bucketCount)
public CacheSerializableRunnable loadRegion(String name)
public CacheSerializableRunnable loadRegion(String name, int size)
public CacheSerializableRunnable executeQuery(String rname)
public CacheSerializableRunnable executeQueryAndCompareResult(String rname, boolean compareHash)
public CacheSerializableRunnable closeWithoutDeletingDiskStore()
public CacheSerializableRunnable close()
public final com.gemstone.gemfire.distributed.internal.InternalDistributedSystem getSystem(String diskStoreId)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.