| com.hp.hpl.jena.rdf.model.test.ModelTestBase com.hp.hpl.jena.xmloutput.test.testWriterAndReader
testWriterAndReader | public class testWriterAndReader extends ModelTestBase implements RDFErrorHandler(Code) | | This will test any Writer and Reader pair.
It writes out a random model, and reads it back in.
The test fails if the models are not 'the same'.
Quite what 'the same' means is debatable.
author: jjc version: Release='$Name: $' Revision='$Revision: 1.44 $' Date='$Date: 2008/01/02 12:06:48 $' |
Inner Class :public static class TestXMLFeatures_XML extends TestXMLFeatures | |
Inner Class :public static class TestXMLFeatures_XML_ABBREV extends TestXMLFeatures | |
fileNumber | final int fileNumber(Code) | | |
linuxFileDeleteErrorFlag | static boolean linuxFileDeleteErrorFlag(Code) | | |
logger | protected static Log logger(Code) | | |
options | final int options(Code) | | |
testWriterAndReader | testWriterAndReader(String name, String lang, int fileNumber, int options)(Code) | | |
repeatedAbbrevSuite | public static TestSuite repeatedAbbrevSuite()(Code) | | |
suiteN_TRIPLE | static Test suiteN_TRIPLE()(Code) | | |
suiteXML | static TestSuite suiteXML()(Code) | | |
suiteXML_ABBREV | static Test suiteXML_ABBREV()(Code) | | |
test | public void test(String rwLang, int seed, int variationMax, String[] wopName, Object[] wopVal) throws IOException(Code) | | Parameters: rwLang - Use Writer for this lang Parameters: seed - A seed for the random number generator Parameters: variationMax - Number of random variations Parameters: wopName - Property names to set on Writer Parameters: wopVal - Property values to set on Writer |
warning | public void warning(Exception e)(Code) | | report a warning
Parameters: e - an exception representing the error |
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)
|
|
|