Class TurtleParserTestCase

java.lang.Object
org.eclipse.rdf4j.testsuite.rio.turtle.TurtleParserTestCase

public abstract class TurtleParserTestCase extends Object
JUnit test for the Turtle parser that uses the tests that are available online.
  • Field Details

    • TESTS_W3C_BASE_URL

      protected static String TESTS_W3C_BASE_URL
      Base URL for W3C Tutle tests.
  • Constructor Details

    • TurtleParserTestCase

      public TurtleParserTestCase()
  • Method Details

    • createTestSuite

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

      protected abstract RDFParser createTurtleParser()
      Returns:
      An implementation of a Turtle parser to test compliance with the Turtle Test Suite Turtle tests.
    • createNTriplesParser

      protected abstract RDFParser createNTriplesParser()
      Returns:
      An implementation of an N-Triples parser to test compliance with the Turtle Test Suite N-Triples tests.