frysk.testbed
Class TearDownExpect

java.lang.Object
  extended by frysk.expunit.Expect
      extended by frysk.testbed.TearDownExpect
Direct Known Subclasses:
HpdTestbed

public class TearDownExpect
extends Expect

Framework for cleaning up temporary processes created as part of a test run.


Field Summary
private static Set expects
          Collection of expect classes.
private static Log fine
           
 
Constructor Summary
TearDownExpect()
           
TearDownExpect(File program)
           
TearDownExpect(String command)
           
TearDownExpect(String[] args)
           
 
Method Summary
private static void add(Expect expect)
          Add the Expect class to the collection of things that should be blown away.
static void tearDown()
           
 
Methods inherited from class frysk.expunit.Expect
close, expect, expect, expect, expectEOF, expectTermination, expectTermination, finalize, getPid, send, setDefaultTimeoutSeconds, timeout
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fine

private static final Log fine

expects

private static Set expects
Collection of expect classes.

Constructor Detail

TearDownExpect

public TearDownExpect(String[] args)

TearDownExpect

public TearDownExpect(File program)

TearDownExpect

public TearDownExpect(String command)

TearDownExpect

public TearDownExpect()
Method Detail

add

private static void add(Expect expect)
Add the Expect class to the collection of things that should be blown away.


tearDown

public static void tearDown()