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

    Nested Classes
    Modifier and Type
    Class
    Description
    final class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    org.junit.rules.Timeout
     
    org.junit.rules.TemporaryFolder
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public void createRepository() throws IOException
      Throws:
      IOException
    • getRepository

      public org.eclipse.rdf4j.repository.sail.SailRepository getRepository()
    • shutdownAndDelete

      public void shutdownAndDelete()