Class TestHarness


  • public class TestHarness
    extends java.lang.Object
    A test harness. A test harness is created by each test suite and has test cases passed to it. It is where such things as the level of output from the test, logging, and so on are set up. (Currently, the harness is very simple. It will be extended in the future.)
    Version:
    $Id$
    Author:
    John Reekie
    • Constructor Summary

      Constructors 
      Constructor Description
      TestHarness()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void runTestCase​(TestCase testCase)
      Run a single test and log the results
      void setOutputStream​(java.io.PrintStream s)
      Set the output stream
      • Methods inherited from class java.lang.Object

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

      • TestHarness

        public TestHarness()
    • Method Detail

      • runTestCase

        public void runTestCase​(TestCase testCase)
        Run a single test and log the results
      • setOutputStream

        public void setOutputStream​(java.io.PrintStream s)
        Set the output stream