Package com.sun.javatest
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 TypeMethodDescriptionvoid
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
A file has been read.void
error
(TestDescription td, String msg) An error was reported by the test finder while reading a file.void
An error was reported by the test finder while reading a file.void
flushed()
The queue of tests has been flushed.void
found
(TestDescription td) A test description has been found.void
Another file which needs to be read 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
A 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
A file is being read.- Parameters:
file
- the file being read
-
done
A file has been read.- Parameters:
file
- the file which was read
-
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
-