|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface TestFinderQueue.Observer
This interface provides a means for TestFinder to report on events that might be of interest as it executes.
Method Summary | |
---|---|
void |
done(java.io.File file)
A file has been read. |
void |
done(TestDescription td)
A test description that was previously put in the test finder queue has been taken from the queue and passed back to the client caller. |
void |
error(java.lang.String msg)
An error was reported by the test finder while reading a file. |
void |
error(TestDescription td,
java.lang.String msg)
An error was reported by the test finder while reading a file. |
void |
flushed()
The queue of tests has been flushed. |
void |
found(java.io.File file)
Another file which needs to be read has been found. |
void |
found(TestDescription td)
A test description has been found. |
void |
ignored(TestDescription td,
TestFilter f)
A test description which was previously found, has been rejected by a test filter, and so has not been put in the queue of tests to be executed. |
void |
reading(java.io.File file)
A file is being read. |
Method Detail |
---|
void found(java.io.File file)
file
- the file which was foundvoid reading(java.io.File file)
file
- the file being readvoid done(java.io.File file)
file
- the file which was readvoid found(TestDescription td)
td
- the test description which was foundvoid ignored(TestDescription td, TestFilter f)
td
- the test description which was rejected by the filterf
- the filter which rejected the testvoid done(TestDescription td)
td
- the test description which was taken from the queuevoid flushed()
void error(java.lang.String msg)
msg
- a detail message describing the errorvoid error(TestDescription td, java.lang.String msg)
td
- the test description to which the error appliesmsg
- a detail message describing the error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |