public class TestLocalTripleStoreDestroy extends ProxyTestCase
LocalTripleStore
,
including verifying that the indices are deleted (gone from Name2Addr), that
the locator is cleared from the DefaultResourceLocator
, and that the
entries from the AbstractTripleStore
are removed from the global row
store.AbstractTestCase.StatementVerifier
TestCase2.MyProperties, TestCase2.RandomType
NULL
_randomType, log
Constructor and Description |
---|
TestLocalTripleStoreDestroy() |
TestLocalTripleStoreDestroy(String name) |
Modifier and Type | Method and Description |
---|---|
void |
test_destroyNoCommit()
Verify that a newly created
AbstractTripleStore which has never
been committed may be destroyed, that the entries in the global row store
are removed, the resource locator cache is cleared, and the indices for
the triple store are no longer discoverable using the
IIndexManager . |
void |
test_destroyOne()
Verify that a newly created and committed
AbstractTripleStore may
be destroyed, that the entries in the global row store are removed, the
resource locator cache is cleared, and the indices for the triple store
are no longer discoverable using the IIndexManager . |
void |
test_destroyTwo()
Verify the namespace prefix for the triple store is imposed correctly in
AbstractResource.destroy() . |
getDelegate, getOurDelegate, getProperties, getStore, getStore, reopenStore, setDelegate, setUp, tearDown
assertEquals, assertEquals, assertEquals, assertEquals, assertLexiconIndicesConsistent, assertSameSPOs, assertSameSPOs, assertSameSPOsAnyOrder, assertSameSPOsAnyOrder, assertSameStatements, assertSameStatements, assertStatementIndicesConsistent, checkIfProxy, recursiveDelete, setUp, tearDown
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 TestLocalTripleStoreDestroy()
public TestLocalTripleStoreDestroy(String name)
name
- public void test_destroyNoCommit()
AbstractTripleStore
which has never
been committed may be destroyed, that the entries in the global row store
are removed, the resource locator cache is cleared, and the indices for
the triple store are no longer discoverable using the
IIndexManager
.public void test_destroyOne()
AbstractTripleStore
may
be destroyed, that the entries in the global row store are removed, the
resource locator cache is cleared, and the indices for the triple store
are no longer discoverable using the IIndexManager
. The committed
view of the triple store and indices should remain visible and locatable.public void test_destroyTwo()
AbstractResource.destroy()
. Create two KBs such that the
namespace for one instance is a prefix of the namespace for the other
instance, e.g.,
kb kb1Verify that destroying
kb
does not cause the indices for
kb1
to be destroyed.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.