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

    • TESTS_W3C_BASE_URL Link icon

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

    • TriGParserTestCase Link icon

      public TriGParserTestCase()
  • Method Details Link icon

    • createTestSuite Link icon

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

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

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