public abstract class RDFStoreTest
extends junit.framework.TestCase
| Modifier and Type | Field and Description | 
|---|---|
protected org.openrdf.sail.SailConnection | 
con  | 
protected org.openrdf.model.URI | 
context1  | 
protected org.openrdf.model.URI | 
context2  | 
protected org.openrdf.model.URI | 
guernica  | 
protected org.openrdf.model.URI | 
nightwatch  | 
protected org.openrdf.model.URI | 
painter  | 
protected org.openrdf.model.URI | 
painting  | 
protected org.openrdf.model.URI | 
paints  | 
protected org.openrdf.model.URI | 
picasso  | 
protected org.openrdf.model.URI | 
rembrandt  | 
protected org.openrdf.sail.Sail | 
sail  | 
org.junit.rules.Timeout | 
to
Timeout all individual tests after 1 minute. 
 | 
protected org.openrdf.model.ValueFactory | 
vf  | 
| Constructor and Description | 
|---|
RDFStoreTest()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected int | 
countAllElements()  | 
protected int | 
countContext1Elements()  | 
protected int | 
countQueryResults(String query)  | 
protected abstract org.openrdf.sail.Sail | 
createSail()
Gets an instance of the Sail that should be tested. 
 | 
void | 
setUp()  | 
void | 
tearDown()  | 
void | 
testAddData()  | 
void | 
testAddWhileQuerying()  | 
void | 
testBNodeReuse()  | 
void | 
testClearNamespaces()  | 
void | 
testClose()  | 
void | 
testContexts()  | 
void | 
testCreateURI1()  | 
void | 
testCreateURI2()  | 
void | 
testDecimalRoundTrip()  | 
void | 
testDualConnections()  | 
void | 
testEmptyRepository()  | 
void | 
testGetContextIDs()  | 
void | 
testGetNamespace()  | 
void | 
testGetNamespaces()  | 
void | 
testInvalidDateTime()  | 
void | 
testLongLangRoundTrip()  | 
void | 
testLongLiteralRoundTrip()  | 
void | 
testLongURIRoundTrip()  | 
void | 
testNullNamespaceDisallowed()  | 
void | 
testNullPrefixDisallowed()  | 
void | 
testOldURI()  | 
void | 
testQueryBindings()  | 
void | 
testReallyLongLiteralRoundTrip()  | 
void | 
testRemoveAndClear()  | 
void | 
testRemoveNamespaces()  | 
void | 
testSize()  | 
void | 
testStatementEquals()  | 
void | 
testStatementSerialization()  | 
void | 
testTimeZoneRoundTrip()  | 
protected void | 
testValueRoundTrip(org.openrdf.model.Resource subj,
                  org.openrdf.model.URI pred,
                  org.openrdf.model.Value obj)  | 
void | 
testValueRoundTrip1()  | 
void | 
testValueRoundTrip2()  | 
void | 
testValueRoundTrip3()  | 
void | 
testValueRoundTrip4()  | 
void | 
testValueRoundTrip5()  | 
protected int | 
verifyQueryResult(info.aduna.iteration.CloseableIteration<? extends org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> resultIter,
                 int expectedBindingCount)  | 
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, toStringpublic org.junit.rules.Timeout to
protected org.openrdf.model.URI painter
protected org.openrdf.model.URI paints
protected org.openrdf.model.URI painting
protected org.openrdf.model.URI picasso
protected org.openrdf.model.URI rembrandt
protected org.openrdf.model.URI guernica
protected org.openrdf.model.URI nightwatch
protected org.openrdf.model.URI context1
protected org.openrdf.model.URI context2
protected org.openrdf.sail.Sail sail
protected org.openrdf.sail.SailConnection con
protected org.openrdf.model.ValueFactory vf
protected abstract org.openrdf.sail.Sail createSail()
                                             throws org.openrdf.sail.SailException
SailException - If the initialization of the repository failed.public void setUp()
           throws Exception
setUp in class junit.framework.TestCaseExceptionpublic void tearDown()
              throws Exception
tearDown in class junit.framework.TestCaseExceptionpublic void testReallyLongLiteralRoundTrip()
                                    throws Exception
Exceptionprotected void testValueRoundTrip(org.openrdf.model.Resource subj,
                      org.openrdf.model.URI pred,
                      org.openrdf.model.Value obj)
                           throws Exception
Exceptionpublic void testClose()
public void testStatementSerialization()
                                throws Exception
Exceptionpublic void testNullNamespaceDisallowed()
                                 throws Exception
Exceptionprotected int countContext1Elements()
                             throws Exception,
                                    org.openrdf.sail.SailException
Exceptionorg.openrdf.sail.SailExceptionprotected int countAllElements()
                        throws Exception,
                               org.openrdf.sail.SailException
Exceptionorg.openrdf.sail.SailExceptionprotected int verifyQueryResult(info.aduna.iteration.CloseableIteration<? extends org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> resultIter,
                    int expectedBindingCount)
                         throws org.openrdf.query.QueryEvaluationException
org.openrdf.query.QueryEvaluationExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.