| com.hp.hpl.jena.rdf.model.test.ModelTestBase com.hp.hpl.jena.assembler.test.AssemblerTestBase
All known Subclasses: com.hp.hpl.jena.assembler.test.TestReasonerFactoryAssembler, com.hp.hpl.jena.assembler.test.TestConnectionAssembler, com.hp.hpl.jena.assembler.test.TestPrefixMappingAssembler, com.hp.hpl.jena.assembler.test.TestContentAssembler, com.hp.hpl.jena.assembler.test.TestMode, com.hp.hpl.jena.assembler.test.TestDefaultModelAssembler, com.hp.hpl.jena.assembler.test.TestOntModelSpecAssembler, com.hp.hpl.jena.assembler.test.TestAssemblerVocabulary, com.hp.hpl.jena.assembler.test.TestAssemblerHelp, com.hp.hpl.jena.assembler.test.TestLocationMapperAssembler, com.hp.hpl.jena.assembler.test.TestBuiltinAssemblerGroup, com.hp.hpl.jena.assembler.test.TestAssemblerGroup, com.hp.hpl.jena.assembler.test.TestFileManagerAssembler, com.hp.hpl.jena.assembler.acceptance.TestDatabaseModes, com.hp.hpl.jena.assembler.test.TestAssemblers, com.hp.hpl.jena.assembler.test.TestRuleSet, com.hp.hpl.jena.assembler.test.TestRDBModelAssembler, com.hp.hpl.jena.assembler.test.TestInfModelAssembler, com.hp.hpl.jena.assembler.test.TestOntModelAssembler, com.hp.hpl.jena.assembler.test.TestDocumentManagerAssembler, com.hp.hpl.jena.assembler.test.TestRuleSetAssembler, com.hp.hpl.jena.assembler.test.AcceptanceTesting, com.hp.hpl.jena.assembler.test.TestAssemblerGroupTracing, com.hp.hpl.jena.assembler.test.ModelAssemblerTestBase, com.hp.hpl.jena.assembler.test.TestImportManager, com.hp.hpl.jena.reasoner.rulesys.test.TestGenericRuleReasonerConfig, com.hp.hpl.jena.db.test.TestRDBAssemblerContents, com.hp.hpl.jena.assembler.acceptance.AllAccept, com.hp.hpl.jena.assembler.test.TestUnionModelAssembler, com.hp.hpl.jena.assembler.test.TestModelAssembler, com.hp.hpl.jena.assembler.test.TestModelContent, com.hp.hpl.jena.assembler.test.TestModelExpansion, com.hp.hpl.jena.assembler.test.TestModelSourceAssembler,
AssemblerTestBase | abstract public class AssemblerTestBase extends ModelTestBase (Code) | | A convenient base class for Assembler tests. The instance methods
modelAddFacts and setRequiredPrefixes
may be over-ridden in subclasses to control the parser that is used to
construct models and the prefixes added to the model (these features
added for Eyeball).
author: kers |
Inner Class :final protected static class FixedObjectAssembler extends AssemblerBase | |
Inner Class :protected static class NamedObjectAssembler extends AssemblerBase | |
AssemblerTestBase | public AssemblerTestBase(String name)(Code) | | |
assertDomain | protected void assertDomain(Resource domain, Property p)(Code) | | assert that the property p has domain as
its rdfs:domain.
|
assertRange | protected void assertRange(Resource range, Property p)(Code) | | assert that the property p has range as
its rdfs:range.
|
assertSubclassOf | protected void assertSubclassOf(Resource expectedSub, Resource expectedSuper)(Code) | | assert that expectedSub is an rdfs:subClassOf
expectedSuper .
|
assertType | protected void assertType(Resource type, Resource instance)(Code) | | assert that instance has rdf:type type .
|
getAssemblerClass | protected Class getAssemblerClass()(Code) | | |
modelAddFacts | protected Model modelAddFacts(Model result, String string)(Code) | | Subclasses may override to use their choice of string-to-model
parsers.
|
setRequiredPrefixes | protected Model setRequiredPrefixes(Model m)(Code) | | Subclasses may extend to get their choice of defined prefixes.
|
Methods inherited from com.hp.hpl.jena.rdf.model.test.ModelTestBase | public static void assertIsoModels(String title, Model wanted, Model got)(Code)(Java Doc) public static void assertIsoModels(Model wanted, Model got)(Code)(Java Doc) public static Model createMemModel()(Code)(Java Doc) public static Model createModel(ReificationStyle style)(Code)(Java Doc) protected static Model extendedModel()(Code)(Java Doc) public static Literal literal(Model m, String s)(Code)(Java Doc) public static Model modelAdd(Model m, String facts)(Code)(Java Doc) public static Model modelWithStatements(String facts)(Code)(Java Doc) public static Model modelWithStatements(ReificationStyle style, String facts)(Code)(Java Doc) protected static String nice(RDFNode n)(Code)(Java Doc) public static Property property(String s)(Code)(Java Doc) public static Property property(Model m, String s)(Code)(Java Doc) public static RDFNode rdfNode(Model m, String s)(Code)(Java Doc) public static RDFNode rdfNode(Model m, String s, Class c)(Code)(Java Doc) protected static Resource resource()(Code)(Java Doc) public static Resource resource(String s)(Code)(Java Doc) public static Resource resource(Model m, String s)(Code)(Java Doc) public static Set resourceSet(String items)(Code)(Java Doc) public static Resource[] resources(Model m, String items)(Code)(Java Doc) public static Statement statement(Model m, String fact)(Code)(Java Doc) public static Statement statement(String fact)(Code)(Java Doc) public static Statement[] statements(Model m, String facts)(Code)(Java Doc)
|
|
|