defined another parse method.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4605 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-09-03 06:13:53 +00:00
1 parent b822046ff8
commit 5e04e91c65
1 file changed
+9 -1
@@ -60,9 +60,17 @@ public final class TestResult extends MetaTabulatedResult {
/**
* Collect reports from the given {@link DirectoryScanner}, while
* filtering out all files that were created before the given tiem.
* filtering out all files that were created before the given time.
*/
public TestResult(long buildTime, DirectoryScanner results) throws IOException {
parse(buildTime, results);
}
/**
* Collect reports from the given {@link DirectoryScanner}, while
* filtering out all files that were created before the given time.
*/
public void parse(long buildTime, DirectoryScanner results) throws IOException {
String[] includedFiles = results.getIncludedFiles();
File baseDir = results.getBasedir();