| com.hp.hpl.jena.rdf.model.test.ModelTestBase com.hp.hpl.jena.rdf.model.test.TestNamespace
Method Summary | |
public static TestSuite | suite() | public void | testReadPrefixes() a simple test of the prefix reader on a known file. | public void | testUseEasyPrefix() | public void | testWritePrefixes() a horridly written test to write out a model with some known namespace
prefixes and see if they can be read back in again.
TODO tidy and abstract this - we want some more tests.
TODO there's a problem: namespaces that aren't used on properties
don't reliably get used. |
suite | public static TestSuite suite()(Code) | | |
testReadPrefixes | public void testReadPrefixes()(Code) | | a simple test of the prefix reader on a known file. test0014.rdf is known to
have a namespace definition for eg and rdf, and not for spoo so we see if we
can extract them (or not, for spoo).
|
testUseEasyPrefix | public void testUseEasyPrefix()(Code) | | |
testWritePrefixes | public void testWritePrefixes() throws IOException(Code) | | a horridly written test to write out a model with some known namespace
prefixes and see if they can be read back in again.
TODO tidy and abstract this - we want some more tests.
TODO there's a problem: namespaces that aren't used on properties
don't reliably get used. Maybe they shouldn't be - but it seems odd.
|
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)
|
|
|