public class ListIndexCommandDUnitTest extends CliCommandTestBase
CliCommandTestBase,
IndexCommands,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
protected static class |
ListIndexCommandDUnitTest.AbstractBean<T extends 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(String testName) |
| Modifier and Type | Method and Description |
|---|---|
protected Properties |
createDistributedSystemProperties(String gemfireName) |
protected com.gemstone.gemfire.cache.query.Index |
createIndex(String name,
com.gemstone.gemfire.cache.query.IndexType type,
String indexedExpression,
String fromClause) |
protected com.gemstone.gemfire.cache.query.Index |
createIndex(String name,
String indexedExpression,
String fromClause) |
protected ListIndexCommandDUnitTest.Peer |
createPeer(VM vm,
Properties distributedSystemProperties,
ListIndexCommandDUnitTest.RegionDefinition... regions) |
protected ListIndexCommandDUnitTest.RegionDefinition |
createRegionDefinition(String regionName,
Class<?> keyConstraint,
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 Comparable<T>,B extends ListIndexCommandDUnitTest.AbstractBean<T>> |
query(com.gemstone.gemfire.cache.Cache cache,
String queryString) |
protected <T extends Comparable<T>,B extends ListIndexCommandDUnitTest.AbstractBean<T>> |
query(com.gemstone.gemfire.cache.Region<T,B> region,
String queryPredicate) |
void |
setUp()
Sets up the test (noop).
|
protected void |
setupGemFire() |
void |
tearDown2()
Tears down the test.
|
void |
testListIndex() |
protected static 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(String testName)
protected static String toString(com.gemstone.gemfire.management.cli.Result result)
public void setUp()
throws Exception
DistributedTestCasesetUp in class CliCommandTestBaseExceptionpublic void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CliCommandTestBaseExceptionprotected com.gemstone.gemfire.cache.query.Index createIndex(String name, String indexedExpression, String fromClause)
protected com.gemstone.gemfire.cache.query.Index createIndex(String name, com.gemstone.gemfire.cache.query.IndexType type, String indexedExpression, String fromClause)
protected ListIndexCommandDUnitTest.Peer createPeer(VM vm, Properties distributedSystemProperties, ListIndexCommandDUnitTest.RegionDefinition... regions)
protected ListIndexCommandDUnitTest.RegionDefinition createRegionDefinition(String regionName, Class<?> keyConstraint, Class<?> valueConstraint, com.gemstone.gemfire.cache.query.Index... indexes)
protected Properties createDistributedSystemProperties(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 Comparable<T>,B extends ListIndexCommandDUnitTest.AbstractBean<T>> B query(com.gemstone.gemfire.cache.Cache cache, String queryString)
protected <T extends Comparable<T>,B extends ListIndexCommandDUnitTest.AbstractBean<T>> B query(com.gemstone.gemfire.cache.Region<T,B> region, String queryPredicate)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.