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 a
TestResult by parsing the JUnit report.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhudson.tasks.junit.TestResultparseResult(List<FilePath> xmlFiles, TaskListener listener) Parses the given JUnit test report files and builds aTestResultobject that represents them.Methods inherited from class hudson.tasks.test.TestResultParser
all, parse, parseResult, parseResult
-
Constructor Details
-
JUnitTestResultParser
public JUnitTestResultParser()
-
-
Method Details
-
parseResult
public hudson.tasks.junit.TestResult parseResult(List<FilePath> xmlFiles, TaskListener listener) throws IOException, InterruptedException Parses the given JUnit test report files and builds aTestResultobject that represents them.- Parameters:
xmlFiles- the JUnit report fileslistener- the listener- Returns:
- the
TestResultinstance - Throws:
IOException- signals that an I/O exception has occurredInterruptedException- the interrupted exception
-
getDisplayName
- Overrides:
getDisplayNamein classhudson.tasks.test.TestResultParser
-
getTestResultLocationMessage
- Overrides:
getTestResultLocationMessagein classhudson.tasks.test.TestResultParser
-