public abstract class TestCaseType extends Object
| Constructor and Description |
|---|
TestCaseType(org.apache.jena.rdf.model.Resource testCaseClass) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract TestCase |
createTestCase(org.apache.jena.rdf.model.Resource graph,
org.apache.jena.rdf.model.Resource resource) |
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.
|
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.
|
public TestCaseType(org.apache.jena.rdf.model.Resource testCaseClass)
protected boolean filterTestCase(org.apache.jena.rdf.model.Resource possibleTestCase)
protected abstract TestCase createTestCase(org.apache.jena.rdf.model.Resource graph, org.apache.jena.rdf.model.Resource resource)
public Collection<TestCase> getTestCases(org.apache.jena.rdf.model.Model model, org.apache.jena.rdf.model.Resource graph)
model - the Model containing the test casegraph - the URI resource of modelCopyright © 2019 TopQuadrant, Inc.. All rights reserved.