Package com.complexible.stardog.api.test
Class TestWriter
- java.lang.Object
-
- com.complexible.stardog.api.test.TestWriter
-
public final class TestWriter extends java.lang.Object
Writes 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 void
write(TestSuite suite, java.io.OutputStream out)
Writes the definition for the given suite to an output stream.void
writeRecursively(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 directory
of the suite and thename
of 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 containinclude
statements but the definitions for included suites will tno be writtem.- Throws:
java.io.IOException
-
-