public class TestAddDropIndexTask extends ProxyTestCase
RegisterIndexTask
and DropIndexTask
.TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestAddDropIndexTask() |
TestAddDropIndexTask(String arg0) |
Modifier and Type | Method and Description |
---|---|
void |
test_addDropIndex_twice()
Test registers an index and then verifies that a second
RegisterIndexTask will return false since the
index already exists. |
void |
test_addDropIndex()
Test ability to submit an unisolated write task that creates a named
index and then shutdown the journal.
|
void |
test_NoSuchIndexException()
Test attempt operations against a new journal (nothing committed) and
verify that we see
NoSuchIndexException s rather than something
odder. |
getDelegate, getOurDelegate, getProperties, getStore, getStore, reopenStore, setDelegate, setUp, tearDown
checkIfProxy, fail, getRandomData, setUp, tearDown
assertCondition, assertCondition, assertEquals, assertEquals, getBytes, getPort, getRandomData, getRandomData
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
assertEquals, 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, toString
public TestAddDropIndexTask()
public TestAddDropIndexTask(String arg0)
arg0
- public void test_addDropIndex()
public void test_addDropIndex_twice() throws InterruptedException, ExecutionException
RegisterIndexTask
will return false
since the
index already exists.public void test_NoSuchIndexException() throws InterruptedException
NoSuchIndexException
s rather than something
odder. This is an edge case since AbstractJournal.getCommitRecord()
will
have 0L for all root addresses until the first commit - this means that
the AbstractJournal._name2Addr
can not be loaded from the commit
record!InterruptedException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.