public class ListIndexCommandDUnitTest extends CliCommandTestBase
CliCommandTestBase,
IndexCommands,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
protected static class |
ListIndexCommandDUnitTest.AbstractBean<T extends java.lang.Comparable<T>> |
static class |
ListIndexCommandDUnitTest.Consumer |
protected static class |
ListIndexCommandDUnitTest.CrudOperation |
protected static class |
ListIndexCommandDUnitTest.IndexAdapter |
protected static class |
ListIndexCommandDUnitTest.Peer |
static class |
ListIndexCommandDUnitTest.Producer |
static class |
ListIndexCommandDUnitTest.Proxy |
protected static class |
ListIndexCommandDUnitTest.RegionDefinition |
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_REGION_INITIAL_CAPACITY |
USE_HTTP_SYSTEM_PROPERTYcachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
ListIndexCommandDUnitTest(java.lang.String testName) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Properties |
createDistributedSystemProperties(java.lang.String gemfireName) |
protected com.gemstone.gemfire.cache.query.Index |
createIndex(java.lang.String name,
com.gemstone.gemfire.cache.query.IndexType type,
java.lang.String indexedExpression,
java.lang.String fromClause) |
protected com.gemstone.gemfire.cache.query.Index |
createIndex(java.lang.String name,
java.lang.String indexedExpression,
java.lang.String fromClause) |
protected ListIndexCommandDUnitTest.Peer |
createPeer(VM vm,
java.util.Properties distributedSystemProperties,
ListIndexCommandDUnitTest.RegionDefinition... regions) |
protected ListIndexCommandDUnitTest.RegionDefinition |
createRegionDefinition(java.lang.String regionName,
java.lang.Class<?> keyConstraint,
java.lang.Class<?> valueConstraint,
com.gemstone.gemfire.cache.query.Index... indexes) |
protected void |
createRegionWithIndexes(ListIndexCommandDUnitTest.Peer peer) |
protected void |
loadConsumerData(ListIndexCommandDUnitTest.Peer peer,
int operationsTotal) |
protected void |
loadProducerData(ListIndexCommandDUnitTest.Peer peer,
int operationsTotal) |
protected <T extends java.lang.Comparable<T>,B extends ListIndexCommandDUnitTest.AbstractBean<T>> |
query(com.gemstone.gemfire.cache.Cache cache,
java.lang.String queryString) |
protected <T extends java.lang.Comparable<T>,B extends ListIndexCommandDUnitTest.AbstractBean<T>> |
query(com.gemstone.gemfire.cache.Region<T,B> region,
java.lang.String queryPredicate) |
void |
setUp()
Sets up the test (noop).
|
protected void |
setupGemFire() |
void |
tearDown2()
Tears down the test.
|
void |
testListIndex() |
protected static java.lang.String |
toString(com.gemstone.gemfire.management.cli.Result result) |
commandResultToString, countLinesInString, countMatchesInString, createDefaultSetup, createShell, debug, destroyDefaultSetup, error, error, executeCommand, executeCommand, executeCommandWithoutClear, executeCommandWithoutClear, extractCommandResult, getDefaultShell, getLineFromString, info, printResult, shellConnect, stringContainsLineaddExceptionTag1, 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, toStringprotected static final int DEFAULT_REGION_INITIAL_CAPACITY
public ListIndexCommandDUnitTest(java.lang.String testName)
protected static java.lang.String toString(com.gemstone.gemfire.management.cli.Result result)
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class CliCommandTestBasejava.lang.Exceptionpublic void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CliCommandTestBasejava.lang.Exceptionprotected com.gemstone.gemfire.cache.query.Index createIndex(java.lang.String name,
java.lang.String indexedExpression,
java.lang.String fromClause)
protected com.gemstone.gemfire.cache.query.Index createIndex(java.lang.String name,
com.gemstone.gemfire.cache.query.IndexType type,
java.lang.String indexedExpression,
java.lang.String fromClause)
protected ListIndexCommandDUnitTest.Peer createPeer(VM vm, java.util.Properties distributedSystemProperties, ListIndexCommandDUnitTest.RegionDefinition... regions)
protected ListIndexCommandDUnitTest.RegionDefinition createRegionDefinition(java.lang.String regionName, java.lang.Class<?> keyConstraint, java.lang.Class<?> valueConstraint, com.gemstone.gemfire.cache.query.Index... indexes)
protected void setupGemFire()
throws java.lang.Exception
java.lang.Exceptionprotected java.util.Properties createDistributedSystemProperties(java.lang.String gemfireName)
protected void createRegionWithIndexes(ListIndexCommandDUnitTest.Peer peer)
protected void loadConsumerData(ListIndexCommandDUnitTest.Peer peer, int operationsTotal)
protected void loadProducerData(ListIndexCommandDUnitTest.Peer peer, int operationsTotal)
protected <T extends java.lang.Comparable<T>,B extends ListIndexCommandDUnitTest.AbstractBean<T>> B query(com.gemstone.gemfire.cache.Cache cache, java.lang.String queryString)
protected <T extends java.lang.Comparable<T>,B extends ListIndexCommandDUnitTest.AbstractBean<T>> B query(com.gemstone.gemfire.cache.Region<T,B> region, java.lang.String queryPredicate)
public void testListIndex()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.