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(java.lang.String name)
Creates a new instance of QueryIndexUsingXMLDUnitTest
|
| Modifier and Type | Method and Description |
|---|---|
CacheSerializableRunnable |
close() |
CacheSerializableRunnable |
closeWithoutDeletingDiskStore() |
CacheSerializableRunnable |
createIndexThrougXML(java.lang.String vmid,
java.lang.String regionName,
java.lang.String xmlFileName) |
CacheSerializableRunnable |
executeQuery(java.lang.String rname) |
CacheSerializableRunnable |
executeQueryAndCompareResult(java.lang.String rname,
boolean compareHash) |
protected java.io.File |
findFile(java.lang.String fileName) |
com.gemstone.gemfire.distributed.internal.InternalDistributedSystem |
getSystem(java.lang.String diskStoreId) |
CacheSerializableRunnable |
indexCreationCheck(java.lang.String regionName,
java.lang.String indexName) |
CacheSerializableRunnable |
loadRegion(java.lang.String name) |
CacheSerializableRunnable |
loadRegion(java.lang.String name,
int size) |
CacheSerializableRunnable |
prIndexCreationCheck(java.lang.String regionName,
java.lang.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(java.lang.String name)
public void setUp()
DistributedTestCasesetUp in class DistributedTestCasepublic void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCasejava.lang.Exceptionpublic void testCreateIndexThroughXML()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateIndexWhileDoingGII()
throws java.lang.Exception
java.lang.Exceptionpublic void testReplicatedRegionCreateIndexWhileDoingGII()
throws java.lang.Exception
java.lang.Exceptionpublic void testPersistentPRRegionCreateIndexWhileDoingGII()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateIndexWhileDoingGIIWithEmptyPRRegion()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateAsyncIndexWhileDoingGII()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateIndexWhileDoingGIIAndCompareQueryResults()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateAsyncIndexWhileDoingGIIAndQuery()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateAsyncIndexWhileDoingGIIAndCompareQueryResults()
throws java.lang.Exception
java.lang.Exceptionpublic void testIndexCreationForReplicatedPersistentOverFlowRegionOnRestart()
throws java.lang.Exception
java.lang.Exceptionpublic CacheSerializableRunnable setTestHook()
public CacheSerializableRunnable resetTestHook()
public CacheSerializableRunnable createIndexThrougXML(java.lang.String vmid, java.lang.String regionName, java.lang.String xmlFileName)
public CacheSerializableRunnable prIndexCreationCheck(java.lang.String regionName, java.lang.String indexName, int bucketCount)
public CacheSerializableRunnable indexCreationCheck(java.lang.String regionName, java.lang.String indexName)
public boolean waitForIndexedBuckets(com.gemstone.gemfire.cache.query.internal.index.PartitionedIndex index,
int bucketCount)
public CacheSerializableRunnable loadRegion(java.lang.String name)
public CacheSerializableRunnable loadRegion(java.lang.String name, int size)
public CacheSerializableRunnable executeQuery(java.lang.String rname)
public CacheSerializableRunnable executeQueryAndCompareResult(java.lang.String rname, boolean compareHash)
public CacheSerializableRunnable closeWithoutDeletingDiskStore()
public CacheSerializableRunnable close()
protected java.io.File findFile(java.lang.String fileName)
public final com.gemstone.gemfire.distributed.internal.InternalDistributedSystem getSystem(java.lang.String diskStoreId)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.