Class JUnitTestResultParser
- java.lang.Object
-
- hudson.tasks.test.TestResultParser
-
- de.tracetronic.jenkins.plugins.ecutest.report.junit.JUnitTestResultParser
-
- All Implemented Interfaces:
Serializable
public class JUnitTestResultParser extends hudson.tasks.test.TestResultParser implements Serializable
Class providing aTestResult
by parsing the JUnit report.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JUnitTestResultParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
String
getTestResultLocationMessage()
hudson.tasks.junit.TestResult
parseResult(List<FilePath> xmlFiles, TaskListener listener)
Parses the given JUnit test report files and builds aTestResult
object that represents them.
-
-
-
Method Detail
-
parseResult
public hudson.tasks.junit.TestResult parseResult(List<FilePath> xmlFiles, TaskListener listener) throws IOException, InterruptedException
Parses the given JUnit test report files and builds aTestResult
object that represents them.- Parameters:
xmlFiles
- the JUnit report fileslistener
- the listener- Returns:
- the
TestResult
instance - Throws:
IOException
- signals that an I/O exception has occurredInterruptedException
- the interrupted exception
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classhudson.tasks.test.TestResultParser
-
getTestResultLocationMessage
public String getTestResultLocationMessage()
- Overrides:
getTestResultLocationMessage
in classhudson.tasks.test.TestResultParser
-
-