Package org.apache.commons.rdfrdf4j
Class NativeStoreGraphTest
java.lang.Object
org.apache.commons.rdf.api.AbstractGraphTest
org.apache.commons.rdfrdf4j.NativeStoreGraphTest
public class NativeStoreGraphTest
extends org.apache.commons.rdf.api.AbstractGraphTest
Test a graph within a file-based RDF4J
SailRepository
.
TIP: If the shutdownAndDelete()
take about 20 seconds this is a hint
that a RepositoryConnection
or RepositoryResult
was not
closed correctly.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionorg.junit.rules.Timeout
org.junit.rules.TemporaryFolder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.rdf.api.RDF
void
org.eclipse.rdf4j.repository.sail.SailRepository
void
Methods inherited from class org.apache.commons.rdf.api.AbstractGraphTest
addBlankNodesFromMultipleGraphs, clear, contains, containsLanguageTagsCaseInsensitive, containsLanguageTagsCaseInsensitiveTurkish, createGraphAndAdd, getTriples, getTriplesQuery, iterate, iterateFilter, remove, removeLanguageTagsCaseInsensitive, size, streamLanguageTagsCaseInsensitive, whyJavaStreamsMightNotTakeOverFromSparql
-
Field Details
-
tempDir
public org.junit.rules.TemporaryFolder tempDir -
globalTimeout
public org.junit.rules.Timeout globalTimeout
-
-
Constructor Details
-
NativeStoreGraphTest
public NativeStoreGraphTest()
-
-
Method Details
-
createFactory
public org.apache.commons.rdf.api.RDF createFactory() -
createRepository
- Throws:
IOException
-
getRepository
public org.eclipse.rdf4j.repository.sail.SailRepository getRepository() -
shutdownAndDelete
public void shutdownAndDelete()
-