Class TPTTestCase

All Implemented Interfaces:
Action, ModelObject

public class TPTTestCase extends InvisibleActionHostingHtml
This class is for the failed test. Objects from this class will be created when parsing the "test_summary.xml". We get a list of failed tests (inconclusive, error or failed).
Author:
FInfantino, Synopsys Inc.
  • Constructor Details

    • TPTTestCase

      public TPTTestCase()
      Creates a new TPTTestCase data container
  • Method Details

    • getResult

      public String getResult()
      Returns:
      The result represented by as a String
    • setResult

      public void setResult(String result)
      Set the result represented as a String
      Parameters:
      result - the result represented as a String
    • getId

      public String getId()
      Returns:
      The test case id
    • setId

      public void setId(String id)
      Set the test case id
      Parameters:
      id - The test case id
    • getReportFile

      public String getReportFile()
      In the test_summary.xml file are the relative paths to the report listed for each test case.
      Returns:
      The path to the report file
    • setReportFile

      public void setReportFile(String reportFile)
      Set the path to the report file In the test_summary.xml file are the relative paths to the report listed for each test case.
      Parameters:
      reportFile - The path to the report file
    • getExecutionDate

      public String getExecutionDate()
      Returns:
      The date of the TPT test execution
    • setExecutionDate

      public void setExecutionDate(String executionDate)
      Set the date of the TPT test execution
      Parameters:
      executionDate - The date of the TPT test execution
    • getFileName

      public String getFileName()
      Returns:
      The name of the TPT file
    • setFileName

      public void setFileName(String fileName)
      Set the name of the TPT file
      Parameters:
      fileName - The name of the TPT file
    • getFailedSince

      public int getFailedSince()
      Returns:
      The number of builds this test failed
    • setFailedSince

      public void setFailedSince(int failedSince)
      Set the number of builds this test failed
      Parameters:
      failedSince - The number of builds this test failed
    • getExecutionConfiguration

      public String getExecutionConfiguration()
      Returns:
      The name of the executed execution configuration
    • setExecutionConfiguration

      public void setExecutionConfiguration(String executionConfiguration)
      Set the name of the executed execution configuration
      Parameters:
      executionConfiguration - The name of the executed execution configuration
    • getTestCaseName

      public String getTestCaseName()
      Returns:
      The name of the test case
    • setTestCaseName

      public void setTestCaseName(String testCaseName)
      Set the name of the test case
      Parameters:
      testCaseName - The name of the test case
    • getPlatform

      public String getPlatform()
      Returns:
      The name of the executed platform
    • setPlatform

      public void setPlatform(String platform)
      Set the name of the executed platform
      Parameters:
      platform - The name of the executed platform
    • doIndex

      public void doIndex(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
      Throws:
      IOException
      javax.servlet.ServletException