public class TestTicket1889_2 extends TestTicket1889
This test case will delegate to an underlying backing store. You can specify
this store via a JVM property as follows:
-DtestClass=com.bigdata.rdf.sail.TestBigdataSailWithQuads
There are three possible configurations for the testClass:
The default for triples and SIDs mode is for inference with truth maintenance
to be on. If you would like to turn off inference, make sure to do so in
getProperties()
.
ArrayIndexOutOfBound Exception
This test case covers 2 ArrayIndexOutOfBoundsException occurrences:
1. Overflow of values array in StatementBuffer due to blank nodes are not cleared on flush
2. Overflow of values array in MergeUtility due to its capacity computed without reference to blank nodes
Test case covers both data load and insert update.
TestCase2.MyProperties, TestCase2.RandomType
log
_randomType
Constructor and Description |
---|
TestTicket1889_2() |
TestTicket1889_2(String arg0) |
Modifier and Type | Method and Description |
---|---|
protected void |
executeQuery(BigdataSailRepository repo,
int n,
int k)
Prepares data containing blank nodes, loads it into triplestore,
then run an update, which creates additional statements with blank nodes
resulting number of statements loaded should be 2*n.
|
Properties |
getProperties()
The properties as configured by the delegate.
|
testBufferCapacity, testMergeUtility
assertSameIterationAnyOrder, assertSameIterationAnyOrder, compare, createBindingSet, getDelegate, getOurDelegate, getSail, getSail, reopenSail, setDelegate, setUp, tearDown
checkIfProxy, 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 TestTicket1889_2()
public TestTicket1889_2(String arg0)
public Properties getProperties()
ProxyBigdataSailTestCase
getProperties
in class TestTicket1889
protected void executeQuery(BigdataSailRepository repo, int n, int k) throws org.openrdf.repository.RepositoryException, org.openrdf.query.MalformedQueryException, org.openrdf.query.QueryEvaluationException, org.openrdf.rio.RDFParseException, IOException, org.openrdf.query.UpdateExecutionException
executeQuery
in class TestTicket1889
repo
- Repository to load datan
- Number of statements to be loadedk
- Number of subjects to be loadedorg.openrdf.repository.RepositoryException
org.openrdf.query.MalformedQueryException
org.openrdf.query.QueryEvaluationException
org.openrdf.rio.RDFParseException
IOException
org.openrdf.query.UpdateExecutionException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.