public class CompactRangeIndexDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2logPerTest, reconnect, system, testName| Constructor and Description |
|---|
CompactRangeIndexDUnitTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeServer(VM server,
com.gemstone.gemfire.cache.query.QueryTestUtils utils) |
static void |
createIndex(VM vm,
java.lang.String name,
java.lang.String field,
java.lang.String region,
com.gemstone.gemfire.cache.query.QueryTestUtils utils) |
static void |
createPartitionRegion(java.lang.String name,
java.lang.Class constraint,
VM vm,
com.gemstone.gemfire.cache.query.QueryTestUtils utils) |
static void |
createReplicateRegion(java.lang.String name,
VM vm,
com.gemstone.gemfire.cache.query.QueryTestUtils utils) |
static void |
createServer(VM server,
java.util.Properties prop,
com.gemstone.gemfire.cache.query.QueryTestUtils utils) |
void |
doDestroy(int entries) |
void |
doPut(int entries) |
void |
doPutSync(int entries) |
void |
doQuery() |
void |
doUpdate(int entries) |
void |
removeHook() |
void |
setHook() |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
testCompactRangeIndexForConcurrentHashSet() |
void |
testCompactRangeIndexForIndexElemArray() |
void |
testIndexInvalidDueToExpressionOnPartitionedRegion() |
void |
testNoSuchElemException() |
addExpectedException, 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 CompactRangeIndexDUnitTest(java.lang.String name)
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class DistributedTestCasejava.lang.Exceptionpublic static void createServer(VM server, java.util.Properties prop, com.gemstone.gemfire.cache.query.QueryTestUtils utils)
public static void createIndex(VM vm, java.lang.String name, java.lang.String field, java.lang.String region, com.gemstone.gemfire.cache.query.QueryTestUtils utils) throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic static void createPartitionRegion(java.lang.String name,
java.lang.Class constraint,
VM vm,
com.gemstone.gemfire.cache.query.QueryTestUtils utils)
public static void createReplicateRegion(java.lang.String name,
VM vm,
com.gemstone.gemfire.cache.query.QueryTestUtils utils)
public static void closeServer(VM server, com.gemstone.gemfire.cache.query.QueryTestUtils utils)
public void testIndexInvalidDueToExpressionOnPartitionedRegion()
throws java.lang.Exception
java.lang.Exceptionpublic void testCompactRangeIndexForIndexElemArray()
throws java.lang.Exception
java.lang.Exceptionpublic void testCompactRangeIndexForConcurrentHashSet()
throws java.lang.Exception
java.lang.Exceptionpublic void testNoSuchElemException()
throws java.lang.Exception
java.lang.Exceptionpublic void doPut(int entries)
public void doPutSync(int entries)
public void doUpdate(int entries)
public void doQuery()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void doDestroy(int entries)
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCasejava.lang.Exceptionpublic void setHook()
public void removeHook()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.