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 Link icon

    • TESTS_W3C_BASE_URL Link icon

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

    • TurtleParserTestCase Link icon

      public TurtleParserTestCase()
  • Method Details Link icon

    • createTestSuite Link icon

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

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

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