Class TriGParserTestCase


  • public abstract class TriGParserTestCase
    extends Object
    JUnit test for the TriG 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 TriG tests.
    • Constructor Detail

      • TriGParserTestCase

        public TriGParserTestCase()
    • Method Detail

      • createTestSuite

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

        protected abstract RDFParser createTriGParser()
        Returns:
        An implementation of a TriG parser to test compliance with the TriG Test Suite TriG tests.
      • createNQuadsParser

        protected abstract RDFParser createNQuadsParser()
        Returns:
        An implementation of an N-Quads parser to test compliance with the TriG Test Suite N-Quads tests.