public class TestAsynchronousStatementBufferFactory extends AbstractRIOTestCase
AsynchronousStatementBufferFactory
. To run this test
by itself specify
-DtestClass=com.bigdata.rdf.store.TestScaleOutTripleStoreWithEmbeddedFederation
.TestScaleOutTripleStoreWithEmbeddedFederation
AbstractTestCase.StatementVerifier
TestCase2.MyProperties, TestCase2.RandomType
NULL
_randomType, log
Constructor and Description |
---|
TestAsynchronousStatementBufferFactory() |
TestAsynchronousStatementBufferFactory(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
doLoad(AbstractTripleStore store,
String resource,
boolean parallel)
Load using
AsynchronousStatementBufferWithoutSids2 . |
protected AsynchronousStatementBufferFactory<BigdataStatement,File> |
doLoad2(AbstractTripleStore store,
File resource,
boolean parallel)
Load using
AsynchronousStatementBufferFactory . |
protected void |
doLoadAndVerifyTest(String resource,
Properties properties)
Test loads an RDF/XML resource into a database and then verifies by
re-parse that all expected statements were made persistent in the
database.
|
Properties |
getProperties()
Note: This is overridden to turn off features not supported by this
loader.
|
void |
test_loadAndVerify_bsbm_pc100_quadsMode()
Uses a modest file (~40k statements).
|
void |
test_loadAndVerify_bsbm_pc100()
Uses a modest file (~40k statements).
|
void |
test_loadAndVerify_little_trig_quadsMode()
Test with the "little.trig" data set in quads mode (quads data loaded
into a quads mode kb)
|
void |
test_loadAndVerify_little_ttl_quadsMode()
Test with the "little.ttl" data set in quads mode (triples data loaded
into a quads mode kb).
|
void |
test_loadAndVerify_sampleData_quadsMode()
Test with the "sample data.rdf" data set in quads mode.
|
void |
test_loadAndVerify_sampleData()
Test with the "sample data.rdf" data set.
|
void |
test_loadAndVerify_small_quadsMode()
Test with the "small.rdf" data set in quads mode.
|
void |
test_loadAndVerify_small()
Test with the "small.rdf" data set.
|
void |
test_loadAndVerify_smallWithBlobs_quadsMode()
Test with the "smallWithBlobs.rdf" data set in quads mode.
|
void |
test_loadAndVerify_smallWithBlobs()
Test with the "smallWithBlobs.rdf" data set.
|
void |
test_loadFails()
Test with the "broken.rdf" data set (does not contain valid RDF).
|
doLoad, doLoadAndVerifyTest, doVerify, getLoadTasks, getVerifyTasks
getDelegate, getOurDelegate, 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 TestAsynchronousStatementBufferFactory()
public TestAsynchronousStatementBufferFactory(String name)
name
- public Properties getProperties()
getProperties
in class ProxyTestCase
public void test_loadAndVerify_small() throws Exception
Exception
public void test_loadAndVerify_small_quadsMode() throws Exception
Exception
public void test_loadAndVerify_little_ttl_quadsMode() throws Exception
Exception
public void test_loadAndVerify_little_trig_quadsMode() throws Exception
Exception
public void test_loadAndVerify_smallWithBlobs() throws Exception
Exception
public void test_loadAndVerify_smallWithBlobs_quadsMode() throws Exception
Exception
public void test_loadFails() throws Exception
Exception
public void test_loadAndVerify_sampleData() throws Exception
Exception
public void test_loadAndVerify_sampleData_quadsMode() throws Exception
Exception
public void test_loadAndVerify_bsbm_pc100() throws Exception
Exception
public void test_loadAndVerify_bsbm_pc100_quadsMode() throws Exception
Exception
protected void doLoadAndVerifyTest(String resource, Properties properties) throws Exception
resource
- Exception
protected void doLoad(AbstractTripleStore store, String resource, boolean parallel) throws Exception
AsynchronousStatementBufferWithoutSids2
.doLoad
in class AbstractRIOTestCase
parallel
- when true
multiple source files will be loaded
and verified in parallel.Exception
protected AsynchronousStatementBufferFactory<BigdataStatement,File> doLoad2(AbstractTripleStore store, File resource, boolean parallel) throws Exception
AsynchronousStatementBufferFactory
.Exception
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.