Class TriGParserTestCase

java.lang.Object
org.eclipse.rdf4j.testsuite.rio.trig.TriGParserTestCase

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

    • TriGParserTestCase

      public TriGParserTestCase()
  • Method Details

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