public class RDFUnitStaticWrapper extends Object
| Modifier and Type | Method and Description |
|---|---|
static TestSuite |
getTestSuite() |
static void |
initWrapper(String _ontologyURI)
This must be called first in order to initialize the Wrapper.
|
static void |
initWrapper(String _ontologyURI,
String _ontologyResourceURI)
This must be called first in order to initialize the Wrapper.
|
static com.hp.hpl.jena.rdf.model.Model |
validate(com.hp.hpl.jena.rdf.model.Model input) |
static com.hp.hpl.jena.rdf.model.Model |
validate(com.hp.hpl.jena.rdf.model.Model input,
String inputURI) |
static com.hp.hpl.jena.rdf.model.Model |
validate(com.hp.hpl.jena.rdf.model.Model input,
TestCaseExecutionType executionType) |
static com.hp.hpl.jena.rdf.model.Model |
validate(com.hp.hpl.jena.rdf.model.Model input,
TestCaseExecutionType executionType,
String inputURI)
Static method that validates an input model.
|
static com.hp.hpl.jena.rdf.model.Model |
validate(com.hp.hpl.jena.rdf.model.Model input,
TestCaseExecutionType executionType,
String inputURI,
DatasetOverviewResults overviewResults)
Static method that validates an input model.
|
static com.hp.hpl.jena.rdf.model.Model |
validate(TestCaseExecutionType testCaseExecutionType,
Source dataset,
TestSuite testSuite)
Static method that validates a Source.
|
static com.hp.hpl.jena.rdf.model.Model |
validate(TestCaseExecutionType testCaseExecutionType,
Source dataset,
TestSuite testSuite,
DatasetOverviewResults overviewResults)
Static method that validates a Source.
|
public static void initWrapper(String _ontologyURI)
_ontologyURI - The ontology URI/IRI (for dereferencing)public static void initWrapper(String _ontologyURI, String _ontologyResourceURI)
_ontologyURI - The ontology URI/IRI (for dereferencing)_ontologyResourceURI - The resource URI of the ontology (if the ontology is stored in resources) give null if not applicablepublic static TestSuite getTestSuite()
public static com.hp.hpl.jena.rdf.model.Model validate(com.hp.hpl.jena.rdf.model.Model input)
public static com.hp.hpl.jena.rdf.model.Model validate(com.hp.hpl.jena.rdf.model.Model input,
TestCaseExecutionType executionType)
public static com.hp.hpl.jena.rdf.model.Model validate(com.hp.hpl.jena.rdf.model.Model input,
String inputURI)
public static com.hp.hpl.jena.rdf.model.Model validate(com.hp.hpl.jena.rdf.model.Model input,
TestCaseExecutionType executionType,
String inputURI)
input - the Model we want to validateexecutionType - What type of results we wantinputURI - A URI/IRI that defines the input source (for reporting purpose only)public static com.hp.hpl.jena.rdf.model.Model validate(com.hp.hpl.jena.rdf.model.Model input,
TestCaseExecutionType executionType,
String inputURI,
DatasetOverviewResults overviewResults)
input - the Model we want to validateexecutionType - What type of results we wantinputURI - A URI/IRI that defines the input source (for reporting purpose only)overviewResults - This is a way to get validation statisticspublic static com.hp.hpl.jena.rdf.model.Model validate(TestCaseExecutionType testCaseExecutionType, Source dataset, TestSuite testSuite)
testCaseExecutionType - execution typedataset - the dataset source we want to testtestSuite - the list of test cases we want to test our Source againstpublic static com.hp.hpl.jena.rdf.model.Model validate(TestCaseExecutionType testCaseExecutionType, Source dataset, TestSuite testSuite, DatasetOverviewResults overviewResults)
testCaseExecutionType - execution typedataset - the dataset source we want to testtestSuite - the list of test cases we want to test our Source againstoverviewResults - This is a way to get validation statisticsCopyright © 2014. All rights reserved.