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 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 a TestResult object that represents them.
      Parameters:
      xmlFiles - the JUnit report files
      listener - the listener
      Returns:
      the TestResult instance
      Throws:
      IOException - signals that an I/O exception has occurred
      InterruptedException - the interrupted exception
    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class hudson.tasks.test.TestResultParser
    • getTestResultLocationMessage

      public String getTestResultLocationMessage()
      Overrides:
      getTestResultLocationMessage in class hudson.tasks.test.TestResultParser