public class XUnitReportProcessorService extends XUnitService implements Serializable
| Constructor and Description |
|---|
XUnitReportProcessorService() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkIfFindsFilesNewFiles(XUnitToolInfo xUnitToolInfo,
List<String> files,
File workspace)
Checks if all the finds files are new file
|
List<String> |
findReports(XUnitToolInfo xUnitToolInfo,
File parentPath,
String pattern)
Gets all reports from the given parent path and the pattern.
|
File |
getCurrentReport(File root,
String name)
Gets a file from a root file and a name
|
boolean |
isEmptyPattern(String pattern)
Tests if the pattern is empty.
|
boolean |
isStopProcessingIfError(XUnitToolInfo xUnitToolInfo)
Check if we stop the processing for an error
|
errorSystemLogger, infoSystemLogger, warningSystemLoggerpublic boolean isEmptyPattern(String pattern)
pattern - the given pattern of the current test toolpublic List<String> findReports(XUnitToolInfo xUnitToolInfo, File parentPath, String pattern)
xUnitToolInfo - the xunit tool wrapperparentPath - parentpattern - pattern to search filespublic void checkIfFindsFilesNewFiles(XUnitToolInfo xUnitToolInfo, List<String> files, File workspace) throws OldTestReportException
xUnitToolInfo - the wrapped objectfiles - the file listworkspace - the root location of the file listOldTestReportExceptionpublic File getCurrentReport(File root, String name)
root - the root pathname - the filenamepublic boolean isStopProcessingIfError(XUnitToolInfo xUnitToolInfo)
xUnitToolInfo - the wrapped objectCopyright © 2004-2016. All Rights Reserved.