| com.hp.hpl.jena.rdf.model.test.ModelTestBase com.hp.hpl.jena.rdf.model.test.AbstractTestModel
All known Subclasses: com.hp.hpl.jena.db.test.TestModelRDB, com.hp.hpl.jena.rdf.model.test.TestStandardModels,
AbstractTestModel | abstract public class AbstractTestModel extends ModelTestBase (Code) | | author: kers |
Field Summary | |
protected String[][] | cases Test cases for RemoveSPO(); each entry is a triple (add, remove, result). |
cases | protected String[][] cases(Code) | | Test cases for RemoveSPO(); each entry is a triple (add, remove, result).
- add - the triples to add to the graph to start with
- remove - the pattern to use in the removal
- result - the triples that should remain in the graph
|
AbstractTestModel | public AbstractTestModel(String name)(Code) | | |
setUp | public void setUp()(Code) | | |
tearDown | public void tearDown()(Code) | | |
testAsRDF | public void testAsRDF()(Code) | | |
testContainsResource | public void testContainsResource()(Code) | | |
testCreateBlankFromNode | public void testCreateBlankFromNode()(Code) | | |
testCreateLiteralFromNode | public void testCreateLiteralFromNode()(Code) | | |
testCreateResourceFromNode | public void testCreateResourceFromNode()(Code) | | |
testGetProperty | public void testGetProperty()(Code) | | Test the new version of getProperty(), which delivers null for not-found
properties.
|
testIsClosedDelegatedToGraph | public void testIsClosedDelegatedToGraph()(Code) | | |
testIsEmpty | public void testIsEmpty()(Code) | | |
testRemoveAll | public void testRemoveAll()(Code) | | |
testRemoveAll | protected void testRemoveAll(String statements)(Code) | | |
testRemoveSPO | public void testRemoveSPO()(Code) | | Test that remove(s, p, o) works, in the presence of inferencing graphs that
mean emptyness isn't available. This is why we go round the houses and
test that expected ~= initialContent + addedStuff - removed - initialContent.
|
testToStatement | public void testToStatement()(Code) | | |
testTransactions | public void testTransactions()(Code) | | |
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)
|
|
|