org.placelab.test
Class Harness

java.lang.Object
  extended byorg.placelab.test.Harness
Direct Known Subclasses:
CoreTests, DemoTests, EventSystemTests, FinalTests, GlyphTests, JSRLocationAPITests, Regression, StumblerTests, TestFrameworkSelfTest, TrackerTests, UtilTests, WebTests

public abstract class Harness
extends java.lang.Object

This class hold test and iterates through them executing their tests. See Regression for an example of how to run a test.


Field Summary
protected static java.util.Vector allTestables
           
 
Constructor Summary
Harness()
           
 
Method Summary
static void addTest(Testable testable)
           
static void clearTests()
           
static void runTheTests(TestResult result)
           
abstract  void setupAllTests(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allTestables

protected static java.util.Vector allTestables
Constructor Detail

Harness

public Harness()
Method Detail

runTheTests

public static void runTheTests(TestResult result)

clearTests

public static void clearTests()

setupAllTests

public abstract void setupAllTests(java.lang.String[] argv)

addTest

public static void addTest(Testable testable)