|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.javatest.TestResultCache
public class TestResultCache
Class which maintains a cache of the results currently existing inside a work directory. It is designed to allow the harness to get general information (name, status) about tests without having to open all the result files.
Nested Class Summary | |
---|---|
static interface |
TestResultCache.Observer
Interface which allows an external class to monitor the cache's activities. |
Constructor Summary | |
---|---|
TestResultCache(WorkDirectory workDir,
TestResultCache.Observer observer)
Primary constructor for a cache. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestResultCache(WorkDirectory workDir, TestResultCache.Observer observer) throws java.io.IOException
workDir
- the work directory to attach toobserver
- the observer to notify of cache events
java.io.IOException
- if an error occurs reading the cache file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |