Package diva.util.jester
Class TestHarness
- java.lang.Object
-
- diva.util.jester.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 resultsvoid
setOutputStream(java.io.PrintStream s)
Set the output stream
-
-
-
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
-
-