Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestWriter

        public TestWriter()
    • 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 the base directory of the suite and the name 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 contain include statements but the definitions for included suites will tno be writtem.
        Throws:
        java.io.IOException