|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.quilt.frontend.ant.Scheduler
Collects individual and batch tests during initial processing of the Ant build.xml file, then schedules tests for running. Before running any tests, batch tests are unpacked and attributes assigned.
| Constructor Summary | |
Scheduler(QuiltTask t)
One-arg constructor called at beginning of run |
|
| Method Summary | |
void |
addBatchTest(BatchTest bt)
Ant-compatible method for adding a batch test. |
void |
addTest(QuiltTest test)
Ant-compatible method for adding test to queue. |
TaskControl |
getTaskControl()
Get a reference to the TaskControl object created by the constructor. |
QuiltTest |
nextTest()
Returns the next test or batch test available. |
void |
schedule()
Zero out indexes into lists of tests and batch tests. |
void |
unbatch()
Pass through the list of batch tests, creating individual tests and passing these to the scheduler. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Scheduler(QuiltTask t)
| Method Detail |
public void addBatchTest(BatchTest bt)
bt - BatchTest instance created by QuiltTaskpublic void addTest(QuiltTest test)
test - QuiltTest structure containing test parameters.public void schedule()
public QuiltTest nextTest()
public void unbatch()
public TaskControl getTaskControl()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||