apputil
Class TestHarness

java.lang.Object
  |
  +--apputil.TestHarness

public class TestHarness
extends java.lang.Object

The TestHarness class is a very simple module that loads a class under test that has implemented the Testable interface, and exercises it by calling its TestUnit method. This method will return a true if the test passes, or a false if it fails.

This test harness is very rudimentary. To extend the functionality of this class, you may wish to add the following:


Constructor Summary
TestHarness()
           
 
Method Summary
static void main(java.lang.String[] args)
          The main method runs the test harness.
 
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

main

public static void main(java.lang.String[] args)
The main method runs the test harness. Any classes specified on the command line will be loaded and tested.