Interface TestFinderQueue.Observer
- Enclosing class:
TestFinderQueue
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
Modifier and TypeMethodDescriptionvoiddone(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.voidA file has been read.voiderror(TestDescription td, String msg) An error was reported by the test finder while reading a file.voidAn error was reported by the test finder while reading a file.voidflushed()The queue of tests has been flushed.voidfound(TestDescription td) A test description has been found.voidAnother file which needs to be read has been found.voidignored(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.voidA file is being read.
-
Method Details
-
found
Another file which needs to be read has been found.- Parameters:
file- the file which was found
-
reading
-
done
-
found
A test description has been found.- Parameters:
td- the test description which was found
-
ignored
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.- Parameters:
td- the test description which was rejected by the filterf- the filter which rejected the test
-
done
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.- Parameters:
td- the test description which was taken from the queue
-
flushed
void flushed()The queue of tests has been flushed. -
error
An error was reported by the test finder while reading a file.- Parameters:
msg- a detail message describing the error
-
error
An error was reported by the test finder while reading a file.- Parameters:
td- the test description to which the error appliesmsg- a detail message describing the error
-