Class TurtleParserTestCase


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

      • TESTS_W3C_BASE_URL

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

      • TurtleParserTestCase

        public TurtleParserTestCase()
    • Method Detail

      • 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.