org.quilt.frontend.ant
Class ForkTest

java.lang.Object
  |
  +--org.quilt.frontend.ant.ForkTest

public class ForkTest
extends java.lang.Object

Run an individual test in a separate JVM. Search on Bug 23150; needs to return correct status code if interrupted or times out.


Constructor Summary
ForkTest()
          No-arg constructor.
 
Method Summary
protected  int execTest(QuiltTest qt, TaskControl tc, org.apache.tools.ant.taskdefs.ExecuteWatchdog watchdog)
          Fork an individual test, running it in a separate Java virtual machine.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForkTest

public ForkTest()
No-arg constructor.

Method Detail

execTest

protected int execTest(QuiltTest qt,
                       TaskControl tc,
                       org.apache.tools.ant.taskdefs.ExecuteWatchdog watchdog)
                throws org.apache.tools.ant.BuildException
Fork an individual test, running it in a separate Java virtual machine.

Parameters:
qt - Data structure holding test parameters.
tc - Structure holding parameters for the entire run.
watchdog - Sets timeout in ms for this test.
org.apache.tools.ant.BuildException


Copyright © 2001-2003 Apache Software Foundation. All Rights Reserved.