Class TestCaseType

    • Constructor Detail

      • TestCaseType

        public TestCaseType​(org.apache.jena.rdf.model.Resource testCaseClass)
    • Method Detail

      • filterTestCase

        protected boolean filterTestCase​(org.apache.jena.rdf.model.Resource possibleTestCase)
        Can be overridden to check the properties of the resource and return false if it is to be excluded from the list of cases to test.
      • createTestCase

        protected abstract TestCase createTestCase​(org.apache.jena.rdf.model.Resource graph,
                                                   org.apache.jena.rdf.model.Resource resource)
      • getTestCases

        public Collection<TestCase> getTestCases​(org.apache.jena.rdf.model.Model model,
                                                 org.apache.jena.rdf.model.Resource graph)
        Gets all test case resources from a given Model that this type can handle.
        Parameters:
        model - the Model containing the test case
        graph - the URI resource of model
        Returns:
        the rest cases