|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.testdoc.report.junit.DirectoryJUnitTestCaseManager
public class DirectoryJUnitTestCaseManager
Provides access to test case information.
The manager knows the location of the JUnit XML reports and returns the information on demand.
Constructor Summary | |
---|---|
DirectoryJUnitTestCaseManager(File rootDirectory) Default constructor. |
Method Summary | |
---|---|
void |
clearCache() Removes all instances from the cache. |
void |
evict(Type testCaseType) Allows to selectively remove instances from the cache. |
JUnitTestCaseDoc |
readTestCase(Type testCaseType) Reads the test case for the given test case type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DirectoryJUnitTestCaseManager(File rootDirectory)
Method Detail |
---|
public void evict(Type testCaseType)
evict
in interface
JUnitTestCaseManager
testCaseType
- the test case instance to remove from the cache.
public void clearCache()
clearCache
in interface
JUnitTestCaseManager
public JUnitTestCaseDoc readTestCase(Type testCaseType) throws TestCaseReportException
Reads the XML report form the root directory.
readTestCase
in interface
JUnitTestCaseManager
testCaseType
- the type of the test case to read.
JUnitTestCaseManager.readTestCase(de.smartics.testdoc.core.doc.Type)
TestCaseReportException
- on any problem reading the test case.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |