public class CommonParsingUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Glob |
getBaseDirAndPattern(String pathToResults) |
static Map<String,AutomationTestResult> |
processAttachment(Map<String,AutomationTestResult> map)
Process attachment
|
static List<String> |
scanJunitTestResultFolder(String basedDir)
Scan junit test result folder
|
static List<String> |
scanTestResultFile(String basedDir,
String pattern)
Scan all result files with pattern
|
static List<AutomationTestResult> |
toAutomationTestResults(ParseRequest request,
List<hudson.tasks.junit.TestResult> testResults,
Date startTime) |
public static List<AutomationTestResult> toAutomationTestResults(ParseRequest request, List<hudson.tasks.junit.TestResult> testResults, Date startTime) throws Exception
Exception
public static Map<String,AutomationTestResult> processAttachment(Map<String,AutomationTestResult> map) throws Exception
map
- automationTestResultMapException
public static List<String> scanJunitTestResultFolder(String basedDir)
basedDir
- basedDirpublic static List<String> scanTestResultFile(String basedDir, String pattern)
basedDir
- basedDirCopyright © 2016–2024 QASymphony. All rights reserved.