Package com.complexible.stardog.api.test
Class TestWriter
java.lang.Object
com.complexible.stardog.api.test.TestWriter
Writes the test suite definition to an RDF file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(TestSuite suite, OutputStream out) Writes the definition for the given suite to an output stream.voidwriteRecursively(TestSuite start) Writes the definition file for the given suite and all suites included in it.
-
Constructor Details
-
TestWriter
public TestWriter()
-
-
Method Details
-
writeRecursively
Writes the definition file for the given suite and all suites included in it. One RDF file is written for each suite. The definition file for each suite is written to thebase directoryof the suite and thenameof the suite is used as the file name.- Throws:
IOException
-
write
Writes the definition for the given suite to an output stream. The definition will containincludestatements but the definitions for included suites will tno be writtem.- Throws:
IOException
-