public final class RDFUnitStaticWrapper extends Object
RDFUnitStaticWrapper class.
| Modifier and Type | Method and Description |
|---|---|
static TestSuite |
getTestSuite()
Getter for the field
testSuite. |
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)
validate.
|
static com.hp.hpl.jena.rdf.model.Model |
validate(com.hp.hpl.jena.rdf.model.Model input,
String inputURI)
validate.
|
static com.hp.hpl.jena.rdf.model.Model |
validate(com.hp.hpl.jena.rdf.model.Model input,
TestCaseExecutionType executionType)
validate.
|
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,
TestSource testSource,
TestSuite testSuite)
Static method that validates a Source.
|
static com.hp.hpl.jena.rdf.model.Model |
validate(TestCaseExecutionType testCaseExecutionType,
TestSource testSource,
TestSuite testSuite,
DatasetOverviewResults overviewResults)
Static method that validates a Source.
|
static com.hp.hpl.jena.rdf.model.Model |
validate(TestCaseExecutionType testCaseExecutionType,
TestSource testSource,
TestSuite testSuite,
String agentID,
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()
Getter for the field testSuite.
TestSuite object.public static com.hp.hpl.jena.rdf.model.Model validate(com.hp.hpl.jena.rdf.model.Model input)
validate.
input - a Model object.Model object.public static com.hp.hpl.jena.rdf.model.Model validate(com.hp.hpl.jena.rdf.model.Model input,
TestCaseExecutionType executionType)
validate.
input - a Model object.executionType - a TestCaseExecutionType object.Model object.public static com.hp.hpl.jena.rdf.model.Model validate(com.hp.hpl.jena.rdf.model.Model input,
String inputURI)
validate.
input - a Model object.inputURI - a String object.Model object.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, TestSource testSource, TestSuite testSuite)
testCaseExecutionType - execution typetestSource - 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, TestSource testSource, TestSuite testSuite, DatasetOverviewResults overviewResults)
testCaseExecutionType - execution typetestSource - 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 statisticspublic static com.hp.hpl.jena.rdf.model.Model validate(TestCaseExecutionType testCaseExecutionType, TestSource testSource, TestSuite testSuite, String agentID, DatasetOverviewResults overviewResults)
testCaseExecutionType - execution typetestSource - the dataset source we want to testtestSuite - the list of test cases we want to test our Source againstagentID - an identifier that will be set in the execution provenance data as prov:wasStartedByoverviewResults - This is a way to get validation statisticsCopyright © 2015. All rights reserved.