Class TestWriter

java.lang.Object
com.complexible.stardog.api.test.TestWriter

public final class TestWriter extends Object
Writes the test suite definition to an RDF file.
  • Constructor Details

    • TestWriter

      public TestWriter()
  • Method Details

    • writeRecursively

      public void writeRecursively(TestSuite start) throws 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 the base directory of the suite and the name of the suite is used as the file name.
      Throws:
      IOException
    • write

      public void write(TestSuite suite, OutputStream out) throws IOException
      Writes the definition for the given suite to an output stream. The definition will contain include statements but the definitions for included suites will tno be writtem.
      Throws:
      IOException