Class BatchTest

All Implemented Interfaces:

public class BatchTest
extends QuiltTest

Stores Ant filesets and convert them to QuiltTests.

Jim Dixon

Constructor Summary
BatchTest( p)
          One-arg constructor.
Method Summary
 void addFileSet( fs)
          Method used by Ant to add filesets.
 void unbatch(Scheduler sch)
          Converts the fileset names into QuiltTests and adds them to the list of tests maintained by the scheduler.
Methods inherited from class org.quilt.framework.QuiltTest
addFormatter, addFormattersTo, clone, errorCount, failureCount, getCheckCoverage, getCheckExcludes, getCheckExcludesArray, getCheckIncludes, getCheckIncludesArray, getErrorProperty, getFailureProperty, getFiltertrace, getFork, getFormatters, getHaltOnError, getHaltOnFailure, getIfProperty, getMockTestRun, getName, getOutfile, getProperties, getRunTime, getShowOutput, getTodir, getUnlessProperty, runCount, runMe, setCheckCoverage, setCheckExcludes, setCheckIncludes, setCounts, setErrorProperty, setFailureProperty, setFiltertrace, setFork, setHaltOnError, setHaltOnFailure, setIf, setMockTestRun, setName, setOutfile, setProperties, setRunTime, setShowOutput, setTodir, setUnless, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public BatchTest( p)
One-arg constructor.

p - The project that the QuiltTask is in.
Method Detail


public void addFileSet( fs)
Method used by Ant to add filesets. Ant first calls createBatchTest, then in a second pass calls this method to add filesets.

fs - One of possibly many filesets within the batch test


public void unbatch(Scheduler sch)
Converts the fileset names into QuiltTests and adds them to the list of tests maintained by the scheduler. This can only be done once; after the tests are unbatched, the vector of batch tests is deleted.

sch - Scheduler responsible for maintaining list of tests and scheduling the actual running of tests.

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