Class AbstractParserTestSuite

java.lang.Object
org.eclipse.rdf4j.testsuite.rio.AbstractParserTestSuite
Direct Known Subclasses:
AbstractNQuadsParserTest, AbstractNTriplesParserTest, RDFXMLParser12TestCase, TriGParserTestCase, TurtleParserTestCase

public abstract class AbstractParserTestSuite extends Object
  • Field Details

    • testFileBasePath

      protected final String testFileBasePath
    • testBaseURL

      protected final String testBaseURL
    • format

      protected final RDFFormat format
  • Constructor Details

    • AbstractParserTestSuite

      protected AbstractParserTestSuite(String testFileBasePath, String testBaseURL, RDFFormat format, String formatString)
  • Method Details

    • createTestSuite

      public junit.framework.TestSuite createTestSuite() throws Exception
      Throws:
      Exception
    • parseSubManifests

      protected void parseSubManifests(RepositoryConnection con) throws IOException
      Throws:
      IOException
    • computeSubManifestFilePath

      protected String computeSubManifestFilePath(String subManifestFile)
      Hook method to allow subclasses to customize the path. By default, only the normal testBaseURL logic is applied.
    • createRDFParser

      protected abstract RDFParser createRDFParser()
    • createRDFBaseParser

      protected RDFParser createRDFBaseParser()