diva.util.jester
Class TestHarness

java.lang.Object
  extended by diva.util.jester.TestHarness

public class TestHarness
extends 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:
$Revision: 1.7 $
Author:
John Reekie (johnr@eecs.berkeley.edu)

Constructor Summary
TestHarness()
           
 
Method Summary
 void runTestCase(TestCase testCase)
          Run a single test and log the results
 void setOutputStream(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(PrintStream s)
Set the output stream



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.