Package com.complexible.stardog.api.test
Class TestWriter
- java.lang.Object
-
- com.complexible.stardog.api.test.TestWriter
-
public final class TestWriter extends java.lang.ObjectWrites the test suite definition to an RDF file.
-
-
Constructor Summary
Constructors Constructor Description TestWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(TestSuite suite, java.io.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.
-
-
-
Method Detail
-
writeRecursively
public void writeRecursively(TestSuite start) throws java.io.IOException
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:
java.io.IOException
-
write
public void write(TestSuite suite, java.io.OutputStream out) throws java.io.IOException
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:
java.io.IOException
-
-